py-stone: updated to 3.3.3 v3.3.3 Update python version for pypidiff -r1.9 -r1.10 pkgsrc/net/py-stone/Makefile
(adam)
@@ -1,39 +1,37 @@ | @@ -1,39 +1,37 @@ | |||
1 | # $NetBSD: Makefile,v 1.9 2023/06/06 12:42:08 riastradh Exp $ | 1 | # $NetBSD: Makefile,v 1.10 2024/04/26 17:02:07 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= stone-3.3.1 | 3 | DISTNAME= stone-3.3.3 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | CATEGORIES= net python | 5 | CATEGORIES= net python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=s/stone/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=s/stone/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://github.com/dropbox/stone | 9 | HOMEPAGE= https://github.com/dropbox/stone | |
10 | COMMENT= Interface description language (IDL) for APIs | 10 | COMMENT= Interface description language (IDL) for APIs | |
11 | LICENSE= mit | 11 | LICENSE= mit | |
12 | 12 | |||
13 | TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools | |||
14 | TOOL_DEPENDS+= ${PYPKGPREFIX}-test-runner>=5.3.2:../../devel/py-test-runner | |||
15 | TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel | |||
13 | DEPENDS+= ${PYPKGPREFIX}-ply>=3.4:../../devel/py-ply | 16 | DEPENDS+= ${PYPKGPREFIX}-ply>=3.4:../../devel/py-ply | |
14 | DEPENDS+= ${PYPKGPREFIX}-six>=1.12.0:../../lang/py-six | 17 | DEPENDS+= ${PYPKGPREFIX}-six>=1.12.0:../../lang/py-six | |
15 | # yes, TOOL_DEPENDS as of 3.3.1 | |||
16 | TOOL_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner | |||
17 | # doesn't work: | 18 | # doesn't work: | |
18 | # E ModuleNotFoundError: No module named 'test.backend_test_util' | 19 | # E ModuleNotFoundError: No module named 'test.backend_test_util' | |
19 | TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage | 20 | TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage | |
20 | TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock | 21 | TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock | |
21 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test | |||
22 | 22 | |||
23 | USE_LANGUAGES= # none | 23 | USE_LANGUAGES= # none | |
24 | 24 | |||
25 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | 25 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |
26 | 26 | |||
27 | USE_PKG_RESOURCES= yes | |||
28 | ||||
29 | # https://github.com/dropbox/stone/issues/266 | 27 | # https://github.com/dropbox/stone/issues/266 | |
30 | post-extract: | 28 | post-extract: | |
31 | ${ECHO} 'ply>= 3.4' > ${WRKSRC}/requirements.txt | 29 | ${ECHO} 'ply>= 3.4' > ${WRKSRC}/requirements.txt | |
32 | ${ECHO} 'six>= 1.12.0' >> ${WRKSRC}/requirements.txt | 30 | ${ECHO} 'six>= 1.12.0' >> ${WRKSRC}/requirements.txt | |
33 | 31 | |||
34 | post-install: | 32 | post-install: | |
35 | cd ${DESTDIR}${PREFIX}/bin && \ | 33 | cd ${DESTDIR}${PREFIX}/bin && \ | |
36 | ${MV} stone stone-${PYVERSSUFFIX} || ${TRUE} | 34 | ${MV} stone stone-${PYVERSSUFFIX} || ${TRUE} | |
37 | 35 | |||
38 | .include "../../lang/python/egg.mk" | 36 | .include "../../lang/python/wheel.mk" | |
39 | .include "../../mk/bsd.pkg.mk" | 37 | .include "../../mk/bsd.pkg.mk" |
@@ -1,22 +1,21 @@ | @@ -1,22 +1,21 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.2 2022/02/21 19:08:36 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.3 2024/04/26 17:02:07 adam Exp $ | |
2 | bin/stone-${PYVERSSUFFIX} | 2 | bin/stone-${PYVERSSUFFIX} | |
3 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 3 | ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE | |
4 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 4 | ${PYSITELIB}/${WHEEL_INFODIR}/METADATA | |
5 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 5 | ${PYSITELIB}/${WHEEL_INFODIR}/RECORD | |
6 | ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt | 6 | ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL | |
7 | ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe | 7 | ${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt | |
8 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | 8 | ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt | |
9 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |||
10 | ${PYSITELIB}/stone/__init__.py | 9 | ${PYSITELIB}/stone/__init__.py | |
11 | ${PYSITELIB}/stone/__init__.pyc | 10 | ${PYSITELIB}/stone/__init__.pyc | |
12 | ${PYSITELIB}/stone/__init__.pyo | 11 | ${PYSITELIB}/stone/__init__.pyo | |
13 | ${PYSITELIB}/stone/backend.py | 12 | ${PYSITELIB}/stone/backend.py | |
14 | ${PYSITELIB}/stone/backend.pyc | 13 | ${PYSITELIB}/stone/backend.pyc | |
15 | ${PYSITELIB}/stone/backend.pyo | 14 | ${PYSITELIB}/stone/backend.pyo | |
16 | ${PYSITELIB}/stone/backends/__init__.py | 15 | ${PYSITELIB}/stone/backends/__init__.py | |
17 | ${PYSITELIB}/stone/backends/__init__.pyc | 16 | ${PYSITELIB}/stone/backends/__init__.pyc | |
18 | ${PYSITELIB}/stone/backends/__init__.pyo | 17 | ${PYSITELIB}/stone/backends/__init__.pyo | |
19 | ${PYSITELIB}/stone/backends/helpers.py | 18 | ${PYSITELIB}/stone/backends/helpers.py | |
20 | ${PYSITELIB}/stone/backends/helpers.pyc | 19 | ${PYSITELIB}/stone/backends/helpers.pyc | |
21 | ${PYSITELIB}/stone/backends/helpers.pyo | 20 | ${PYSITELIB}/stone/backends/helpers.pyo | |
22 | ${PYSITELIB}/stone/backends/js_client.py | 21 | ${PYSITELIB}/stone/backends/js_client.py |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.5 2023/05/04 21:06:06 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.6 2024/04/26 17:02:07 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (stone-3.3.1.tar.gz) = 244dd258a04e03f3e035e520b40c4a651bc2280ed6a3ae1d26b081b35adb2438 | 3 | BLAKE2s (stone-3.3.3.tar.gz) = bc23758dabbc4c105bf41ab93ba8374cdf488573ce0ba4e3818598573a829b46 | |
4 | SHA512 (stone-3.3.1.tar.gz) = 123ab7ba6b4144e570072c881365510fc1861bccba4a0c74de38236ebbbf6c3883af5a5584da6f95098de8a2e407bcd484b97c91a5e1744a62f1fae85d080887 | 4 | SHA512 (stone-3.3.3.tar.gz) = 82dfab817c2c931adf24b45c64698b937b075de1e63a1544673ed281a7afc46a8ea7bf5e2e9d8eec3b0d8aee20506b6152edcc73cace2f017e0b9050ec30d8f8 | |
5 | Size (stone-3.3.1.tar.gz) = 190888 bytes | 5 | Size (stone-3.3.3.tar.gz) = 189146 bytes | |
6 | SHA1 (patch-setup.py) = 3a2206999a58253d5d01e057616aa62d44a8bdc7 | 6 | SHA1 (patch-setup.py) = 6662bba9a18f3e1682b1cfa67f63bbb64c55fa43 | |
7 | SHA1 (patch-test_requirements.txt) = 7b160453cb63be7741073d3c36469b0aef59825c | 7 | SHA1 (patch-test_requirements.txt) = 7b160453cb63be7741073d3c36469b0aef59825c |
@@ -1,17 +1,15 @@ | @@ -1,17 +1,15 @@ | |||
1 | $NetBSD: patch-setup.py,v 1.1 2023/05/04 21:06:06 wiz Exp $ | 1 | $NetBSD: patch-setup.py,v 1.2 2024/04/26 17:02:07 adam Exp $ | |
2 | 2 | |||
3 | Relax requirement. | 3 | Relax requirement. | |
4 | 4 | |||
5 | --- setup.py.orig 2022-01-25 21:31:58.000000000 +0000 | 5 | --- setup.py.orig 2024-03-28 16:48:27.000000000 +0000 | |
6 | +++ setup.py | 6 | +++ setup.py | |
7 | @@ -22,9 +22,7 @@ with open('requirements.txt') as f: # p | 7 | @@ -21,7 +21,7 @@ with open('requirements.txt') as f: # p | |
8 | install_reqs += f.read().splitlines() | 8 | install_reqs += f.read().splitlines() | |
9 | 9 | |||
10 | setup_requires = [ | 10 | setup_requires = [ | |
11 | - # Pin pytest-runner to 5.2.0, since 5.3.0 uses `find_namespaces` directive, not supported in | 11 | - 'pytest-runner == 5.3.2', | |
12 | - # Python 2.7 | |||
13 | - 'pytest-runner == 5.2.0', | |||
14 | + 'pytest-runner', | 12 | + 'pytest-runner', | |
15 | ] | 13 | ] | |
16 | 14 | |||
17 | # WARNING: This imposes limitations on test/requirements.txt such that the | 15 | # WARNING: This imposes limitations on test/requirements.txt such that the |