Tue Mar 14 07:12:10 2023 UTC ()
py-numpy16: Catch up with py-numpy renaming.


(jperkin)
diff -r1.11 -r1.12 pkgsrc/math/py-numpy16/Makefile

cvs diff -r1.11 -r1.12 pkgsrc/math/py-numpy16/Makefile (expand / switch to unified diff)

--- pkgsrc/math/py-numpy16/Makefile 2022/11/06 13:31:01 1.11
+++ pkgsrc/math/py-numpy16/Makefile 2023/03/14 07:12:09 1.12
@@ -1,39 +1,39 @@ @@ -1,39 +1,39 @@
1# $NetBSD: Makefile,v 1.11 2022/11/06 13:31:01 gdt Exp $ 1# $NetBSD: Makefile,v 1.12 2023/03/14 07:12:09 jperkin Exp $
2 2
3DISTNAME= numpy-1.16.6 3DISTNAME= numpy-1.16.6
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5PKGREVISION= 5 5PKGREVISION= 5
6CATEGORIES= math python 6CATEGORIES= math python
7MASTER_SITES= ${MASTER_SITE_PYPI:=n/numpy/} 7MASTER_SITES= ${MASTER_SITE_PYPI:=n/numpy/}
8EXTRACT_SUFX= .zip 8EXTRACT_SUFX= .zip
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://www.numpy.org/ 11HOMEPAGE= http://www.numpy.org/
12COMMENT= Array processing for numbers, strings, records, and objects 12COMMENT= Array processing for numbers, strings, records, and objects
13LICENSE= modified-bsd 13LICENSE= modified-bsd
14 14
15# This package only exists to accomodate Python 2.7 and 3.7. 15# This package only exists to accomodate Python 2.7 and 3.7.
16PYTHON_VERSIONS_ACCEPTED= 27 16PYTHON_VERSIONS_ACCEPTED= 27
17 17
18TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose 18TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
19 19
20PYTHON_VERSIONED_DEPENDENCIES= test:test 20PYTHON_VERSIONED_DEPENDENCIES= test:test
21 21
22USE_PKG_RESOURCES= yes 22USE_PKG_RESOURCES= yes
23 23
24USE_LANGUAGES= c fortran 24USE_LANGUAGES= c fortran
25 25
26.include "../../math/py-numpy/Makefile.make_env" 26.include "../../math/py-numpy/make_env.mk"
27 27
28REPLACE_PYTHON+= *.py */*.py */*/*.py */*/*/*.py */*/*/*/*.py 28REPLACE_PYTHON+= *.py */*.py */*/*.py */*/*/*.py */*/*/*/*.py
29 29
30# XXX Avoid picking up other compilers when installed 30# XXX Avoid picking up other compilers when installed
31.include "../../mk/compiler.mk" 31.include "../../mk/compiler.mk"
32 32
33.if defined(PKGSRC_FORTRAN) && ${PKGSRC_FORTRAN} == "g95" 33.if defined(PKGSRC_FORTRAN) && ${PKGSRC_FORTRAN} == "g95"
34PYSETUPBUILDARGS+= --fcompiler=g95 34PYSETUPBUILDARGS+= --fcompiler=g95
35.elif defined(PKGSRC_FORTRAN) && ${PKGSRC_FORTRAN} == "gfortran" 35.elif defined(PKGSRC_FORTRAN) && ${PKGSRC_FORTRAN} == "gfortran"
36PYSETUPBUILDARGS+= --fcompiler=gnu95 36PYSETUPBUILDARGS+= --fcompiler=gnu95
37.elif !empty(PKGSRC_COMPILER:Mgcc) 37.elif !empty(PKGSRC_COMPILER:Mgcc)
38PYSETUPBUILDARGS+= --fcompiler=gnu 38PYSETUPBUILDARGS+= --fcompiler=gnu
39.endif 39.endif