pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/py-stone



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu May  4 21:06:06 UTC 2023

Modified Files:
        pkgsrc/net/py-stone: Makefile distinfo
Added Files:
        pkgsrc/net/py-stone/patches: patch-setup.py patch-test_requirements.txt

Log Message:
py-stone: relax requirements


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/net/py-stone/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/py-stone/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/py-stone/patches/patch-setup.py \
    pkgsrc/net/py-stone/patches/patch-test_requirements.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/py-stone/Makefile
diff -u pkgsrc/net/py-stone/Makefile:1.7 pkgsrc/net/py-stone/Makefile:1.8
--- pkgsrc/net/py-stone/Makefile:1.7    Sun Apr 30 18:57:14 2023
+++ pkgsrc/net/py-stone/Makefile        Thu May  4 21:06:06 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2023/04/30 18:57:14 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2023/05/04 21:06:06 wiz Exp $
 
 DISTNAME=      stone-3.3.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -12,7 +12,13 @@ LICENSE=     mit
 
 DEPENDS+=      ${PYPKGPREFIX}-ply>=3.4:../../devel/py-ply
 DEPENDS+=      ${PYPKGPREFIX}-six>=1.12.0:../../lang/py-six
+# yes, BUILD_DEPENDS as of 3.3.1
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+# doesn't work:
+# E   ModuleNotFoundError: No module named 'test.backend_test_util'
+TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
 USE_LANGUAGES= # none
 

Index: pkgsrc/net/py-stone/distinfo
diff -u pkgsrc/net/py-stone/distinfo:1.4 pkgsrc/net/py-stone/distinfo:1.5
--- pkgsrc/net/py-stone/distinfo:1.4    Mon Feb 21 19:08:36 2022
+++ pkgsrc/net/py-stone/distinfo        Thu May  4 21:06:06 2023
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.4 2022/02/21 19:08:36 adam Exp $
+$NetBSD: distinfo,v 1.5 2023/05/04 21:06:06 wiz Exp $
 
 BLAKE2s (stone-3.3.1.tar.gz) = 244dd258a04e03f3e035e520b40c4a651bc2280ed6a3ae1d26b081b35adb2438
 SHA512 (stone-3.3.1.tar.gz) = 123ab7ba6b4144e570072c881365510fc1861bccba4a0c74de38236ebbbf6c3883af5a5584da6f95098de8a2e407bcd484b97c91a5e1744a62f1fae85d080887
 Size (stone-3.3.1.tar.gz) = 190888 bytes
+SHA1 (patch-setup.py) = 3a2206999a58253d5d01e057616aa62d44a8bdc7
+SHA1 (patch-test_requirements.txt) = 7b160453cb63be7741073d3c36469b0aef59825c

Added files:

Index: pkgsrc/net/py-stone/patches/patch-setup.py
diff -u /dev/null pkgsrc/net/py-stone/patches/patch-setup.py:1.1
--- /dev/null   Thu May  4 21:06:06 2023
+++ pkgsrc/net/py-stone/patches/patch-setup.py  Thu May  4 21:06:06 2023
@@ -0,0 +1,17 @@
+$NetBSD: patch-setup.py,v 1.1 2023/05/04 21:06:06 wiz Exp $
+
+Relax requirement.
+
+--- setup.py.orig      2022-01-25 21:31:58.000000000 +0000
++++ setup.py
+@@ -22,9 +22,7 @@ with open('requirements.txt') as f:  # p
+     install_reqs += f.read().splitlines()
+ 
+ setup_requires = [
+-    # Pin pytest-runner to 5.2.0, since 5.3.0 uses `find_namespaces` directive, not supported in
+-    # Python 2.7
+-    'pytest-runner == 5.2.0',
++    'pytest-runner',
+ ]
+ 
+ # WARNING: This imposes limitations on test/requirements.txt such that the
Index: pkgsrc/net/py-stone/patches/patch-test_requirements.txt
diff -u /dev/null pkgsrc/net/py-stone/patches/patch-test_requirements.txt:1.1
--- /dev/null   Thu May  4 21:06:06 2023
+++ pkgsrc/net/py-stone/patches/patch-test_requirements.txt     Thu May  4 21:06:06 2023
@@ -0,0 +1,14 @@
+$NetBSD: patch-test_requirements.txt,v 1.1 2023/05/04 21:06:06 wiz Exp $
+
+Relax requireemnts
+
+--- test/requirements.txt.orig 2022-01-25 21:31:58.000000000 +0000
++++ test/requirements.txt
+@@ -1,3 +1,3 @@
+-mock>=2.0.0,<5.0
+-coverage==5.5
+-pytest<7
+\ No newline at end of file
++mock
++coverage
++pytest



Home | Main Index | Thread Index | Old Index