forked from pool/python-SPARQLWrapper
Accepting request 622526 from home:apersaud:branches:devel:languages:python
update to latest version OBS-URL: https://build.opensuse.org/request/show/622526 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SPARQLWrapper?expand=0&rev=15
This commit is contained in:
committed by
Git OBS Bridge
parent
8411ed293c
commit
0c7003cdcd
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3b46d0f18ca0b65b8b965d6d1ae257b229388400b06e7dc19f0a51614dc1abde
|
||||
size 28775
|
||||
3
SPARQLWrapper-1.8.2.tar.gz
Normal file
3
SPARQLWrapper-1.8.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7f4c8d38ea1bfcffbc358c9a05de35a3fd7152cc3e8ea57963ee7a0a242f7a5e
|
||||
size 34967
|
||||
@@ -1,3 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 8 03:45:56 UTC 2018 - arun@gmx.de
|
||||
|
||||
- specfile:
|
||||
* update tests
|
||||
|
||||
- update to version 1.8.2:
|
||||
* Fixed bug (#100)
|
||||
* Updated doc
|
||||
* Added Unauthorized exception in SPARQLWrapperExceptions
|
||||
* Added support for custom HTTP headers (#52)
|
||||
* Changed timeout setting (#106)
|
||||
|
||||
- changes from version 1.8.1:
|
||||
* Update classifiers (Python 3.6)
|
||||
* Added some documentation about the parameter to indicate the
|
||||
output format
|
||||
* Fixed typo in width calculation
|
||||
* Added support for CSV, TSV (PR #98)
|
||||
* Added support for Only HTTP Content Negotiation (#82)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 3 18:11:19 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
|
||||
@@ -17,26 +17,21 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
# Tests are not compatible with python3
|
||||
%if 0%{?have_python2}
|
||||
%bcond_without tests
|
||||
%else
|
||||
%bcond_with tests
|
||||
%endif
|
||||
Name: python-SPARQLWrapper
|
||||
Version: 1.8.0
|
||||
Version: 1.8.2
|
||||
Release: 0
|
||||
Summary: SPARQL Endpoint interface to Python
|
||||
License: W3C
|
||||
Group: Development/Languages/Python
|
||||
Url: http://sparql-wrapper.sourceforge.net/
|
||||
URL: http://sparql-wrapper.sourceforge.net/
|
||||
Source: https://files.pythonhosted.org/packages/source/S/SPARQLWrapper/SPARQLWrapper-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
# Only used during installation
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-2to3
|
||||
BuildRequires: python3-tools
|
||||
Requires: python-rdflib >= 4.0
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
@@ -56,13 +51,20 @@ format.
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
python2 test/wrapper_test.py
|
||||
%if %python3_version_nodots > 34
|
||||
# taken from https://github.com/RDFLib/sparqlwrapper/blob/master/run_tests_py3.sh
|
||||
cp -r %{buildroot}%{python_sitelib}/SPARQLWrapper test/
|
||||
2to3 -wn --no-diffs test
|
||||
sed -i.bak s/urllib2._opener/urllib.request._opener/g test/wrapper_test.py
|
||||
python3 -m pytest test
|
||||
%else
|
||||
python -m pytest test
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md AUTHORS.md LICENSE.txt
|
||||
%license LICENSE.txt
|
||||
%doc README.md AUTHORS.md
|
||||
%{python_sitelib}/SPARQLWrapper/
|
||||
%{python_sitelib}/SPARQLWrapper-%{version}-py*.egg-info
|
||||
|
||||
|
||||
Reference in New Issue
Block a user