diff --git a/python-rdflib.changes b/python-rdflib.changes index 2c75948..4906dfa 100644 --- a/python-rdflib.changes +++ b/python-rdflib.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Tue May 12 13:24:19 UTC 2015 - benoit.monin@gmx.fr + +- 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 + ------------------------------------------------------------------- Sat Nov 08 20:27:00 UTC 2014 - Led diff --git a/python-rdflib.spec b/python-rdflib.spec index 56a1e5e..8aa6a86 100644 --- a/python-rdflib.spec +++ b/python-rdflib.spec @@ -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 @@ -58,8 +58,8 @@ 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 +72,12 @@ rm -r _build/html/.buildinfo 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,22 +104,27 @@ if [ $1 -eq 0 ] ; then 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 +%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 diff --git a/rdflib-4.1.2.tar.gz b/rdflib-4.1.2.tar.gz deleted file mode 100644 index b59c6bb..0000000 --- a/rdflib-4.1.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3cf94bda0867f21468b248ce9f671581efb92ae9edd28ff321716126c6706a4f -size 868883 diff --git a/rdflib-4.2.0.tar.gz b/rdflib-4.2.0.tar.gz new file mode 100644 index 0000000..07e8f30 --- /dev/null +++ b/rdflib-4.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7420dafc4930249d0cfcf31e8547a39b658d079ab2c9e975465f6697a8476ec0 +size 881424