pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-sparqlwrapper py-sparqlwrapper: patch for Pytho...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/df37549e8276
branches:  trunk
changeset: 771940:df37549e8276
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Dec 30 13:36:26 2021 +0000

description:
py-sparqlwrapper: patch for Python 3.6 is no longer needed

diffstat:

 www/py-sparqlwrapper/distinfo               |   4 ++--
 www/py-sparqlwrapper/patches/patch-setup.py |  13 ++-----------
 2 files changed, 4 insertions(+), 13 deletions(-)

diffs (36 lines):

diff -r e0030ccc7443 -r df37549e8276 www/py-sparqlwrapper/distinfo
--- a/www/py-sparqlwrapper/distinfo     Thu Dec 30 13:33:31 2021 +0000
+++ b/www/py-sparqlwrapper/distinfo     Thu Dec 30 13:36:26 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2021/12/06 14:14:35 wiz Exp $
+$NetBSD: distinfo,v 1.9 2021/12/30 13:36:26 adam Exp $
 
 BLAKE2s (SPARQLWrapper-1.8.5.tar.gz) = 0da51c5a997da20da0b3b0ba7ec02667eca4135dfd8ab4cfd9c00d079bd98e91
 SHA512 (SPARQLWrapper-1.8.5.tar.gz) = b0cbe9f7f13a8a0a1c88a17b5966b46e7811acada2712ee03be97808dcb17ba4a71990c07df5d213d21815d7deaf3526381a2cc864d839e561e242be797b6bb2
 Size (SPARQLWrapper-1.8.5.tar.gz) = 89117 bytes
-SHA1 (patch-setup.py) = 72fbace7f2d276b274557d74aaef71e2e34ea487
+SHA1 (patch-setup.py) = cdd796f6e8d619fb7199ee25cef80d99b3315daf
diff -r e0030ccc7443 -r df37549e8276 www/py-sparqlwrapper/patches/patch-setup.py
--- a/www/py-sparqlwrapper/patches/patch-setup.py       Thu Dec 30 13:33:31 2021 +0000
+++ b/www/py-sparqlwrapper/patches/patch-setup.py       Thu Dec 30 13:36:26 2021 +0000
@@ -1,18 +1,9 @@
-$NetBSD: patch-setup.py,v 1.2 2021/12/06 14:14:35 wiz Exp $
+$NetBSD: patch-setup.py,v 1.3 2021/12/30 13:36:26 adam Exp $
 
-Fix for Python 3.6 and latest setuptools.
+Fix for latest setuptools.
 
 --- setup.py.orig      2019-04-18 10:02:26.000000000 +0000
 +++ setup.py
-@@ -23,7 +23,7 @@ _version_re = re.compile(r'__version__\s
- _authors_re = re.compile(r'__authors__\s*=\s*"(.*)"')
- _url_re = re.compile(r'__url__\s*=\s*"(.*)"')
- 
--for line in open('SPARQLWrapper/__init__.py'):
-+for line in open('SPARQLWrapper/__init__.py', encoding='utf-8'):
- 
-     version_match = _version_re.match(line)
-     if version_match:
 @@ -75,8 +75,6 @@ setup(
          'Topic :: Software Development :: Libraries :: Python Modules',
        ],



Home | Main Index | Thread Index | Old Index