Hello community, here is the log from the commit of package python-rdflib for openSUSE:Factory checked in at 2015-07-19 11:44:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-rdflib (Old) and /work/SRC/openSUSE:Factory/.python-rdflib.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-rdflib" Changes: -------- --- /work/SRC/openSUSE:Factory/python-rdflib/python-rdflib.changes 2014-11-15 12:26:14.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-rdflib.new/python-rdflib.changes 2015-07-19 11:44:28.000000000 +0200 @@ -1,0 +2,38 @@ +Wed Jul 1 13:43:16 UTC 2015 - [email protected] + +- Split documentation into doc subpackage + +------------------------------------------------------------------- +Tue May 12 13:24:19 UTC 2015 - [email protected] + +- update to version 4.2.0: + * Supporting N-Triples 1.1 syntax using UTF-8 encoding #447, + #449, #400 + * Graph comparison now really works using RGDA1 (RDF Graph Digest + Algorithm 1) #441 #385 + * More graceful degradation than simple crashing for unicode + chars > 0xFFFF on narrow python builds + * URLInputSource now supports json-ld #425 + * SPARQLStore is now graph aware #401, #402 + * SPARQLStore now uses SPARQLWrapper for updates #397 + * Certain logging output is immediately shown in interactive mode + #414 + * Python 3.4 fully supported #418 + * Fixed double invocation of 2to3 #437 + * PyRDFa parser missing brackets #434 + * Correctly handle \uXXXX and \UXXXXXXXX escapes in n3 files #426 + * Logging cleanups and keeping it on stderr #420 #414 #413 + * n3: allow @base URI to have a trailing '#' #407 #379 + * microdata: add file:// to base if it's a filename so rdflib can + parse its own output #406 #403 + * TSV Results parse skips empty bindings in result #390 + * fixed accidental test run due to name #389 + * Bad boolean list serialization to Turtle & fixed ambiguity + between Literal(False) and None #387 #382 + * Current version number & PyPI link in README.md #383 +- remove *.pyc deletion: fixed upstream +- remove unwanted shebang in rdflib +- fix update-alternatives +- remove end-of-line encoding fix: fixed upstream + +------------------------------------------------------------------- Old: ---- rdflib-4.1.2.tar.gz New: ---- rdflib-4.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-rdflib.spec ++++++ --- /var/tmp/diff_new_pack.1yUpFr/_old 2015-07-19 11:44:29.000000000 +0200 +++ /var/tmp/diff_new_pack.1yUpFr/_new 2015-07-19 11:44:29.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-rdflib # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-rdflib -Version: 4.1.2 +Version: 4.2.0 Release: 0 Summary: A Python library for working with RDF License: BSD-3-Clause @@ -56,10 +56,21 @@ parser/serializer that conforms to the RDF/XML Syntax Specification (Revised). The library also contains both in-memory and persistent Graph backends. +%package doc +Summary: A Python library for working with RDF +Recommends: %{name} = %{version} +Group: Development/Libraries/Python + +%description doc +RDFLib is a Python library for working with RDF, a simple yet powerful +language for representing information. The library contains an RDF/XML +parser/serializer that conforms to the RDF/XML Syntax Specification (Revised). +The library also contains both in-memory and persistent Graph backends. + %prep %setup -q -n rdflib-%{version} -# Drop py2.7 bytecode files, we have to rebuild these: -find . -type f -name "*.pyc" -print -delete +# remove unwanted shebang +find rdflib -name "*.py" | xargs sed -i '1 { /^#!/ d }' %build python setup.py build @@ -72,19 +83,12 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} # for update-alternatives -mv %{buildroot}%{_bindir}/csv2rdf %{buildroot}%{_bindir}/csv2rdf-%{py_ver} -mv %{buildroot}%{_bindir}/rdf2dot %{buildroot}%{_bindir}/rdf2dot-%{py_ver} -mv %{buildroot}%{_bindir}/rdfgraphisomorphism %{buildroot}%{_bindir}/rdfgraphisomorphism-%{py_ver} -mv %{buildroot}%{_bindir}/rdfpipe %{buildroot}%{_bindir}/rdfpipe-%{py_ver} -mv %{buildroot}%{_bindir}/rdfs2dot %{buildroot}%{_bindir}/rdfs2dot-%{py_ver} -ln -s %{_bindir}/csv2rdf-%{py_ver} %{buildroot}%{_bindir}/csv2rdf -ln -s %{_bindir}/rdf2dot-%{py_ver} %{buildroot}%{_bindir}/rdf2dot -ln -s %{_bindir}/rdfgraphisomorphism-%{py_ver} %{buildroot}%{_bindir}/rdfgraphisomorphism -ln -s %{_bindir}/rdfpipe-%{py_ver} %{buildroot}%{_bindir}/rdfpipe -ln -s %{_bindir}/rdfs2dot-%{py_ver} %{buildroot}%{_bindir}/rdfs2dot - -# fix end-of-line encoding -sed -i 's/\r$//' docs/_build/html/_static/jquery.js +mkdir -p %{buildroot}%{_sysconfdir}/alternatives +for f in csv2rdf rdf2dot rdfgraphisomorphism rdfpipe rdfs2dot; do + mv %{buildroot}%{_bindir}/$f %{buildroot}%{_bindir}/$f-%{py_ver} + touch %{buildroot}%{_sysconfdir}/alternatives/$f + ln -sf %{_sysconfdir}/alternatives/$f %{buildroot}%{_bindir}/$f +done %fdupes -s docs/_build/html @@ -111,23 +115,32 @@ fi # Not working -# %check -# python setup.py test +#%%check +# python setup.py -q test %files %defattr(-,root,root) -%doc CHANGELOG.md LICENSE CONTRIBUTORS README.md docs/_build/html +%doc CHANGELOG.md LICENSE CONTRIBUTORS README.md +%ghost %{_sysconfdir}/alternatives/csv2rdf +%ghost %{_sysconfdir}/alternatives/rdf2dot +%ghost %{_sysconfdir}/alternatives/rdfgraphisomorphism +%ghost %{_sysconfdir}/alternatives/rdfpipe +%ghost %{_sysconfdir}/alternatives/rdfs2dot %{_bindir}/csv2rdf-%{py_ver} %{_bindir}/rdf2dot-%{py_ver} %{_bindir}/rdfgraphisomorphism-%{py_ver} %{_bindir}/rdfpipe-%{py_ver} %{_bindir}/rdfs2dot-%{py_ver} -%ghost %{_bindir}/csv2rdf -%ghost %{_bindir}/rdf2dot -%ghost %{_bindir}/rdfgraphisomorphism -%ghost %{_bindir}/rdfpipe -%ghost %{_bindir}/rdfs2dot +%{_bindir}/csv2rdf +%{_bindir}/rdf2dot +%{_bindir}/rdfgraphisomorphism +%{_bindir}/rdfpipe +%{_bindir}/rdfs2dot %{python_sitelib}/rdflib/ %{python_sitelib}/rdflib-%{version}-py*.egg-info +%files doc +%defattr(-,root,root) +%doc docs/_build/html + %changelog ++++++ rdflib-4.1.2.tar.gz -> rdflib-4.2.0.tar.gz ++++++ ++++ 3020 lines of diff (skipped)
