| @@ -1,34 +1,34 @@ | | | @@ -1,34 +1,34 @@ |
1 | # $NetBSD: Makefile,v 1.131 2023/12/11 20:51:28 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.132 2024/01/08 19:58:31 adam Exp $ |
2 | # | | 2 | # |
3 | # Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html | | 3 | # Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html |
4 | | | 4 | |
5 | DISTNAME= hypothesis-6.92.0 | | 5 | DISTNAME= hypothesis-6.92.5 |
6 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | | 6 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} |
7 | CATEGORIES= devel python | | 7 | CATEGORIES= devel python |
8 | MASTER_SITES= ${MASTER_SITE_PYPI:=h/hypothesis/} | | 8 | MASTER_SITES= ${MASTER_SITE_PYPI:=h/hypothesis/} |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= https://github.com/HypothesisWorks/hypothesis | | 11 | HOMEPAGE= https://github.com/HypothesisWorks/hypothesis |
12 | COMMENT= Python library for property based testing | | 12 | COMMENT= Python library for property based testing |
13 | LICENSE= mpl-2.0 | | 13 | LICENSE= mpl-2.0 |
14 | | | 14 | |
15 | TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools | | 15 | TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools |
16 | TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel | | 16 | TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel |
17 | DEPENDS+= ${PYPKGPREFIX}-attrs>=22.2.0:../../devel/py-attrs | | 17 | DEPENDS+= ${PYPKGPREFIX}-attrs>=22.2.0:../../devel/py-attrs |
18 | DEPENDS+= ${PYPKGPREFIX}-sortedcontainers>=2.1.0:../../devel/py-sortedcontainers | | 18 | DEPENDS+= ${PYPKGPREFIX}-sortedcontainers>=2.1.0:../../devel/py-sortedcontainers |
19 | | | 19 | |
20 | USE_LANGUAGES= # none | | 20 | USE_LANGUAGES= # none |
21 | | | 21 | |
22 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | | 22 | PYTHON_VERSIONS_INCOMPATIBLE= 27 |
23 | | | 23 | |
24 | .include "../../lang/python/pyversion.mk" | | 24 | .include "../../lang/python/pyversion.mk" |
25 | .if ${PYTHON_VERSION} < 311 | | 25 | .if ${PYTHON_VERSION} < 311 |
26 | DEPENDS+= ${PYPKGPREFIX}-exceptiongroup>=1.0.0:../../devel/py-exceptiongroup | | 26 | DEPENDS+= ${PYPKGPREFIX}-exceptiongroup>=1.0.0:../../devel/py-exceptiongroup |
27 | .endif | | 27 | .endif |
28 | | | 28 | |
29 | post-install: | | 29 | post-install: |
30 | cd ${DESTDIR}${PREFIX}/bin && \ | | 30 | cd ${DESTDIR}${PREFIX}/bin && \ |
31 | ${MV} hypothesis hypothesis-${PYVERSSUFFIX} || ${TRUE} | | 31 | ${MV} hypothesis hypothesis-${PYVERSSUFFIX} || ${TRUE} |
32 | | | 32 | |
33 | .include "../../lang/python/wheel.mk" | | 33 | .include "../../lang/python/wheel.mk" |
34 | .include "../../mk/bsd.pkg.mk" | | 34 | .include "../../mk/bsd.pkg.mk" |