py-hypothesmith: updated to 0.3.1 0.3.1 - 2023-09-06 - Hypothesis >= 6.89.0 made some internal changes which broke our `from_grammar()`. This patch restores compatibility, and requires the new Hypothesis. 0.3.0 - 2023-09-06 - Even more efficient generation of Python identifiers, using [Hypothesis 6.84.1](https://hypothesis.readthedocs.io/en/latest/changes.html#v6-84-1) - Dropped support for Python 3.7, which is end-of-life and not supported by Hypothesisdiff -r1.2 -r1.3 pkgsrc/devel/py-hypothesmith/Makefile
(adam)
@@ -1,33 +1,30 @@ | @@ -1,33 +1,30 @@ | |||
1 | # $NetBSD: Makefile,v 1.2 2022/12/18 16:24:54 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.3 2023/12/11 20:48:39 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= hypothesmith-0.2.3 | 3 | DISTNAME= hypothesmith-0.3.1 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | CATEGORIES= devel python | 5 | CATEGORIES= devel python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=h/hypothesmith/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=h/hypothesmith/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://github.com/Zac-HD/hypothesmith | 9 | HOMEPAGE= https://github.com/Zac-HD/hypothesmith | |
10 | COMMENT= Hypothesis strategies for generating Python programs, like CSmith | 10 | COMMENT= Hypothesis strategies for generating Python programs, like CSmith | |
11 | LICENSE= mpl-2.0 | 11 | LICENSE= mpl-2.0 | |
12 | 12 | |||
13 | DEPENDS+= ${PYPKGPREFIX}-hypothesis>=6.58.1:../../devel/py-hypothesis | 13 | DEPENDS+= ${PYPKGPREFIX}-hypothesis>=6.84.1:../../devel/py-hypothesis | |
14 | DEPENDS+= ${PYPKGPREFIX}-lark-parser-[0-9]*:../../lang/py-lark-parser | 14 | DEPENDS+= ${PYPKGPREFIX}-lark-parser-[0-9]*:../../lang/py-lark-parser | |
15 | DEPENDS+= ${PYPKGPREFIX}-libcst>=0.4.0:../../lang/py-libcst | 15 | DEPENDS+= ${PYPKGPREFIX}-libcst>=1.0.1:../../lang/py-libcst | |
16 | TEST_DEPENDS+= ${PYPKGPREFIX}-black-[0-9]*:../../textproc/py-black | 16 | TEST_DEPENDS+= ${PYPKGPREFIX}-black-[0-9]*:../../textproc/py-black | |
17 | TEST_DEPENDS+= ${PYPKGPREFIX}-parso-[0-9]*:../../lang/py-parso | 17 | TEST_DEPENDS+= ${PYPKGPREFIX}-parso-[0-9]*:../../lang/py-parso | |
18 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test | |||
19 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov | 18 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov | |
20 | 19 | |||
21 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |||
22 | ||||
23 | USE_LANGUAGES= # none | 20 | USE_LANGUAGES= # none | |
24 | 21 | |||
22 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |||
23 | ||||
25 | # as of 0.2.0 | 24 | # as of 0.2.0 | |
26 | # 1 failed, 170 passed, 2 skipped, 3 xfailed | 25 | # 1 failed, 170 passed, 2 skipped, 3 xfailed | |
27 | # https://github.com/Zac-HD/hypothesmith/issues/21 | 26 | # https://github.com/Zac-HD/hypothesmith/issues/21 | |
28 | TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib | 27 | TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib | |
29 | do-test: | |||
30 | cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} | |||
31 | 28 | |||
32 | .include "../../lang/python/egg.mk" | 29 | .include "../../lang/python/wheel.mk" | |
33 | .include "../../mk/bsd.pkg.mk" | 30 | .include "../../mk/bsd.pkg.mk" |
@@ -1,18 +1,17 @@ | @@ -1,18 +1,17 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.2 2022/12/18 16:24:54 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.3 2023/12/11 20:48:39 adam Exp $ | |
2 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 2 | ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE | |
3 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 3 | ${PYSITELIB}/${WHEEL_INFODIR}/METADATA | |
4 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 4 | ${PYSITELIB}/${WHEEL_INFODIR}/RECORD | |
5 | ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe | 5 | ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL | |
6 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | 6 | ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt | |
7 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |||
8 | ${PYSITELIB}/hypothesmith/__init__.py | 7 | ${PYSITELIB}/hypothesmith/__init__.py | |
9 | ${PYSITELIB}/hypothesmith/__init__.pyc | 8 | ${PYSITELIB}/hypothesmith/__init__.pyc | |
10 | ${PYSITELIB}/hypothesmith/__init__.pyo | 9 | ${PYSITELIB}/hypothesmith/__init__.pyo | |
11 | ${PYSITELIB}/hypothesmith/cst.py | 10 | ${PYSITELIB}/hypothesmith/cst.py | |
12 | ${PYSITELIB}/hypothesmith/cst.pyc | 11 | ${PYSITELIB}/hypothesmith/cst.pyc | |
13 | ${PYSITELIB}/hypothesmith/cst.pyo | 12 | ${PYSITELIB}/hypothesmith/cst.pyo | |
14 | ${PYSITELIB}/hypothesmith/py.typed | 13 | ${PYSITELIB}/hypothesmith/py.typed | |
15 | ${PYSITELIB}/hypothesmith/python.lark | 14 | ${PYSITELIB}/hypothesmith/python.lark | |
16 | ${PYSITELIB}/hypothesmith/syntactic.py | 15 | ${PYSITELIB}/hypothesmith/syntactic.py | |
17 | ${PYSITELIB}/hypothesmith/syntactic.pyc | 16 | ${PYSITELIB}/hypothesmith/syntactic.pyc | |
18 | ${PYSITELIB}/hypothesmith/syntactic.pyo | 17 | ${PYSITELIB}/hypothesmith/syntactic.pyo |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.2 2022/12/18 16:24:54 adam Exp $ | 1 | $NetBSD: distinfo,v 1.3 2023/12/11 20:48:39 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (hypothesmith-0.2.3.tar.gz) = cf8eb748aab9f328b4b52ff575fca88591dbdef76423a0f835aa7196d836eac8 | 3 | BLAKE2s (hypothesmith-0.3.1.tar.gz) = a1095a84ff2f045df0208f7e1309816d6aef42a48bc7b167782f8c18c4a40c13 | |
4 | SHA512 (hypothesmith-0.2.3.tar.gz) = effc9ba821c161d1464ca497c4b494e49fc447de3898884e77395caed380ba91b9742b88c93a2685238957dcb30642a96993ebfba25f1c14d2249d35395f44a7 | 4 | SHA512 (hypothesmith-0.3.1.tar.gz) = 4d78fde4d16be68476302a6bef6e51b741dcd4cca2807572ba10b05f5fcb11aee124bab5d30dbeaf0d9f5d344100100b89e978fcc34732d192a253dfc727fbc0 | |
5 | Size (hypothesmith-0.2.3.tar.gz) = 25722 bytes | 5 | Size (hypothesmith-0.3.1.tar.gz) = 25600 bytes |