pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/py-l18n py-l18n: fix build with latest setuptools



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a28cb1e8a742
branches:  trunk
changeset: 771572:a28cb1e8a742
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Dec 19 14:07:56 2021 +0000

description:
py-l18n: fix build with latest setuptools

diffstat:

 time/py-l18n/distinfo               |   3 ++-
 time/py-l18n/patches/patch-setup.py |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 877c79334383 -r a28cb1e8a742 time/py-l18n/distinfo
--- a/time/py-l18n/distinfo     Sun Dec 19 14:05:53 2021 +0000
+++ b/time/py-l18n/distinfo     Sun Dec 19 14:07:56 2021 +0000
@@ -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 -r 877c79334383 -r a28cb1e8a742 time/py-l18n/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/py-l18n/patches/patch-setup.py       Sun Dec 19 14:07:56 2021 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index