summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2020-07-09 00:47:40 +0000
committergdt <gdt@pkgsrc.org>2020-07-09 00:47:40 +0000
commit9ea0bda0852fa856533eb5a33ad0c1982920d0a1 (patch)
tree031d0b7dfcaa336c70dfb835462aca560ff58df2 /math
parent8aac6adc909c0a57be203d716c4458f40a0e17c9 (diff)
downloadpkgsrc-9ea0bda0852fa856533eb5a33ad0c1982920d0a1.tar.gz
math/py-numpy16: Restrict to python 2.7
This package only exists to accomodate programs (e.g. gnuradio) which have not yet updated to python3. Therefore, only allow numpy16 for python2.7. (I believe there are zero py37-numpy16 users, and if so, that should be discussed to understand why.)
Diffstat (limited to 'math')
-rw-r--r--math/py-numpy16/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/math/py-numpy16/Makefile b/math/py-numpy16/Makefile
index 64a204749f3..0c4d66d72c5 100644
--- a/math/py-numpy16/Makefile
+++ b/math/py-numpy16/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/05/17 18:57:26 adam Exp $
+# $NetBSD: Makefile,v 1.3 2020/07/09 00:47:40 gdt Exp $
DISTNAME= numpy-1.16.6
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -11,6 +11,10 @@ HOMEPAGE= http://www.numpy.org/
COMMENT= Array processing for numbers, strings, records, and objects
LICENSE= modified-bsd
+# While this builds wtih 3, the package only exists to accomodate
+# things that requuire python2.7.
+PYTHON_VERSIONS_ACCEPTED= 27
+
TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
PYTHON_VERSIONED_DEPENDENCIES= test:test