pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-libusb1 py-libusb1: fix build with latest set...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c474746987fa
branches:  trunk
changeset: 770213:c474746987fa
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Nov 27 18:29:48 2021 +0000

description:
py-libusb1: fix build with latest setuptools

2to3 is not needed, just comment it out.

diffstat:

 devel/py-libusb1/distinfo               |   3 ++-
 devel/py-libusb1/patches/patch-setup.py |  12 ++++++++++++
 2 files changed, 14 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r f10d3cad7eb3 -r c474746987fa devel/py-libusb1/distinfo
--- a/devel/py-libusb1/distinfo Sat Nov 27 16:45:08 2021 +0000
+++ b/devel/py-libusb1/distinfo Sat Nov 27 18:29:48 2021 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 10:18:38 nia Exp $
+$NetBSD: distinfo,v 1.4 2021/11/27 18:29:48 wiz Exp $
 
 BLAKE2s (libusb1-1.7.1.tar.gz) = e87676e9e48ce5a9075d86e3f7fe6547a7a2003d521680e15e5561a54ae894de
 SHA512 (libusb1-1.7.1.tar.gz) = 8a7029a70dba0fee9448a485e7e1205e695dd5f0db15ef5143a7bf6d1e0739e307e139a46fa7d38fb767b12f60610b9408e6c580cc0513e964214faa13ed7b0f
 Size (libusb1-1.7.1.tar.gz) = 78016 bytes
+SHA1 (patch-setup.py) = 2add097ed58c0daa4a51928011e84e3a8a5fc853
diff -r f10d3cad7eb3 -r c474746987fa devel/py-libusb1/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-libusb1/patches/patch-setup.py   Sat Nov 27 18:29:48 2021 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-setup.py,v 1.1 2021/11/27 18:29:48 wiz Exp $
+
+2to3 is not needed any longer.
+
+--- setup.py.orig      2019-05-09 22:49:51.000000000 +0000
++++ setup.py
+@@ -62,5 +62,4 @@ setup(
+         'Topic :: Software Development :: Libraries',
+         'Topic :: System :: Hardware :: Hardware Drivers',
+     ],
+-    use_2to3=sys.version_info >= (3, ),
+ )



Home | Main Index | Thread Index | Old Index