diff options
author | drochner <drochner@pkgsrc.org> | 2001-05-14 16:22:35 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2001-05-14 16:22:35 +0000 |
commit | c8124ca977bd5c829566c6e6174611dc6d51decc (patch) | |
tree | ca3c50873ca24dd7fe9510f3383a5801ec5bbae4 /math/py-Numeric | |
parent | 52bc4f9c70cd1412da350979380f903982ad6fd8 (diff) | |
download | pkgsrc-c8124ca977bd5c829566c6e6174611dc6d51decc.tar.gz |
use USE_PYTHON
Diffstat (limited to 'math/py-Numeric')
-rw-r--r-- | math/py-Numeric/Makefile | 25 | ||||
-rw-r--r-- | math/py-Numeric/files/printpypath.py | 5 |
2 files changed, 5 insertions, 25 deletions
diff --git a/math/py-Numeric/Makefile b/math/py-Numeric/Makefile index e02e8072c49..ddc2b9617d4 100644 --- a/math/py-Numeric/Makefile +++ b/math/py-Numeric/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2001/04/09 11:50:51 drochner Exp $ +# $NetBSD: Makefile,v 1.21 2001/05/14 16:22:35 drochner Exp $ DISTNAME= Numeric-19.0.0 PKGNAME= py-Numeric-19.0.0 @@ -9,24 +9,9 @@ MAINTAINER= tsarna@netbsd.org HOMEPAGE= http://numpy.sourceforge.net/ COMMENT= Adds multidimensional numeric arrays to Python -DEPENDS+= python>=2.0:../../lang/python - -.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "mips" || ${MACHINE_ARCH} == "vax" -IGNORE="${PKGNAME} needs dynamic loading" -.endif - -PLIST_SRC= ${WRKDIR}/.PLIST_SRC -EVAL_PREFIX+= PYPREFIX=python - -do-build: - (cd ${WRKSRC} && ${PYPREFIX}/bin/python setup_all.py build) - -post-build: - (eval `${PYPREFIX}/bin/python ${FILESDIR}/printpypath.py` && \ - ${SED} "s|PYINC|$${PYINC}|g;s|PYSITELIB|$${PYSITELIB}|g" \ - <${PKGDIR}/PLIST >${PLIST_SRC}) - -do-install: - (cd ${WRKSRC} && ${PYPREFIX}/bin/python setup_all.py install) +USE_PYTHON= yes +PYDISTUTILSPKG= yes +PYBINMODULE= yes +PYSETUP= setup_all.py .include "../../mk/bsd.pkg.mk" diff --git a/math/py-Numeric/files/printpypath.py b/math/py-Numeric/files/printpypath.py deleted file mode 100644 index aa53572f19c..00000000000 --- a/math/py-Numeric/files/printpypath.py +++ /dev/null @@ -1,5 +0,0 @@ -from distutils.sysconfig import get_python_inc -from distutils.sysconfig import get_python_lib - -print "PYINC=" + get_python_inc(0, "") -print "PYSITELIB=" + get_python_lib(0, 0, "") |