Hello community, here is the log from the commit of package python3-rdflib for openSUSE:Factory checked in at 2014-09-03 18:23:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-rdflib (Old) and /work/SRC/openSUSE:Factory/.python3-rdflib.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-rdflib" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-rdflib/python3-rdflib.changes 2013-06-21 19:09:00.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-rdflib.new/python3-rdflib.changes 2014-09-03 21:01:02.000000000 +0200 @@ -1,0 +2,24 @@ +Fri Dec 6 13:57:34 UTC 2013 - toddrme2...@gmail.com + +- Update to 4.0.1 + * Bugfixes +- Update to 4.0 + * The new SPARQL 1.1 engine (rdflib-sparql) has been included in the core distribution. SPARQL 1.1 queries and updates should work out of the box. + * Several RDF 1.1 features are available: + * A new DataSet class + * XMLLiteral and HTMLLiterals + * BNode (de)skolemization is supported through BNode.skolemize, URIRef.de_skolemize, Graph.skolemize and Graph.de_skolemize + * Handled of Literal equality was split into lexical comparison (for normal == operator) and value space (using new Node.eq methods). This introduces some slight backwards incomaptible changes, but was necessary, as the old version had inconsisten hash and equality methods that could lead the literals not working correctly in dicts/sets. The new way is more in line with how SPARQL 1.1 works. For the full details, see: + * Iterating over QueryResults will generate ResultRow objects, these allow access to variable bindings as attributes or as a dict. I.e. + * "Slicing" of Graphs and Resources as syntactic sugar: (#271) + * The SPARQLStore and SPARQLUpdateStore are now included in the RDFLib core + * The documentation has been given a major overhaul, and examples for most features have been added. +- Update to 3.4 + * This release introduced new parsers for structured data in HTML. In particular formats: hturtle, rdfa, mdata and an auto-detecting html format were added. Thanks to Ivan Herman for this! + * This release includes a lot of admin maintentance - correct dependencies for different python versions, etc. Several py3 bugs were also fixed. + * This release drops python 2.4 compatability - it was just getting too expensive for us to maintain. It should however be compatible with any cpython from 2.5 through 3.3. + * node.md5_term is now deprecated, if you use it let us know. +- Add additional dependencies +- Implement update-alternatives + +------------------------------------------------------------------- Old: ---- rdflib-3.2.3.tar.gz New: ---- rdflib-4.0.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-rdflib.spec ++++++ --- /var/tmp/diff_new_pack.huJjSj/_old 2014-09-03 21:01:04.000000000 +0200 +++ /var/tmp/diff_new_pack.huJjSj/_new 2014-09-03 21:01:04.000000000 +0200 @@ -17,7 +17,7 @@ Name: python3-rdflib -Version: 3.2.3 +Version: 4.0.1 Release: 0 Summary: A Python library for working with RDF License: BSD-3-Clause @@ -30,12 +30,22 @@ BuildRequires: python3 >= 3.2 BuildRequires: python3-2to3 BuildRequires: python3-devel -BuildRequires: python3-distribute +BuildRequires: python3-setuptools +BuildRequires: python3-flake8 +BuildRequires: python3-html5lib BuildRequires: python3-isodate BuildRequires: python3-nose +BuildRequires: python3-pyparsing +BuildRequires: python3-SPARQLWrapper BuildRequires: python3-xml +Requires: python3-flake8 +Requires: python3-html5lib Requires: python3-isodate +Requires: python3-pyparsing +Requires: python3-SPARQLWrapper Requires: python3-xml +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %description @@ -59,14 +69,54 @@ %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} -%fdupes -s build/html + +# for update-alternatives +mv %{buildroot}%{_bindir}/csv2rdf %{buildroot}%{_bindir}/csv2rdf-%{py3_ver} +mv %{buildroot}%{_bindir}/rdf2dot %{buildroot}%{_bindir}/rdf2dot-%{py3_ver} +mv %{buildroot}%{_bindir}/rdfgraphisomorpishm %{buildroot}%{_bindir}/rdfgraphisomorpishm-%{py3_ver} +mv %{buildroot}%{_bindir}/rdfpipe %{buildroot}%{_bindir}/rdfpipe-%{py3_ver} +mv %{buildroot}%{_bindir}/rdfs2dot %{buildroot}%{_bindir}/rdfs2dot-%{py3_ver} +ln -s %{_bindir}/csv2rdf-%{py3_ver} %{buildroot}%{_bindir}/csv2rdf +ln -s %{_bindir}/rdf2dot-%{py3_ver} %{buildroot}%{_bindir}/rdf2dot +ln -s %{_bindir}/rdfgraphisomorpishm-%{py3_ver} %{buildroot}%{_bindir}/rdfgraphisomorpishm +ln -s %{_bindir}/rdfpipe-%{py3_ver} %{buildroot}%{_bindir}/rdfpipe +ln -s %{_bindir}/rdfs2dot-%{py3_ver} %{buildroot}%{_bindir}/rdfs2dot + +# fix end-of-line encoding +sed -i 's/\r$//' docs/_build/html/_static/jquery.js + +%fdupes -s docs/_build/html + +%post +update-alternatives \ + --install %{_bindir}/rdfpipe rdfpipe %{_bindir}/rdfpipe-%{py3_ver} 30 \ + --slave %{_bindir}/csv2rdf csv2rdf %{_bindir}/csv2rdf%{py3_ver} \ + --slave %{_bindir}/rdf2dot rdf2dot %{_bindir}/rdf2dot%{py3_ver} \ + --slave %{_bindir}/rdfgraphisomorpishm rdfgraphisomorpishm %{_bindir}/rdfgraphisomorpishm%{py3_ver} \ + --slave %{_bindir}/rdfs2dot rdfs2dot %{_bindir}/rdfs2dot%{py3_ver} + +%preun +if [ $1 -eq 0 ] ; then + update-alternatives --remove rdfpipe %{_bindir}/rdfpipe-%{py3_ver} +fi %check python3 setup.py test %files %defattr(-,root,root) -%doc CHANGELOG LICENSE README docs/_build/html -%{python3_sitelib}/* +%doc CHANGELOG.md LICENSE CONTRIBUTORS README.md docs/_build/html +%{_bindir}/csv2rdf-%{py3_ver} +%{_bindir}/rdf2dot-%{py3_ver} +%{_bindir}/rdfgraphisomorpishm-%{py3_ver} +%{_bindir}/rdfpipe-%{py3_ver} +%{_bindir}/rdfs2dot-%{py3_ver} +%ghost %{_bindir}/csv2rdf +%ghost %{_bindir}/rdf2dot +%ghost %{_bindir}/rdfgraphisomorpishm +%ghost %{_bindir}/rdfpipe +%ghost %{_bindir}/rdfs2dot +%{python3_sitelib}/rdflib/ +%{python3_sitelib}/rdflib-%{version}-py*.egg-info %changelog ++++++ rdflib-3.2.3.tar.gz -> rdflib-4.0.1.tar.gz ++++++ ++++ 121566 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org