pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/py-u2f py-u2f: remove unused unittest2 test d...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ac461e305269
branches:  trunk
changeset: 372571:ac461e305269
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Jan 27 10:39:35 2022 +0000

description:
py-u2f: remove unused unittest2 test dependency

Reported upstream
https://github.com/google/pyu2f/issues/33

diffstat:

 security/py-u2f/Makefile               |   5 +++--
 security/py-u2f/distinfo               |   3 ++-
 security/py-u2f/patches/patch-setup.py |  12 ++++++++++++
 3 files changed, 17 insertions(+), 3 deletions(-)

diffs (48 lines):

diff -r 0cd30c5cce66 -r ac461e305269 security/py-u2f/Makefile
--- a/security/py-u2f/Makefile  Thu Jan 27 10:30:03 2022 +0000
+++ b/security/py-u2f/Makefile  Thu Jan 27 10:39:35 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2022/01/04 20:54:45 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2022/01/27 10:39:35 wiz Exp $
 
 DISTNAME=      pyu2f-0.1.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
@@ -14,7 +14,8 @@
 DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
 TEST_DEPENDS+= ${PYPKGPREFIX}-fakefs>=2.4:../../devel/py-fakefs
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=1.0.1:../../devel/py-mock
-TEST_DEPENDS+= ${PYPKGPREFIX}-unittest2>=0.5.1:../../devel/py-unittest2
+# seems unused: https://github.com/google/pyu2f/issues/33
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-unittest2>=0.5.1:../../devel/py-unittest2
 
 USE_LANGUAGES= # none
 
diff -r 0cd30c5cce66 -r ac461e305269 security/py-u2f/distinfo
--- a/security/py-u2f/distinfo  Thu Jan 27 10:30:03 2022 +0000
+++ b/security/py-u2f/distinfo  Thu Jan 27 10:39:35 2022 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 11:17:51 nia Exp $
+$NetBSD: distinfo,v 1.6 2022/01/27 10:39:35 wiz Exp $
 
 BLAKE2s (pyu2f-0.1.5.tar.gz) = 8bb90f21445b04e8b995fc38b17c993395723a0ef3b6b2f169211bbc5971598b
 SHA512 (pyu2f-0.1.5.tar.gz) = c297ade8113ff328923f113ddcaf3868225a9a9336519ab3e9fd2e5670299aa4779c91bedd5ebdc1118571610e383e7fab5f63d463143a0910e8c3d876717454
 Size (pyu2f-0.1.5.tar.gz) = 27133 bytes
 SHA1 (patch-pyu2f_hid_____init____.py) = 2f648792c78432776c4074e3bb2df0a195f65154
 SHA1 (patch-pyu2f_hid_netbsd.py) = d8df1b3805ad5e830548df5b6a601abf09a5dfa3
+SHA1 (patch-setup.py) = 0cce0e764839239d3f2e530c11d4d51740311067
diff -r 0cd30c5cce66 -r ac461e305269 security/py-u2f/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-u2f/patches/patch-setup.py    Thu Jan 27 10:39:35 2022 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-setup.py,v 1.1 2022/01/27 10:39:35 wiz Exp $
+
+--- setup.py.orig      2020-10-30 20:02:44.000000000 +0000
++++ setup.py
+@@ -40,7 +40,6 @@ setuptools.setup(
+         'six',
+     ],
+     tests_require=[
+-        'unittest2>=0.5.1',
+         'pyfakefs>=2.4',
+         'mock>=1.0.1',
+     ],



Home | Main Index | Thread Index | Old Index