From 0590c9234ca22375e9ab9e92d6a0dd730577b339252fa4a1ae5235c1ab03cf89 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Wed, 21 Sep 2011 15:21:52 +0000 Subject: [PATCH] Accepting request 83932 from devel:languages:python - Update to version 3.1.0: * Literal.__str__ does not behave like unicode * (RDFa Parser) Does not handle application/xhtml+xml * RDFa TC #117: Fragment identifiers stripped from BASE * Malformed literals produced when rdfa contains newlines * Namespaces beginning with _ are invalid * Turtle Files with a UTF-8 BOM fail to parse * ClosedNamespace.__str__ returns URIRef not str * IOMemory does not override open * Timestamps with microseconds *and* "Z" timezone are not parsed * DateTime literals with offsets fail to convert to Python * Timestamps with timezone information are not parsed * problem with unicode literals in rdflib.compare.graph_diff * Sleepycat Store broken with create=False * Would be useful if Graph.query could propagate kwargs to a plugin processor * Graph.connected exception when passed empty graph * Not compatible with Python 2.4 * Support Python's set operations on Graph * NT output encoding to utf-8 broken as it goes through _xmlcharrefreplace * Store SPARQL Support - Fix non-executable bits rpmlint issue OBS-URL: https://build.opensuse.org/request/show/83932 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=3 --- python-rdflib.changes | 27 +++++++++++++++++++++++++++ python-rdflib.spec | 35 +++++++++++++++++------------------ rdflib-3.0.0.tar.bz2 | 3 --- rdflib-3.1.0.tar.gz | 3 +++ 4 files changed, 47 insertions(+), 21 deletions(-) delete mode 100644 rdflib-3.0.0.tar.bz2 create mode 100644 rdflib-3.1.0.tar.gz diff --git a/python-rdflib.changes b/python-rdflib.changes index f061575..caf6060 100644 --- a/python-rdflib.changes +++ b/python-rdflib.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Tue Sep 20 14:26:18 UTC 2011 - saschpe@suse.de + +- Update to version 3.1.0: + * Literal.__str__ does not behave like unicode + * (RDFa Parser) Does not handle application/xhtml+xml + * RDFa TC #117: Fragment identifiers stripped from BASE + * Malformed literals produced when rdfa contains newlines + * Namespaces beginning with _ are invalid + * Turtle Files with a UTF-8 BOM fail to parse + * ClosedNamespace.__str__ returns URIRef not str + * IOMemory does not override open + * Timestamps with microseconds *and* "Z" timezone are not parsed + * DateTime literals with offsets fail to convert to Python + * Timestamps with timezone information are not parsed + * problem with unicode literals in rdflib.compare.graph_diff + * Sleepycat Store broken with create=False + * Would be useful if Graph.query could propagate kwargs to a + plugin processor + * Graph.connected exception when passed empty graph + * Not compatible with Python 2.4 + * Support Python's set operations on Graph + * NT output encoding to utf-8 broken as it goes through + _xmlcharrefreplace + * Store SPARQL Support +- Fix non-executable bits rpmlint issue + ------------------------------------------------------------------- Thu Aug 12 16:59:54 UTC 2010 - jmatejek@novell.com diff --git a/python-rdflib.spec b/python-rdflib.spec index e6e1940..004de5e 100644 --- a/python-rdflib.spec +++ b/python-rdflib.spec @@ -1,7 +1,7 @@ # -# spec file for package python-rdflib (Version 3.0.0) +# spec file for package python-rdflib # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,22 +16,24 @@ # -%define modname rdflib -Name: python-%{modname} -Version: 3.0.0 -Release: 1 +Name: python-rdflib +Version: 3.1.0 +Release: 0 Summary: A Python library for working with RDF Url: http://rdflib.net/ License: Other License, see package Group: Development/Libraries/Python -Source: %{modname}-%{version}.tar.bz2 +Source: rdflib-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{py_requires} -BuildRequires: python-devel pyxml -%if 0%{?suse_version} >= 1120 +BuildRequires: python-devel +BuildRequires: python-xml +%if 0%{?suse_version} +%py_requires +%if 0%{?suse_version} > 1110 BuildArch: noarch %endif +%endif %description RDFLib is a Python library for working with RDF, a simple yet powerful @@ -39,22 +41,19 @@ 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. -Authors: --------- - Daniel Krech - %prep -%setup -q -n %{modname}-%{version} +%setup -q -n rdflib-%{version} +sed -i "1d" rdflib/plugins/parsers/{ntriples,notation3}.py # Fix non-executable bits %build -export CFLAGS="$RPM_OPT_FLAGS" python setup.py build %install -python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES +python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%files -f INSTALLED_FILES +%files %defattr(-,root,root) %doc CHANGELOG LICENSE README +%{python_sitelib}/* %changelog diff --git a/rdflib-3.0.0.tar.bz2 b/rdflib-3.0.0.tar.bz2 deleted file mode 100644 index 1c436a7..0000000 --- a/rdflib-3.0.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f8711b9aaf2b9a9aa5dc426ccdcd842be572262a76410d4356af7ad408ef0761 -size 200701 diff --git a/rdflib-3.1.0.tar.gz b/rdflib-3.1.0.tar.gz new file mode 100644 index 0000000..44a90ff --- /dev/null +++ b/rdflib-3.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eafa2a6abfde24f08bc8af0b43084bd30a00d94579bea9993643a8b438098043 +size 249824