forked from pool/python-SPARQLWrapper
Accepting request 959866 from devel:languages:python
- add no-2to3.patch for better compatibility with newer setuptools OBS-URL: https://build.opensuse.org/request/show/959866 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-SPARQLWrapper?expand=0&rev=10
This commit is contained in:
13
no-2to3.patch
Normal file
13
no-2to3.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: SPARQLWrapper-1.8.5/setup.py
|
||||
===================================================================
|
||||
--- SPARQLWrapper-1.8.5.orig/setup.py
|
||||
+++ SPARQLWrapper-1.8.5/setup.py
|
||||
@@ -75,8 +75,6 @@ setup(
|
||||
'Topic :: Software Development :: Libraries :: Python Modules',
|
||||
],
|
||||
keywords = ['python', 'sparql', 'rdf', 'rdflib'],
|
||||
- use_2to3 = True,
|
||||
- use_2to3_fixers = ['custom_fixers'],
|
||||
project_urls={
|
||||
'Home': 'https://rdflib.github.io/sparqlwrapper/',
|
||||
'Documentation': 'https://rdflib.github.io/sparqlwrapper/doc/',
|
||||
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 7 11:58:04 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- add no-2to3.patch for better compatibility with newer setuptools
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 11 17:00:28 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-SPARQLWrapper
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -22,8 +22,9 @@ Version: 1.8.5
|
||||
Release: 0
|
||||
Summary: SPARQL Endpoint interface to Python
|
||||
License: W3C
|
||||
URL: http://sparql-wrapper.sourceforge.net/
|
||||
URL: https://rdflib.dev/sparqlwrapper/
|
||||
Source: https://files.pythonhosted.org/packages/source/S/SPARQLWrapper/SPARQLWrapper-%{version}.tar.gz
|
||||
Patch1: no-2to3.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -38,6 +39,7 @@ format.
|
||||
|
||||
%prep
|
||||
%setup -q -n SPARQLWrapper-%{version}
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
Reference in New Issue
Block a user