summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1998-04-10 22:30:41 +0000
committertron <tron@pkgsrc.org>1998-04-10 22:30:41 +0000
commitd8620f79a913194fece26b3d136cec3f81da9cf6 (patch)
tree2b529640c7e9ef49785c6be780893be70e337507
parentfb2485543edfc9ee3854494597fd879f38c11f66 (diff)
downloadpkgsrc-d8620f79a913194fece26b3d136cec3f81da9cf6.tar.gz
New "py-Numeric-1.1" package made by Ty Sarna.
-rw-r--r--lang/py-Numeric/Makefile31
-rw-r--r--lang/py-Numeric/files/md51
-rw-r--r--lang/py-Numeric/patches/patch-aa17
-rw-r--r--lang/py-Numeric/patches/patch-ab18
-rw-r--r--lang/py-Numeric/pkg/COMMENT1
-rw-r--r--lang/py-Numeric/pkg/DESCR3
-rw-r--r--lang/py-Numeric/pkg/PLIST36
-rw-r--r--lang/py-Numeric/scripts/configure4
-rw-r--r--math/py-Numeric/Makefile31
-rw-r--r--math/py-Numeric/files/md51
-rw-r--r--math/py-Numeric/patches/patch-aa17
-rw-r--r--math/py-Numeric/patches/patch-ab18
-rw-r--r--math/py-Numeric/pkg/COMMENT1
-rw-r--r--math/py-Numeric/pkg/DESCR3
-rw-r--r--math/py-Numeric/pkg/PLIST36
-rw-r--r--math/py-Numeric/scripts/configure4
16 files changed, 222 insertions, 0 deletions
diff --git a/lang/py-Numeric/Makefile b/lang/py-Numeric/Makefile
new file mode 100644
index 00000000000..aeda80b08eb
--- /dev/null
+++ b/lang/py-Numeric/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: Numeric Python
+# Version required: 1.1
+# Date created: 18 March 1998
+# Whom: tsarna@endicor.com
+#
+# $NetBSD: Makefile,v 1.1 1998/04/10 22:30:41 tron Exp $
+
+DISTNAME= NumPy-11
+PKGNAME= py-Numeric-1.1
+CATEGORIES= math
+MASTER_SITES= ftp://ftp-icf.llnl.gov/pub/python/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= tsarna@endicor.com
+
+BUILD_DEPENDS= python:${PORTSDIR}/lang/python
+RUN_DEPENDS= python:${PORTSDIR}/lang/python
+
+WRKSRC= ${WRKDIR}/LLNLDistribution/Numerical
+ALL_TARGET= default
+
+.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "mips" || ${MACHINE_ARCH} == "alpha"
+IGNORE="Needs dynamic loading"
+.endif
+
+post-install:
+ (cd ${WRKSRC}/Lib ; \
+ python -O ${PREFIX}/lib/python1.5/compileall.py . ; \
+ ${INSTALL_DATA} *.py *.pyc *.pyo ${PREFIX}/lib/python1.5/site-packages)
+
+.include <bsd.port.mk>
diff --git a/lang/py-Numeric/files/md5 b/lang/py-Numeric/files/md5
new file mode 100644
index 00000000000..92e2eb9f77c
--- /dev/null
+++ b/lang/py-Numeric/files/md5
@@ -0,0 +1 @@
+MD5 (NumPy-11.tgz) = c6ad8ba18ea6dd8836e6374bb2dd2a0d
diff --git a/lang/py-Numeric/patches/patch-aa b/lang/py-Numeric/patches/patch-aa
new file mode 100644
index 00000000000..2c0479906de
--- /dev/null
+++ b/lang/py-Numeric/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1 1998/04/10 22:30:41 tron Exp $
+
+Turn LLNL's compile script into a configure script :-)
+
+ -- tsarna@endicor.com, 18 March 1998
+
+--- ../Tools/compile.py.orig Tue Mar 17 23:28:14 1998
++++ ../Tools/compile.py Tue Mar 17 23:28:14 1998
+@@ -632,7 +632,7 @@
+
+ compileall.compile_dir(".")
+ os.system("make -f Makefile.pre.in boot")
+- os.system("make")
++# os.system("make")
+
+ if sys.platform == 'win32':
+ swig_found = find_swig()
diff --git a/lang/py-Numeric/patches/patch-ab b/lang/py-Numeric/patches/patch-ab
new file mode 100644
index 00000000000..040d9f31a4d
--- /dev/null
+++ b/lang/py-Numeric/patches/patch-ab
@@ -0,0 +1,18 @@
+$NetBSD: patch-ab,v 1.1 1998/04/10 22:30:41 tron Exp $
+
+The trailing space after the shared line breaks makesetup due to a bug
+in NetBSD 1.3[.1] /bin/sh. It's fixed in current. See PR#4805 for
+details.
+
+ -- tsarna@endicor.com, 18 March 1998
+
+--- Setup.orig Wed Mar 18 01:19:04 1998
++++ Setup Wed Mar 18 01:19:04 1998
+@@ -1,6 +1,6 @@
+ #This file is designed for building a dynamic extension.
+ #See README for detailed build instructions.
+-*shared*
++*shared*
+
+ # The array and ufunc object implementation
+ #[VC50]cpp_options = cpp_options + ' /Tp '
diff --git a/lang/py-Numeric/pkg/COMMENT b/lang/py-Numeric/pkg/COMMENT
new file mode 100644
index 00000000000..18d3011c388
--- /dev/null
+++ b/lang/py-Numeric/pkg/COMMENT
@@ -0,0 +1 @@
+Adds multidemensional numeric arrays to Python.
diff --git a/lang/py-Numeric/pkg/DESCR b/lang/py-Numeric/pkg/DESCR
new file mode 100644
index 00000000000..9380e78b01e
--- /dev/null
+++ b/lang/py-Numeric/pkg/DESCR
@@ -0,0 +1,3 @@
+NumPy (Numeric Python) is a collection of extension modules to provide
+high-performance multidimensional numeric arrays to the Python
+programming language.
diff --git a/lang/py-Numeric/pkg/PLIST b/lang/py-Numeric/pkg/PLIST
new file mode 100644
index 00000000000..01eadf0316f
--- /dev/null
+++ b/lang/py-Numeric/pkg/PLIST
@@ -0,0 +1,36 @@
+@comment $NetBSD: PLIST,v 1.1 1998/04/10 22:30:41 tron Exp $
+lib/python1.5/site-packages/_numpymodule.so
+lib/python1.5/site-packages/multiarraymodule.so
+lib/python1.5/site-packages/fast_umathmodule.so
+lib/python1.5/site-packages/umathmodule.so
+lib/python1.5/site-packages/fftpack.so
+lib/python1.5/site-packages/lapack_lite.so
+lib/python1.5/site-packages/ranlib.so
+lib/python1.5/site-packages/ArrayPrinter.py
+lib/python1.5/site-packages/ArrayPrinter.pyc
+lib/python1.5/site-packages/ArrayPrinter.pyo
+lib/python1.5/site-packages/FFT.py
+lib/python1.5/site-packages/FFT.pyc
+lib/python1.5/site-packages/FFT.pyo
+lib/python1.5/site-packages/LinearAlgebra.py
+lib/python1.5/site-packages/LinearAlgebra.pyc
+lib/python1.5/site-packages/LinearAlgebra.pyo
+lib/python1.5/site-packages/MLab.py
+lib/python1.5/site-packages/MLab.pyc
+lib/python1.5/site-packages/MLab.pyo
+lib/python1.5/site-packages/Matrix.py
+lib/python1.5/site-packages/Matrix.pyc
+lib/python1.5/site-packages/Matrix.pyo
+lib/python1.5/site-packages/Numeric.py
+lib/python1.5/site-packages/Numeric.pyc
+lib/python1.5/site-packages/Numeric.pyo
+lib/python1.5/site-packages/Precision.py
+lib/python1.5/site-packages/Precision.pyc
+lib/python1.5/site-packages/Precision.pyo
+lib/python1.5/site-packages/RandomArray.py
+lib/python1.5/site-packages/RandomArray.pyc
+lib/python1.5/site-packages/RandomArray.pyo
+lib/python1.5/site-packages/UserArray.py
+lib/python1.5/site-packages/UserArray.pyc
+lib/python1.5/site-packages/UserArray.pyo
+@dirrm lib/python1.5/site-packages
diff --git a/lang/py-Numeric/scripts/configure b/lang/py-Numeric/scripts/configure
new file mode 100644
index 00000000000..699023338f6
--- /dev/null
+++ b/lang/py-Numeric/scripts/configure
@@ -0,0 +1,4 @@
+#!/bin/sh
+# $NetBSD: configure,v 1.1 1998/04/10 22:30:42 tron Exp $
+
+(cd $WRKSRC; $PREFIX/bin/python ../Tools/compile.py)
diff --git a/math/py-Numeric/Makefile b/math/py-Numeric/Makefile
new file mode 100644
index 00000000000..aeda80b08eb
--- /dev/null
+++ b/math/py-Numeric/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: Numeric Python
+# Version required: 1.1
+# Date created: 18 March 1998
+# Whom: tsarna@endicor.com
+#
+# $NetBSD: Makefile,v 1.1 1998/04/10 22:30:41 tron Exp $
+
+DISTNAME= NumPy-11
+PKGNAME= py-Numeric-1.1
+CATEGORIES= math
+MASTER_SITES= ftp://ftp-icf.llnl.gov/pub/python/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= tsarna@endicor.com
+
+BUILD_DEPENDS= python:${PORTSDIR}/lang/python
+RUN_DEPENDS= python:${PORTSDIR}/lang/python
+
+WRKSRC= ${WRKDIR}/LLNLDistribution/Numerical
+ALL_TARGET= default
+
+.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "mips" || ${MACHINE_ARCH} == "alpha"
+IGNORE="Needs dynamic loading"
+.endif
+
+post-install:
+ (cd ${WRKSRC}/Lib ; \
+ python -O ${PREFIX}/lib/python1.5/compileall.py . ; \
+ ${INSTALL_DATA} *.py *.pyc *.pyo ${PREFIX}/lib/python1.5/site-packages)
+
+.include <bsd.port.mk>
diff --git a/math/py-Numeric/files/md5 b/math/py-Numeric/files/md5
new file mode 100644
index 00000000000..92e2eb9f77c
--- /dev/null
+++ b/math/py-Numeric/files/md5
@@ -0,0 +1 @@
+MD5 (NumPy-11.tgz) = c6ad8ba18ea6dd8836e6374bb2dd2a0d
diff --git a/math/py-Numeric/patches/patch-aa b/math/py-Numeric/patches/patch-aa
new file mode 100644
index 00000000000..2c0479906de
--- /dev/null
+++ b/math/py-Numeric/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1 1998/04/10 22:30:41 tron Exp $
+
+Turn LLNL's compile script into a configure script :-)
+
+ -- tsarna@endicor.com, 18 March 1998
+
+--- ../Tools/compile.py.orig Tue Mar 17 23:28:14 1998
++++ ../Tools/compile.py Tue Mar 17 23:28:14 1998
+@@ -632,7 +632,7 @@
+
+ compileall.compile_dir(".")
+ os.system("make -f Makefile.pre.in boot")
+- os.system("make")
++# os.system("make")
+
+ if sys.platform == 'win32':
+ swig_found = find_swig()
diff --git a/math/py-Numeric/patches/patch-ab b/math/py-Numeric/patches/patch-ab
new file mode 100644
index 00000000000..040d9f31a4d
--- /dev/null
+++ b/math/py-Numeric/patches/patch-ab
@@ -0,0 +1,18 @@
+$NetBSD: patch-ab,v 1.1 1998/04/10 22:30:41 tron Exp $
+
+The trailing space after the shared line breaks makesetup due to a bug
+in NetBSD 1.3[.1] /bin/sh. It's fixed in current. See PR#4805 for
+details.
+
+ -- tsarna@endicor.com, 18 March 1998
+
+--- Setup.orig Wed Mar 18 01:19:04 1998
++++ Setup Wed Mar 18 01:19:04 1998
+@@ -1,6 +1,6 @@
+ #This file is designed for building a dynamic extension.
+ #See README for detailed build instructions.
+-*shared*
++*shared*
+
+ # The array and ufunc object implementation
+ #[VC50]cpp_options = cpp_options + ' /Tp '
diff --git a/math/py-Numeric/pkg/COMMENT b/math/py-Numeric/pkg/COMMENT
new file mode 100644
index 00000000000..18d3011c388
--- /dev/null
+++ b/math/py-Numeric/pkg/COMMENT
@@ -0,0 +1 @@
+Adds multidemensional numeric arrays to Python.
diff --git a/math/py-Numeric/pkg/DESCR b/math/py-Numeric/pkg/DESCR
new file mode 100644
index 00000000000..9380e78b01e
--- /dev/null
+++ b/math/py-Numeric/pkg/DESCR
@@ -0,0 +1,3 @@
+NumPy (Numeric Python) is a collection of extension modules to provide
+high-performance multidimensional numeric arrays to the Python
+programming language.
diff --git a/math/py-Numeric/pkg/PLIST b/math/py-Numeric/pkg/PLIST
new file mode 100644
index 00000000000..01eadf0316f
--- /dev/null
+++ b/math/py-Numeric/pkg/PLIST
@@ -0,0 +1,36 @@
+@comment $NetBSD: PLIST,v 1.1 1998/04/10 22:30:41 tron Exp $
+lib/python1.5/site-packages/_numpymodule.so
+lib/python1.5/site-packages/multiarraymodule.so
+lib/python1.5/site-packages/fast_umathmodule.so
+lib/python1.5/site-packages/umathmodule.so
+lib/python1.5/site-packages/fftpack.so
+lib/python1.5/site-packages/lapack_lite.so
+lib/python1.5/site-packages/ranlib.so
+lib/python1.5/site-packages/ArrayPrinter.py
+lib/python1.5/site-packages/ArrayPrinter.pyc
+lib/python1.5/site-packages/ArrayPrinter.pyo
+lib/python1.5/site-packages/FFT.py
+lib/python1.5/site-packages/FFT.pyc
+lib/python1.5/site-packages/FFT.pyo
+lib/python1.5/site-packages/LinearAlgebra.py
+lib/python1.5/site-packages/LinearAlgebra.pyc
+lib/python1.5/site-packages/LinearAlgebra.pyo
+lib/python1.5/site-packages/MLab.py
+lib/python1.5/site-packages/MLab.pyc
+lib/python1.5/site-packages/MLab.pyo
+lib/python1.5/site-packages/Matrix.py
+lib/python1.5/site-packages/Matrix.pyc
+lib/python1.5/site-packages/Matrix.pyo
+lib/python1.5/site-packages/Numeric.py
+lib/python1.5/site-packages/Numeric.pyc
+lib/python1.5/site-packages/Numeric.pyo
+lib/python1.5/site-packages/Precision.py
+lib/python1.5/site-packages/Precision.pyc
+lib/python1.5/site-packages/Precision.pyo
+lib/python1.5/site-packages/RandomArray.py
+lib/python1.5/site-packages/RandomArray.pyc
+lib/python1.5/site-packages/RandomArray.pyo
+lib/python1.5/site-packages/UserArray.py
+lib/python1.5/site-packages/UserArray.pyc
+lib/python1.5/site-packages/UserArray.pyo
+@dirrm lib/python1.5/site-packages
diff --git a/math/py-Numeric/scripts/configure b/math/py-Numeric/scripts/configure
new file mode 100644
index 00000000000..699023338f6
--- /dev/null
+++ b/math/py-Numeric/scripts/configure
@@ -0,0 +1,4 @@
+#!/bin/sh
+# $NetBSD: configure,v 1.1 1998/04/10 22:30:42 tron Exp $
+
+(cd $WRKSRC; $PREFIX/bin/python ../Tools/compile.py)