diff options
author | wiz <wiz@pkgsrc.org> | 2021-12-19 14:07:56 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2021-12-19 14:07:56 +0000 |
commit | cc9eba54f61bf34cfe6e1edcbd7232ed3e752864 (patch) | |
tree | cf306dbea55f576fe3886f55e9ffa4c6ac697d5c | |
parent | 6f39e86103834354729c3c7cca44a7556e1bceb1 (diff) | |
download | pkgsrc-cc9eba54f61bf34cfe6e1edcbd7232ed3e752864.tar.gz |
py-l18n: fix build with latest setuptools
-rw-r--r-- | time/py-l18n/distinfo | 3 | ||||
-rw-r--r-- | time/py-l18n/patches/patch-setup.py | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/time/py-l18n/distinfo b/time/py-l18n/distinfo index 03ede304ef2..596c54d5a77 100644 --- a/time/py-l18n/distinfo +++ b/time/py-l18n/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.4 2021/10/26 11:24:33 nia Exp $ +$NetBSD: distinfo,v 1.5 2021/12/19 14:07:56 wiz Exp $ BLAKE2s (l18n-2020.6.1.tar.gz) = 4ccd2a56482346eed64c082b3eb5727837e72f63dd3d5b8c1d96c18fa94519ea SHA512 (l18n-2020.6.1.tar.gz) = 83405892678e53266a7dd6c8769ee96a9ef3fdd647790917ce25b74881a88d96bf2380901616bd5b0d23f65673457915bbd3976b28d89cf99ea0f5d1a9491ebb Size (l18n-2020.6.1.tar.gz) = 50557 bytes +SHA1 (patch-setup.py) = bdf0d37bcc895780b775525691dcd15e0e260431 diff --git a/time/py-l18n/patches/patch-setup.py b/time/py-l18n/patches/patch-setup.py new file mode 100644 index 00000000000..efc439ebcf6 --- /dev/null +++ b/time/py-l18n/patches/patch-setup.py @@ -0,0 +1,15 @@ +$NetBSD: patch-setup.py,v 1.1 2021/12/19 14:07:57 wiz Exp $ + +Fix build with latest setuptools. + +--- setup.py.orig 2020-10-31 03:58:31.000000000 +0000 ++++ setup.py +@@ -69,7 +69,7 @@ class PredistBuild(object):
+ log.info('translation files built successfully')
+
+ cmd_classes = {}
+-for cmd in ('sdist', 'bdist', 'bdist_egg', 'bdist_rpm', 'bdist_wininst'):
++for cmd in ('sdist', 'bdist', 'bdist_egg', 'bdist_rpm'):
+ try:
+ cmd_module = getattr(__import__('setuptools.command', fromlist=[cmd]),
+ cmd)
|