Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/py-numpy16 math/py-numpy16: Restrict to python 2.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/80cbefe6a632
branches:  trunk
changeset: 435538:80cbefe6a632
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Thu Jul 09 00:47:40 2020 +0000

description:
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:

 math/py-numpy16/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 290439b64b0c -r 80cbefe6a632 math/py-numpy16/Makefile
--- a/math/py-numpy16/Makefile  Wed Jul 08 19:06:33 2020 +0000
+++ b/math/py-numpy16/Makefile  Thu Jul 09 00:47:40 2020 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index