15
0

Accepting request 359552 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/359552
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-SPARQLWrapper?expand=0&rev=3
This commit is contained in:
2016-02-22 07:55:48 +00:00
committed by Git OBS Bridge
4 changed files with 56 additions and 9 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:65254c7c3cae093fbd5e6b65e2c725db3ad80ab7402c4aa59d18a9cb8f5695b4
size 24953

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2899dae6baa88d5c3209408e70a1a9de04f0f4dd25f4e9480eb6707a398d1693
size 27467

View File

@@ -1,3 +1,47 @@
-------------------------------------------------------------------
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
- 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

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-SPARQLWrapper
#
# Copyright (c) 2013 SUSE LINUX Products 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
@@ -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
@@ -26,9 +26,11 @@ Url: http://sparql-wrapper.sourceforge.net/
Source: https://pypi.python.org/packages/source/S/SPARQLWrapper/SPARQLWrapper-%{version}.tar.gz
BuildRequires: python-devel
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 +43,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 +50,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