From 3f10a76a03a460a000ad887d98f2a6f49b4ec385947e5b2d8908a44ee1e91a76 Mon Sep 17 00:00:00 2001 From: Denisart Benjamin Date: Sun, 17 May 2015 12:08:38 +0000 Subject: [PATCH 1/2] Accepting request 306745 from home:benoit_monin:branches:devel:languages:python - update to version 1.6.4 - require python-rdflib instead of recommending it - require python-simplejson for SLE11 - add runtime dependencies as build dependencies - remove the fix of end-of-line encoding: changed upstream - run the tests during build with wrapper_test.py - change the documentation files to follow upstream OBS-URL: https://build.opensuse.org/request/show/306745 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SPARQLWrapper?expand=0&rev=4 --- SPARQLWrapper-1.5.2.tar.gz | 3 --- SPARQLWrapper-1.6.4.tar.gz | 3 +++ python-SPARQLWrapper.changes | 39 ++++++++++++++++++++++++++++++++++++ python-SPARQLWrapper.spec | 16 +++++++++------ 4 files changed, 52 insertions(+), 9 deletions(-) delete mode 100644 SPARQLWrapper-1.5.2.tar.gz create mode 100644 SPARQLWrapper-1.6.4.tar.gz diff --git a/SPARQLWrapper-1.5.2.tar.gz b/SPARQLWrapper-1.5.2.tar.gz deleted file mode 100644 index 795e3e4..0000000 --- a/SPARQLWrapper-1.5.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:65254c7c3cae093fbd5e6b65e2c725db3ad80ab7402c4aa59d18a9cb8f5695b4 -size 24953 diff --git a/SPARQLWrapper-1.6.4.tar.gz b/SPARQLWrapper-1.6.4.tar.gz new file mode 100644 index 0000000..49eac6a --- /dev/null +++ b/SPARQLWrapper-1.6.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2899dae6baa88d5c3209408e70a1a9de04f0f4dd25f4e9480eb6707a398d1693 +size 27467 diff --git a/python-SPARQLWrapper.changes b/python-SPARQLWrapper.changes index f260e55..f5c1a10 100644 --- a/python-SPARQLWrapper.changes +++ b/python-SPARQLWrapper.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Wed May 13 11:18:22 UTC 2015 - benoit.monin@gmx.fr + +- update to version 1.6.4: + * Fixed unicode problems on setup (issue #42) +- additional changes from version 1.6.3: + * Fixed unicode problems with urllib in Python 3 (issue #35) + * Restored SPARQLWrapper2 class (issue #36) + * Enhanced warning for missing rdflib-jsonld (issue #38) + * Fixed build system (issue #39) +- additional changes from version 1.6.2: + * Fixed query type detection with comments (issue #32) +- additional changes from version 1.6.1: + * Added missing query types (issue #17) + * Added a new method to the API to select the request method to + be fully SPARQL 1.1 Protocol compliant (issue #28) + * Improved the test suite coverage, including support to run the + tests under Python 3.x (issues #20, #24 and #31) +- additional changes from version 1.6.0: + * Returning raw response in case of unknown content type returned + * Fixed some issues with the last version of the SPARQL 1.1 + Update Protocol + * setQuery() doesn't imply resetQuery() anymore + * Deprecated addCustomParameter(), addParameter() and + clearParameter() come to provide all required functionality + * SPARQLWrapper, QueryResult, Value, Bindings (and classes + inherited from them) are new-style classes now + * POST queries are accompanied by full set of parameters now + * Added rudimentary support for JSON-LD + * Added proper unit tests without dependencies of external + endpoints + * Fixed Python 3 compatibility issues in SmartWrapper module +- require python-rdflib instead of recommending it +- require python-simplejson for SLE11 +- add runtime dependencies as build dependencies +- remove the fix of end-of-line encoding: changed upstream +- run the tests during build with wrapper_test.py +- change the documentation files to follow upstream + ------------------------------------------------------------------- Fri Dec 6 15:21:36 UTC 2013 - toddrme2178@gmail.com diff --git a/python-SPARQLWrapper.spec b/python-SPARQLWrapper.spec index dd1fdcb..e263eb4 100644 --- a/python-SPARQLWrapper.spec +++ b/python-SPARQLWrapper.spec @@ -1,7 +1,7 @@ # # spec file for package python-SPARQLWrapper # -# Copyright (c) 2013 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-SPARQLWrapper -Version: 1.5.2 +Version: 1.6.4 Release: 0 Summary: SPARQL Endpoint interface to Python License: W3C @@ -25,10 +25,13 @@ Group: Development/Languages/Python Url: http://sparql-wrapper.sourceforge.net/ Source: https://pypi.python.org/packages/source/S/SPARQLWrapper/SPARQLWrapper-%{version}.tar.gz BuildRequires: python-devel +BuildRequires: python-rdflib BuildRequires: python-setuptools -Recommends: python-rdflib +Requires: python-rdflib BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 +BuildRequires: python-simplejson +Requires: python-simplejson %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch @@ -41,8 +44,6 @@ format. %prep %setup -q -n SPARQLWrapper-%{version} -# fix end-of-line encoding -sed -i 's/\r$//' README.txt %build python setup.py build @@ -50,9 +51,12 @@ python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%check +python test/wrapper_test.py + %files %defattr(-,root,root,-) -%doc README.txt LICENSE.txt AUTHORS.txt ChangeLog.txt +%doc README.md AUTHORS.md %{python_sitelib}/SPARQLWrapper/ %{python_sitelib}/SPARQLWrapper-%{version}-py*.egg-info From 3f774328d2d5c9b98f9a8ebb390b49c7855c49f7f4b1ed851d855c1120e8efbe Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 15 Feb 2016 20:16:48 +0000 Subject: [PATCH 2/2] Accepting request 358975 from home:olh:branches:devel:languages:python - Remove BuildRequires python-rdflib to avoid cirular dependency OBS-URL: https://build.opensuse.org/request/show/358975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SPARQLWrapper?expand=0&rev=5 --- python-SPARQLWrapper.changes | 5 +++++ python-SPARQLWrapper.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/python-SPARQLWrapper.changes b/python-SPARQLWrapper.changes index f5c1a10..6c8d3ed 100644 --- a/python-SPARQLWrapper.changes +++ b/python-SPARQLWrapper.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 12 09:53:34 UTC 2016 - olaf@aepfle.de + +- Remove BuildRequires python-rdflib to avoid cirular dependency + ------------------------------------------------------------------- Wed May 13 11:18:22 UTC 2015 - benoit.monin@gmx.fr diff --git a/python-SPARQLWrapper.spec b/python-SPARQLWrapper.spec index e263eb4..5288f9a 100644 --- a/python-SPARQLWrapper.spec +++ b/python-SPARQLWrapper.spec @@ -1,7 +1,7 @@ # # spec file for package python-SPARQLWrapper # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -25,7 +25,6 @@ Group: Development/Languages/Python Url: http://sparql-wrapper.sourceforge.net/ Source: https://pypi.python.org/packages/source/S/SPARQLWrapper/SPARQLWrapper-%{version}.tar.gz BuildRequires: python-devel -BuildRequires: python-rdflib BuildRequires: python-setuptools Requires: python-rdflib BuildRoot: %{_tmppath}/%{name}-%{version}-build