blob: 022a64f5c33d1ec7a9a4badb32cfea1cc2ed96f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.115 2022/11/14 08:33:57 adam Exp $
#
# Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html
DISTNAME= hypothesis-6.57.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=h/hypothesis/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/HypothesisWorks/hypothesis
COMMENT= Python library for property based testing
LICENSE= mpl-2.0
DEPENDS+= ${PYPKGPREFIX}-attrs>=19.2.0:../../devel/py-attrs
DEPENDS+= ${PYPKGPREFIX}-sortedcontainers>=2.1.0:../../devel/py-sortedcontainers
USE_LANGUAGES= # none
USE_PKG_RESOURCES= yes
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} != 311
DEPENDS+= ${PYPKGPREFIX}-exceptiongroup>=1.0.0:../../devel/py-exceptiongroup
.endif
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} hypothesis hypothesis-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|