py-libusb1: fix build with latest setuptools

2to3 is not needed, just comment it out.
This commit is contained in:
wiz 2021-11-27 18:29:48 +00:00
parent 045c1abded
commit 85a0ac80c2
2 changed files with 14 additions and 1 deletions

View file

@ -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

View file

@ -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, ),
)