Hello community,
here is the log from the commit of package python-SPARQLWrapper for
openSUSE:Factory checked in at 2018-07-17 09:40:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-SPARQLWrapper (Old)
and /work/SRC/openSUSE:Factory/.python-SPARQLWrapper.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-SPARQLWrapper"
Tue Jul 17 09:40:09 2018 rev:7 rq:622793 version:1.8.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-SPARQLWrapper/python-SPARQLWrapper.changes
2018-01-06 18:47:09.148941794 +0100
+++
/work/SRC/openSUSE:Factory/.python-SPARQLWrapper.new/python-SPARQLWrapper.changes
2018-07-17 09:40:12.097774039 +0200
@@ -1,0 +2,21 @@
+Sun Jul 8 03:45:56 UTC 2018 - [email protected]
+
+- 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)
+
+-------------------------------------------------------------------
Old:
----
SPARQLWrapper-1.8.0.tar.gz
New:
----
SPARQLWrapper-1.8.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-SPARQLWrapper.spec ++++++
--- /var/tmp/diff_new_pack.QVz1Nf/_old 2018-07-17 09:40:12.649772010 +0200
+++ /var/tmp/diff_new_pack.QVz1Nf/_new 2018-07-17 09:40:12.653771996 +0200
@@ -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 @@
%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
++++++ SPARQLWrapper-1.8.0.tar.gz -> SPARQLWrapper-1.8.2.tar.gz ++++++
++++ 3356 lines of diff (skipped)