pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc *: remove workaround patches for python 3.6



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d2274251a0b6
branches:  trunk
changeset: 371791:d2274251a0b6
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Jan 14 11:49:41 2022 +0000

description:
*: remove workaround patches for python 3.6

diffstat:

 cad/py-gds/distinfo                                  |   3 +-
 cad/py-gds/patches/patch-setup.py                    |  15 --------
 comms/py-colorama/distinfo                           |   3 +-
 comms/py-colorama/patches/patch-setup.py             |  34 --------------------
 converters/py-unicode-slugify/distinfo               |   3 +-
 converters/py-unicode-slugify/patches/patch-setup.py |  17 ----------
 converters/py-zfec/distinfo                          |   3 +-
 converters/py-zfec/patches/patch-setup.py            |  16 ---------
 devel/py-hexbytes/distinfo                           |   3 +-
 devel/py-hexbytes/patches/patch-setup.py             |  23 -------------
 devel/py-hg-git/distinfo                             |   3 +-
 devel/py-hg-git/patches/patch-setup.py               |  25 --------------
 devel/py-test-xdist/distinfo                         |   3 +-
 devel/py-test-xdist/patches/patch-setup.py           |  16 ---------
 finance/py-eth-hash/distinfo                         |   3 +-
 finance/py-eth-hash/patches/patch-setup.py           |  23 -------------
 finance/py-eth-typing/distinfo                       |   3 +-
 finance/py-eth-typing/patches/patch-setup.py         |  22 ------------
 finance/py-eth-utils/distinfo                        |   3 +-
 finance/py-eth-utils/patches/patch-setup.py          |  23 -------------
 math/py-ephem/distinfo                               |   3 +-
 math/py-ephem/patches/patch-setup.py                 |  15 --------
 net/py-ifaddr/distinfo                               |   3 +-
 net/py-ifaddr/patches/patch-setup.py                 |  19 -----------
 security/py-rsa40/distinfo                           |   3 +-
 security/py-rsa40/patches/patch-setup.py             |  17 ----------
 textproc/py-bracex/distinfo                          |   3 +-
 textproc/py-bracex/patches/patch-setup.py            |  24 --------------
 textproc/py-markovify/distinfo                       |   3 +-
 textproc/py-markovify/patches/patch-setup.py         |  13 -------
 www/py-feedgenerator/distinfo                        |   3 +-
 www/py-feedgenerator/patches/patch-setup.py          |  20 -----------
 www/py-pylint-django/distinfo                        |   3 +-
 www/py-pylint-django/patches/patch-setup.py          |  15 --------
 34 files changed, 17 insertions(+), 371 deletions(-)

diffs (truncated from 592 to 300 lines):

diff -r 1b836fde2a5e -r d2274251a0b6 cad/py-gds/distinfo
--- a/cad/py-gds/distinfo       Fri Jan 14 11:37:24 2022 +0000
+++ b/cad/py-gds/distinfo       Fri Jan 14 11:49:41 2022 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.13 2021/10/26 10:04:15 nia Exp $
+$NetBSD: distinfo,v 1.14 2022/01/14 11:49:41 wiz Exp $
 
 BLAKE2s (gdspy-1.6.zip) = 3b764c09f6f0b0813e6e1e916f740dbe36e60fab979c64f54b363744ee59f02c
 SHA512 (gdspy-1.6.zip) = 7e7a40efdd6ca9eb9685c0d3d07bc169d8c92d990b386b2c733032d0c6dc0c1bef06daf53b5aa864f752bc132671eab5f0557a4103fe1ec57f1db264030173fa
 Size (gdspy-1.6.zip) = 12568268 bytes
-SHA1 (patch-setup.py) = 39d70b0d49aa82a9a98f905883d21f11fe0674a0
diff -r 1b836fde2a5e -r d2274251a0b6 cad/py-gds/patches/patch-setup.py
--- a/cad/py-gds/patches/patch-setup.py Fri Jan 14 11:37:24 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-setup.py,v 1.2 2020/09/04 16:05:20 mef Exp $
-
-Allow UTF-8 README.md
-
---- setup.py.orig      2020-05-31 17:53:41.141364832 +0000
-+++ setup.py
-@@ -12,7 +12,7 @@ import platform
- from setuptools import setup, Extension
- from distutils.version import LooseVersion
- 
--with open("README.md") as fin:
-+with open("README.md", **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})) as fin:
-     long_description = fin.read()
- 
- with open("gdspy/__init__.py") as fin:
diff -r 1b836fde2a5e -r d2274251a0b6 comms/py-colorama/distinfo
--- a/comms/py-colorama/distinfo        Fri Jan 14 11:37:24 2022 +0000
+++ b/comms/py-colorama/distinfo        Fri Jan 14 11:49:41 2022 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.11 2021/10/26 10:06:04 nia Exp $
+$NetBSD: distinfo,v 1.12 2022/01/14 11:49:41 wiz Exp $
 
 BLAKE2s (colorama-0.4.4.tar.gz) = a55a983f46c9c8d0a9e487dccc28dc30fd787a53f8cb7452c4ea59025c88a7e0
 SHA512 (colorama-0.4.4.tar.gz) = 84db73bed5a6d4ab1624bdbeea65aef2061126e730f9d4a853f3b2504b9ebf5eb7c0649024ec687b538a89c20c83a5f3365d4fb1aba9fdba3db0b375942c48f4
 Size (colorama-0.4.4.tar.gz) = 27813 bytes
-SHA1 (patch-setup.py) = aba7883e6c6c2514e70d0e0e12417186bc01f1a3
diff -r 1b836fde2a5e -r d2274251a0b6 comms/py-colorama/patches/patch-setup.py
--- a/comms/py-colorama/patches/patch-setup.py  Fri Jan 14 11:37:24 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-$NetBSD: patch-setup.py,v 1.1 2021/01/09 00:43:43 mef Exp $
-
-This patch is necessary only for python-3.6
-
-Traceback (most recent call last):
-  File "setup.py", line 36, in <module>
-    long_description=read_file('README.rst'),
-  File "setup.py", line 19, in read_file
-    return fp.read()
-  File "/usr/pkg/lib/python3.6/encodings/ascii.py", line 26, in decode
-    return codecs.ascii_decode(input, self.errors)[0]
-UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 852: ordinal not in range(128)
-*** Error code 1
-
---- setup.py.orig      2020-10-13 06:22:32.000000000 +0900
-+++ setup.py   2021-01-09 09:24:27.258231596 +0900
-@@ -5,6 +5,8 @@ from __future__ import with_statement
- 
- import os
- import re
-+import sys
-+
- try:
-     from setuptools import setup
- except ImportError:
-@@ -15,7 +17,7 @@ NAME = 'colorama'
- 
- 
- def read_file(path):
--    with open(os.path.join(os.path.dirname(__file__), path)) as fp:
-+    with open(os.path.join(os.path.dirname(__file__), path), **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})) as fp:
-         return fp.read()
- 
- def _get_version_match(content):
diff -r 1b836fde2a5e -r d2274251a0b6 converters/py-unicode-slugify/distinfo
--- a/converters/py-unicode-slugify/distinfo    Fri Jan 14 11:37:24 2022 +0000
+++ b/converters/py-unicode-slugify/distinfo    Fri Jan 14 11:49:41 2022 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:06:50 nia Exp $
+$NetBSD: distinfo,v 1.5 2022/01/14 11:49:41 wiz Exp $
 
 BLAKE2s (unicode-slugify-0.1.3.tar.gz) = db73f98ecfb833e81420458405fb750580ec6a2cd25ea370bf40245ba7c8cb5e
 SHA512 (unicode-slugify-0.1.3.tar.gz) = 509414c8b3603f3b092390ee29f52b6a22de45d904fcfa5554f2c1188a35ac090781050642b0b7bf068d1b30ce424342878e646db98b592712f47595528911a1
 Size (unicode-slugify-0.1.3.tar.gz) = 4430 bytes
-SHA1 (patch-setup.py) = 3a7d378b2d2881e533b5e04688d60ab2d2853b52
diff -r 1b836fde2a5e -r d2274251a0b6 converters/py-unicode-slugify/patches/patch-setup.py
--- a/converters/py-unicode-slugify/patches/patch-setup.py      Fri Jan 14 11:37:24 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-setup.py,v 1.1 2020/05/31 20:49:33 joerg Exp $
-
---- setup.py.orig      2020-05-31 18:05:52.507238288 +0000
-+++ setup.py
-@@ -1,10 +1,11 @@
-+import sys
- from setuptools import setup
- 
- setup(
-     name='unicode-slugify',
-     version='0.1.3',
-     description='A slug generator that turns strings into unicode slugs.',
--    long_description=open('README.md').read(),
-+    long_description=open('README.md', **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})).read(),
-     author='Jeff Balogh, Dave Dash',
-     author_email='jbalogh%mozilla.com@localhost, dd%mozilla.com@localhost',
-     url='http://github.com/mozilla/unicode-slugify',
diff -r 1b836fde2a5e -r d2274251a0b6 converters/py-zfec/distinfo
--- a/converters/py-zfec/distinfo       Fri Jan 14 11:37:24 2022 +0000
+++ b/converters/py-zfec/distinfo       Fri Jan 14 11:49:41 2022 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.11 2021/10/26 10:06:50 nia Exp $
+$NetBSD: distinfo,v 1.12 2022/01/14 11:49:42 wiz Exp $
 
 BLAKE2s (zfec-1.5.5.tar.gz) = 0b29d9831810bb121af9068cb8d9337c3ac2e05ad6c95ae8aab74b9e936e0286
 SHA512 (zfec-1.5.5.tar.gz) = 35fe828b1c18cd3abc8c44f882ade83719d764d0fa62c9d16e9a667d7a096dd6e6a25d55887a2d08e554a5554fc00296dae4c275883d030c854483b26ab3a63b
 Size (zfec-1.5.5.tar.gz) = 80368 bytes
-SHA1 (patch-setup.py) = bbaba4326845d3cdc84dbdfbaf2d8624a366bf2d
diff -r 1b836fde2a5e -r d2274251a0b6 converters/py-zfec/patches/patch-setup.py
--- a/converters/py-zfec/patches/patch-setup.py Fri Jan 14 11:37:24 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-setup.py,v 1.2 2020/12/19 15:28:05 gdt Exp $
-
-\todo Document this patch.
-\todo File this patch upstream.
-
---- setup.py.orig      2020-09-18 02:16:19.000000000 +0000
-+++ setup.py
-@@ -57,7 +57,7 @@ setup(
-     name="zfec",
-     version=versioneer.get_version(),
-     description="An efficient, portable erasure coding tool",
--    long_description=open('README.rst', 'r').read(),
-+    long_description=open('README.rst', 'rU', **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})).read(),
-     url="https://github.com/tahoe-lafs/zfec";,
-     install_requires=[
-         "argparse >= 0.8",
diff -r 1b836fde2a5e -r d2274251a0b6 devel/py-hexbytes/distinfo
--- a/devel/py-hexbytes/distinfo        Fri Jan 14 11:37:24 2022 +0000
+++ b/devel/py-hexbytes/distinfo        Fri Jan 14 11:49:41 2022 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 10:18:32 nia Exp $
+$NetBSD: distinfo,v 1.6 2022/01/14 11:49:42 wiz Exp $
 
 BLAKE2s (hexbytes-0.2.2.tar.gz) = d01fc56d102d5ed3cb521fc79682b2d8477f3b1113c5e25584d17b6b2a0ffda4
 SHA512 (hexbytes-0.2.2.tar.gz) = 80bed389756dee9eac9bd752733bbe5244dbf8ea1b2c41fa8ef2ca4b19579ec3e18ba41f98b1412a3e37e793941261a3ef1cbf29a2bda35535e44609effc69b2
 Size (hexbytes-0.2.2.tar.gz) = 4709763 bytes
-SHA1 (patch-setup.py) = 64c71cd1e7dd94f5d4e23ec5f45b938b35ea9a66
diff -r 1b836fde2a5e -r d2274251a0b6 devel/py-hexbytes/patches/patch-setup.py
--- a/devel/py-hexbytes/patches/patch-setup.py  Fri Jan 14 11:37:24 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-$NetBSD: patch-setup.py,v 1.1 2021/02/18 14:42:52 mef Exp $
-
-py36 gives following flag
-UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 2807: ordinal not in range(128)
-
---- setup.py.orig      2021-02-18 23:38:01.453886086 +0900
-+++ setup.py   2021-02-18 23:39:03.415666893 +0900
-@@ -1,5 +1,6 @@
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
-+import sys
- from setuptools import (
-     setup,
-     find_packages,
-@@ -41,7 +42,7 @@ extras_require['dev'] = (
- )
- 
- 
--with open('./README.md') as readme:
-+with open('./README.md', **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})) as readme:
-     long_description = readme.read()
- 
- 
diff -r 1b836fde2a5e -r d2274251a0b6 devel/py-hg-git/distinfo
--- a/devel/py-hg-git/distinfo  Fri Jan 14 11:37:24 2022 +0000
+++ b/devel/py-hg-git/distinfo  Fri Jan 14 11:49:41 2022 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.11 2021/10/26 10:18:32 nia Exp $
+$NetBSD: distinfo,v 1.12 2022/01/14 11:49:42 wiz Exp $
 
 BLAKE2s (hg-git-0.10.0.tar.bz2) = 8f5cd5986b350f94e58c2c95adf8480fe848e4ed8c19d3e762dbb51aad6602be
 SHA512 (hg-git-0.10.0.tar.bz2) = 6f4277bc2b63da97e63531c751465e72467be0dfe92a7b64bfa423412268f89f02985665428597281a53b44f169f1291447e7b1d3a8047d7b0d67d1b1e0e5e27
 Size (hg-git-0.10.0.tar.bz2) = 143518 bytes
-SHA1 (patch-setup.py) = 9255ceda0eb9a34963fc107fb62da8e5d6424ba8
diff -r 1b836fde2a5e -r d2274251a0b6 devel/py-hg-git/patches/patch-setup.py
--- a/devel/py-hg-git/patches/patch-setup.py    Fri Jan 14 11:37:24 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-$NetBSD: patch-setup.py,v 1.1 2021/09/27 02:00:44 mef Exp $
-
-py36 flags:
-UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1085: ordinal not in range(128)
-
---- setup.py.orig      2021-01-11 23:58:48.000000000 +0900
-+++ setup.py   2021-09-27 10:51:25.778622523 +0900
-@@ -2,6 +2,8 @@ from __future__ import absolute_import, 
- 
- from os.path import dirname, join
- 
-+import sys
-+
- try:
-     from setuptools import setup
- except:
-@@ -29,7 +31,7 @@ setup(
-     maintainer_email='kbullock+mercurial%ringworld.org@localhost',
-     url='http://foss.heptapod.net/mercurial/hg-git',
-     description='push to and pull from a Git repository using Mercurial',
--    long_description=get_file("README.rst"),
-+    long_description=''.join(open('README.rst', **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})).readlines()),
-     keywords='hg git mercurial',
-     license='GPLv2',
-     packages=['hggit'],
diff -r 1b836fde2a5e -r d2274251a0b6 devel/py-test-xdist/distinfo
--- a/devel/py-test-xdist/distinfo      Fri Jan 14 11:37:24 2022 +0000
+++ b/devel/py-test-xdist/distinfo      Fri Jan 14 11:49:41 2022 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.30 2021/10/26 10:19:10 nia Exp $
+$NetBSD: distinfo,v 1.31 2022/01/14 11:49:42 wiz Exp $
 
 BLAKE2s (pytest-xdist-1.34.0.tar.gz) = 22f700e9f149b9811ffbb737a7c2c3b620ee665a84a6eeca2d65e286df17859c
 SHA512 (pytest-xdist-1.34.0.tar.gz) = 69e9877ee0268d71d7c0ca202ccc46b3ba1a9271f0e6e4ac4b76602833f9b7012364eb6924ae994e76c1d48d63adf1702d4c5e6ed5b75c52ac7ebae958210e24
 Size (pytest-xdist-1.34.0.tar.gz) = 66151 bytes
-SHA1 (patch-setup.py) = b04fc9f42ec7ec659b993d70760c981a5884e584
diff -r 1b836fde2a5e -r d2274251a0b6 devel/py-test-xdist/patches/patch-setup.py
--- a/devel/py-test-xdist/patches/patch-setup.py        Fri Jan 14 11:37:24 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-setup.py,v 1.1 2020/08/27 12:27:00 joerg Exp $
-
---- setup.py.orig      2020-08-26 11:53:27.731267998 +0000
-+++ setup.py
-@@ -1,9 +1,10 @@
- from setuptools import setup, find_packages
-+import sys
- 
- install_requires = ["execnet>=1.1", "pytest>=4.4.0", "pytest-forked", "six"]
- 
- 
--with open("README.rst") as f:
-+with open("README.rst", **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})) as f:
-     long_description = f.read()
- 
- setup(
diff -r 1b836fde2a5e -r d2274251a0b6 finance/py-eth-hash/distinfo
--- a/finance/py-eth-hash/distinfo      Fri Jan 14 11:37:24 2022 +0000
+++ b/finance/py-eth-hash/distinfo      Fri Jan 14 11:49:41 2022 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 10:26:04 nia Exp $
+$NetBSD: distinfo,v 1.7 2022/01/14 11:49:42 wiz Exp $
 
 BLAKE2s (eth-hash-0.3.2.tar.gz) = 08b8bee72091178a266047e6e8b3161b6298bf24a532aa34dbcc6cfea21d9f6a
 SHA512 (eth-hash-0.3.2.tar.gz) = 519255ef7e798c9fcf454215ddba6b2cce4dc81380a5da3d74a6b4aca1c9112b679dca9708f222174b67ae3815aac8b7bb784341a410ee1ca573ea342e5f3b77
 Size (eth-hash-0.3.2.tar.gz) = 5291253 bytes
-SHA1 (patch-setup.py) = 8da4ca9fdd58577c627df6662a3799d88e414138
diff -r 1b836fde2a5e -r d2274251a0b6 finance/py-eth-hash/patches/patch-setup.py
--- a/finance/py-eth-hash/patches/patch-setup.py        Fri Jan 14 11:37:24 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-$NetBSD: patch-setup.py,v 1.1 2021/02/15 14:59:25 mef Exp $
-
-py36 gives following flag:
-UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 2861: ordinal not in range(128)
-
---- setup.py.orig      2021-01-22 04:52:10.000000000 +0900
-+++ setup.py   2021-02-15 23:50:09.430652835 +0900
-@@ -1,5 +1,6 @@
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
-+import sys
- from setuptools import (
-     setup,
-     find_packages,
-@@ -46,7 +47,7 @@ extras_require['dev'] = (
- )
- 
- 
--with open('./README.md') as readme:
-+with open("./README.md", **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})) as readme:
-     long_description = readme.read()
- 
- 
diff -r 1b836fde2a5e -r d2274251a0b6 finance/py-eth-typing/distinfo
--- a/finance/py-eth-typing/distinfo    Fri Jan 14 11:37:24 2022 +0000
+++ b/finance/py-eth-typing/distinfo    Fri Jan 14 11:49:41 2022 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 10:26:04 nia Exp $
+$NetBSD: distinfo,v 1.6 2022/01/14 11:49:43 wiz Exp $
 
 BLAKE2s (eth-typing-2.2.2.tar.gz) = 38d82fcc788b649c279792fe0610a5cc340a8ba57a9abf0b7bcdcfeea9c49a8b
 SHA512 (eth-typing-2.2.2.tar.gz) = 79185a1a940b776cc350c6b5e3506d6fa27a3cc6d8ea233f59e9b1696589c62f8af777f0b9d90be6ba4045cc456cd0ab972a12c67120ddb2d302cb111e82dffe
 Size (eth-typing-2.2.2.tar.gz) = 5378 bytes
-SHA1 (patch-setup.py) = 674c387c0f6d42829499cfe1ee60bbb1642e46bc



Home | Main Index | Thread Index | Old Index