mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Upgrade to 16.0.
Some parts (patch-Makefile, Makefile mods) taken from a patch set submitted by sobomax.
This commit is contained in:
parent
d0e0b8fd75
commit
d2de905d16
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32247
@ -6,27 +6,37 @@
|
||||
#
|
||||
|
||||
PORTNAME= numeric
|
||||
PORTVERSION= 15.3
|
||||
PORTVERSION= 16.0
|
||||
CATEGORIES= math python
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= numpy
|
||||
PKGNAMEPREFIX= py-
|
||||
DISTNAME= Numerical-${PORTVERSION}
|
||||
EXTRACT_SUFX= .tgz
|
||||
DISTNAME= Numeric-${PORTVERSION}
|
||||
|
||||
MAINTAINER= tg@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/python1.5/site-packages/distutils/core.py:${PORTSDIR}/misc/py-distutils
|
||||
BUILD_DEPENDS= python:${PORTSDIR}/lang/python \
|
||||
${PYDISTUTILS}
|
||||
LIB_DEPENDS= lapack.3:${PORTSDIR}/math/lapack \
|
||||
blas.2:${PORTSDIR}/math/lapack
|
||||
RUN_DEPENDS= python:${PORTSDIR}/lang/python
|
||||
|
||||
MAKE_ENV= BLASLIBDIR=${LOCALBASE}/lib LAPACKLIBDIR=${LOCALBASE}/lib
|
||||
PLIST_SUB= PYVERSION="python${PYVERSION}"
|
||||
|
||||
DOCDIR= ${PREFIX}/share/doc/py-numeric
|
||||
EXAMPLEDIR= ${PREFIX}/share/examples/py-numeric
|
||||
PYVERSION!= python -c 'import string, sys; \
|
||||
print string.split(sys.version)[0][:3]' \
|
||||
|| echo "1.5"
|
||||
|
||||
do-build:
|
||||
@(cd ${WRKSRC}; python setup.py build)
|
||||
.if ${PYVERSION} == "2.0"
|
||||
PYDISTUTILS= ${LOCALBASE}/lib/python${PYVERSION}/distutils/core.py:${PORTSDIR}/lang/python
|
||||
.else
|
||||
PYDISTUTILS= ${LOCALBASE}/lib/python${PYVERSION}/site-packages/distutils/core.py:${PORTSDIR}/misc/py-distutils
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@(cd ${WRKSRC}; python setup.py install)
|
||||
post-install:
|
||||
@${MKDIR} ${EXAMPLEDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Demo/*.py ${EXAMPLEDIR}
|
||||
@${MKDIR} ${EXAMPLEDIR}/NumTut
|
||||
|
@ -1 +1 @@
|
||||
MD5 (Numerical-15.3.tgz) = 717b48135295952a176bcc1f72c8e12b
|
||||
MD5 (Numeric-16.0.tar.gz) = 0627665fd87a3b8bc77bced7c62db4fa
|
||||
|
25
math/numpy/files/patch-Makefile
Normal file
25
math/numpy/files/patch-Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
--- Makefile 2000/08/31 17:23:34 1.1
|
||||
+++ Makefile 2000/08/31 17:35:38
|
||||
@@ -5,8 +5,20 @@
|
||||
@echo "Currently that is:"
|
||||
@which python
|
||||
|
||||
-all: MA RNG FFT
|
||||
+all:: main MA RNG FFT
|
||||
+
|
||||
+main:
|
||||
+ python setup.py build
|
||||
|
||||
MA RNG FFT:
|
||||
- (cd Packages/$@; python setup.py install)
|
||||
+ (cd Packages/$@; mkdir -p Include ; ln -sf ../../../Include Include/Numeric; python setup.py build)
|
||||
+
|
||||
+install:: main_install MA_install RNG_install FFT_install
|
||||
+
|
||||
+main_install:
|
||||
+ python setup.py install
|
||||
+
|
||||
+MA_install RNG_install FFT_install:
|
||||
+ (cd Packages/${@:S/_install//}; python setup.py install)
|
||||
+
|
||||
|
23
math/numpy/files/patch-setup.py
Normal file
23
math/numpy/files/patch-setup.py
Normal file
@ -0,0 +1,23 @@
|
||||
--- setup.py.orig Mon Aug 28 13:49:52 2000
|
||||
+++ setup.py Thu Aug 31 17:48:46 2000
|
||||
@@ -21,9 +21,17 @@
|
||||
|
||||
|
||||
# Locate the directories in which the BLAS and LAPACK are located.
|
||||
-# if you know where they are, put it here:
|
||||
-BLASLIBDIR = None
|
||||
-LAPACKLIBDIR = None
|
||||
+# if you know where they are, pass them via your environment or edit
|
||||
+# the except: case.
|
||||
+try:
|
||||
+ BLASLIBDIR = os.environ['BLASLIBDIR']
|
||||
+except KeyError:
|
||||
+ BLASLIBDIR = None
|
||||
+try:
|
||||
+ LAPACKLIBDIR = os.environ['LAPACKLIBDIR']
|
||||
+except KeyError:
|
||||
+ LAPACKLIBDIR = None
|
||||
+
|
||||
# places to look and what to look for
|
||||
POSSIBLE_DIRECTORIES = ['/usr/local/lib', '/usr/lib', 'lapack_lite']
|
||||
if sys.platform == 'win32':
|
@ -1,36 +1,41 @@
|
||||
include/python1.5/Numeric/arrayobject.h
|
||||
include/python1.5/Numeric/f2c.h
|
||||
include/python1.5/Numeric/fftpack.h
|
||||
include/python1.5/Numeric/ranlib.h
|
||||
include/python1.5/Numeric/ufuncobject.h
|
||||
lib/python1.5/site-packages/Numeric/_numpy.so
|
||||
lib/python1.5/site-packages/Numeric/ArrayPrinter.py
|
||||
lib/python1.5/site-packages/Numeric/ArrayPrinter.pyc
|
||||
lib/python1.5/site-packages/Numeric/FFT.py
|
||||
lib/python1.5/site-packages/Numeric/FFT.pyc
|
||||
lib/python1.5/site-packages/Numeric/LinearAlgebra.py
|
||||
lib/python1.5/site-packages/Numeric/LinearAlgebra.pyc
|
||||
lib/python1.5/site-packages/Numeric/MA.py
|
||||
lib/python1.5/site-packages/Numeric/MA.pyc
|
||||
lib/python1.5/site-packages/Numeric/MLab.py
|
||||
lib/python1.5/site-packages/Numeric/MLab.pyc
|
||||
lib/python1.5/site-packages/Numeric/Matrix.py
|
||||
lib/python1.5/site-packages/Numeric/Matrix.pyc
|
||||
lib/python1.5/site-packages/Numeric/Numeric.py
|
||||
lib/python1.5/site-packages/Numeric/Numeric.pyc
|
||||
lib/python1.5/site-packages/Numeric/Precision.py
|
||||
lib/python1.5/site-packages/Numeric/Precision.pyc
|
||||
lib/python1.5/site-packages/Numeric/RandomArray.py
|
||||
lib/python1.5/site-packages/Numeric/RandomArray.pyc
|
||||
lib/python1.5/site-packages/Numeric/UserArray.py
|
||||
lib/python1.5/site-packages/Numeric/UserArray.pyc
|
||||
lib/python1.5/site-packages/Numeric/arrayfns.so
|
||||
lib/python1.5/site-packages/Numeric/fftpack.so
|
||||
lib/python1.5/site-packages/Numeric/lapack_lite.so
|
||||
lib/python1.5/site-packages/Numeric/multiarray.so
|
||||
lib/python1.5/site-packages/Numeric/ranlib.so
|
||||
lib/python1.5/site-packages/Numeric/umath.so
|
||||
lib/python1.5/site-packages/Numeric.pth
|
||||
include/%%PYVERSION%%/Numeric/arrayobject.h
|
||||
include/%%PYVERSION%%/Numeric/ranlib.h
|
||||
include/%%PYVERSION%%/Numeric/ufuncobject.h
|
||||
lib/%%PYVERSION%%/site-packages/FFT/FFT.py
|
||||
lib/%%PYVERSION%%/site-packages/FFT/FFT.pyc
|
||||
lib/%%PYVERSION%%/site-packages/MA/MA.py
|
||||
lib/%%PYVERSION%%/site-packages/MA/MA.pyc
|
||||
lib/%%PYVERSION%%/site-packages/MA/__init__.py
|
||||
lib/%%PYVERSION%%/site-packages/MA/__init__.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric.pth
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/ArrayPrinter.py
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/ArrayPrinter.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/LinearAlgebra.py
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/LinearAlgebra.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/MLab.py
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/MLab.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/Matrix.py
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/Matrix.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/Numeric.py
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/Numeric.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/Precision.py
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/Precision.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/RandomArray.py
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/RandomArray.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/UserArray.py
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/UserArray.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/_numpy.so
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/arrayfns.so
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/lapack_lite.so
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/multiarray.so
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/ranlib.so
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/umath.so
|
||||
lib/%%PYVERSION%%/site-packages/RNG/RNG.so
|
||||
lib/%%PYVERSION%%/site-packages/RNG/Statistics.py
|
||||
lib/%%PYVERSION%%/site-packages/RNG/Statistics.pyc
|
||||
lib/%%PYVERSION%%/site-packages/RNG/__init__.py
|
||||
lib/%%PYVERSION%%/site-packages/RNG/__init__.pyc
|
||||
lib/%%PYVERSION%%/site-packages/fftpack.so
|
||||
@unexec rmdir %B 2>/dev/null || true
|
||||
@comment share/doc/py-numeric/numpy.pdf
|
||||
share/examples/py-numeric/NumTut/__init__.py
|
||||
@ -41,8 +46,11 @@ share/examples/py-numeric/NumTut/view.py
|
||||
share/examples/py-numeric/life.py
|
||||
share/examples/py-numeric/mandelbrot.py
|
||||
share/examples/py-numeric/sieve.py
|
||||
@dirrm lib/python1.5/site-packages/Numeric
|
||||
@dirrm share/examples/py-numeric/NumTut
|
||||
@dirrm share/examples/py-numeric
|
||||
@comment @dirrm share/doc/py-numeric
|
||||
@dirrm include/python1.5/Numeric
|
||||
@dirrm lib/%%PYVERSION%%/site-packages/RNG
|
||||
@dirrm lib/%%PYVERSION%%/site-packages/Numeric
|
||||
@dirrm lib/%%PYVERSION%%/site-packages/MA
|
||||
@dirrm lib/%%PYVERSION%%/site-packages/FFT
|
||||
@dirrm include/%%PYVERSION%%/Numeric
|
||||
|
@ -6,27 +6,37 @@
|
||||
#
|
||||
|
||||
PORTNAME= numeric
|
||||
PORTVERSION= 15.3
|
||||
PORTVERSION= 16.0
|
||||
CATEGORIES= math python
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= numpy
|
||||
PKGNAMEPREFIX= py-
|
||||
DISTNAME= Numerical-${PORTVERSION}
|
||||
EXTRACT_SUFX= .tgz
|
||||
DISTNAME= Numeric-${PORTVERSION}
|
||||
|
||||
MAINTAINER= tg@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/python1.5/site-packages/distutils/core.py:${PORTSDIR}/misc/py-distutils
|
||||
BUILD_DEPENDS= python:${PORTSDIR}/lang/python \
|
||||
${PYDISTUTILS}
|
||||
LIB_DEPENDS= lapack.3:${PORTSDIR}/math/lapack \
|
||||
blas.2:${PORTSDIR}/math/lapack
|
||||
RUN_DEPENDS= python:${PORTSDIR}/lang/python
|
||||
|
||||
MAKE_ENV= BLASLIBDIR=${LOCALBASE}/lib LAPACKLIBDIR=${LOCALBASE}/lib
|
||||
PLIST_SUB= PYVERSION="python${PYVERSION}"
|
||||
|
||||
DOCDIR= ${PREFIX}/share/doc/py-numeric
|
||||
EXAMPLEDIR= ${PREFIX}/share/examples/py-numeric
|
||||
PYVERSION!= python -c 'import string, sys; \
|
||||
print string.split(sys.version)[0][:3]' \
|
||||
|| echo "1.5"
|
||||
|
||||
do-build:
|
||||
@(cd ${WRKSRC}; python setup.py build)
|
||||
.if ${PYVERSION} == "2.0"
|
||||
PYDISTUTILS= ${LOCALBASE}/lib/python${PYVERSION}/distutils/core.py:${PORTSDIR}/lang/python
|
||||
.else
|
||||
PYDISTUTILS= ${LOCALBASE}/lib/python${PYVERSION}/site-packages/distutils/core.py:${PORTSDIR}/misc/py-distutils
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@(cd ${WRKSRC}; python setup.py install)
|
||||
post-install:
|
||||
@${MKDIR} ${EXAMPLEDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Demo/*.py ${EXAMPLEDIR}
|
||||
@${MKDIR} ${EXAMPLEDIR}/NumTut
|
||||
|
@ -1 +1 @@
|
||||
MD5 (Numerical-15.3.tgz) = 717b48135295952a176bcc1f72c8e12b
|
||||
MD5 (Numeric-16.0.tar.gz) = 0627665fd87a3b8bc77bced7c62db4fa
|
||||
|
25
math/py-numeric/files/patch-Makefile
Normal file
25
math/py-numeric/files/patch-Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
--- Makefile 2000/08/31 17:23:34 1.1
|
||||
+++ Makefile 2000/08/31 17:35:38
|
||||
@@ -5,8 +5,20 @@
|
||||
@echo "Currently that is:"
|
||||
@which python
|
||||
|
||||
-all: MA RNG FFT
|
||||
+all:: main MA RNG FFT
|
||||
+
|
||||
+main:
|
||||
+ python setup.py build
|
||||
|
||||
MA RNG FFT:
|
||||
- (cd Packages/$@; python setup.py install)
|
||||
+ (cd Packages/$@; mkdir -p Include ; ln -sf ../../../Include Include/Numeric; python setup.py build)
|
||||
+
|
||||
+install:: main_install MA_install RNG_install FFT_install
|
||||
+
|
||||
+main_install:
|
||||
+ python setup.py install
|
||||
+
|
||||
+MA_install RNG_install FFT_install:
|
||||
+ (cd Packages/${@:S/_install//}; python setup.py install)
|
||||
+
|
||||
|
23
math/py-numeric/files/patch-setup.py
Normal file
23
math/py-numeric/files/patch-setup.py
Normal file
@ -0,0 +1,23 @@
|
||||
--- setup.py.orig Mon Aug 28 13:49:52 2000
|
||||
+++ setup.py Thu Aug 31 17:48:46 2000
|
||||
@@ -21,9 +21,17 @@
|
||||
|
||||
|
||||
# Locate the directories in which the BLAS and LAPACK are located.
|
||||
-# if you know where they are, put it here:
|
||||
-BLASLIBDIR = None
|
||||
-LAPACKLIBDIR = None
|
||||
+# if you know where they are, pass them via your environment or edit
|
||||
+# the except: case.
|
||||
+try:
|
||||
+ BLASLIBDIR = os.environ['BLASLIBDIR']
|
||||
+except KeyError:
|
||||
+ BLASLIBDIR = None
|
||||
+try:
|
||||
+ LAPACKLIBDIR = os.environ['LAPACKLIBDIR']
|
||||
+except KeyError:
|
||||
+ LAPACKLIBDIR = None
|
||||
+
|
||||
# places to look and what to look for
|
||||
POSSIBLE_DIRECTORIES = ['/usr/local/lib', '/usr/lib', 'lapack_lite']
|
||||
if sys.platform == 'win32':
|
@ -1,36 +1,41 @@
|
||||
include/python1.5/Numeric/arrayobject.h
|
||||
include/python1.5/Numeric/f2c.h
|
||||
include/python1.5/Numeric/fftpack.h
|
||||
include/python1.5/Numeric/ranlib.h
|
||||
include/python1.5/Numeric/ufuncobject.h
|
||||
lib/python1.5/site-packages/Numeric/_numpy.so
|
||||
lib/python1.5/site-packages/Numeric/ArrayPrinter.py
|
||||
lib/python1.5/site-packages/Numeric/ArrayPrinter.pyc
|
||||
lib/python1.5/site-packages/Numeric/FFT.py
|
||||
lib/python1.5/site-packages/Numeric/FFT.pyc
|
||||
lib/python1.5/site-packages/Numeric/LinearAlgebra.py
|
||||
lib/python1.5/site-packages/Numeric/LinearAlgebra.pyc
|
||||
lib/python1.5/site-packages/Numeric/MA.py
|
||||
lib/python1.5/site-packages/Numeric/MA.pyc
|
||||
lib/python1.5/site-packages/Numeric/MLab.py
|
||||
lib/python1.5/site-packages/Numeric/MLab.pyc
|
||||
lib/python1.5/site-packages/Numeric/Matrix.py
|
||||
lib/python1.5/site-packages/Numeric/Matrix.pyc
|
||||
lib/python1.5/site-packages/Numeric/Numeric.py
|
||||
lib/python1.5/site-packages/Numeric/Numeric.pyc
|
||||
lib/python1.5/site-packages/Numeric/Precision.py
|
||||
lib/python1.5/site-packages/Numeric/Precision.pyc
|
||||
lib/python1.5/site-packages/Numeric/RandomArray.py
|
||||
lib/python1.5/site-packages/Numeric/RandomArray.pyc
|
||||
lib/python1.5/site-packages/Numeric/UserArray.py
|
||||
lib/python1.5/site-packages/Numeric/UserArray.pyc
|
||||
lib/python1.5/site-packages/Numeric/arrayfns.so
|
||||
lib/python1.5/site-packages/Numeric/fftpack.so
|
||||
lib/python1.5/site-packages/Numeric/lapack_lite.so
|
||||
lib/python1.5/site-packages/Numeric/multiarray.so
|
||||
lib/python1.5/site-packages/Numeric/ranlib.so
|
||||
lib/python1.5/site-packages/Numeric/umath.so
|
||||
lib/python1.5/site-packages/Numeric.pth
|
||||
include/%%PYVERSION%%/Numeric/arrayobject.h
|
||||
include/%%PYVERSION%%/Numeric/ranlib.h
|
||||
include/%%PYVERSION%%/Numeric/ufuncobject.h
|
||||
lib/%%PYVERSION%%/site-packages/FFT/FFT.py
|
||||
lib/%%PYVERSION%%/site-packages/FFT/FFT.pyc
|
||||
lib/%%PYVERSION%%/site-packages/MA/MA.py
|
||||
lib/%%PYVERSION%%/site-packages/MA/MA.pyc
|
||||
lib/%%PYVERSION%%/site-packages/MA/__init__.py
|
||||
lib/%%PYVERSION%%/site-packages/MA/__init__.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric.pth
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/ArrayPrinter.py
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/ArrayPrinter.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/LinearAlgebra.py
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/LinearAlgebra.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/MLab.py
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/MLab.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/Matrix.py
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/Matrix.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/Numeric.py
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/Numeric.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/Precision.py
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/Precision.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/RandomArray.py
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/RandomArray.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/UserArray.py
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/UserArray.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/_numpy.so
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/arrayfns.so
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/lapack_lite.so
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/multiarray.so
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/ranlib.so
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/umath.so
|
||||
lib/%%PYVERSION%%/site-packages/RNG/RNG.so
|
||||
lib/%%PYVERSION%%/site-packages/RNG/Statistics.py
|
||||
lib/%%PYVERSION%%/site-packages/RNG/Statistics.pyc
|
||||
lib/%%PYVERSION%%/site-packages/RNG/__init__.py
|
||||
lib/%%PYVERSION%%/site-packages/RNG/__init__.pyc
|
||||
lib/%%PYVERSION%%/site-packages/fftpack.so
|
||||
@unexec rmdir %B 2>/dev/null || true
|
||||
@comment share/doc/py-numeric/numpy.pdf
|
||||
share/examples/py-numeric/NumTut/__init__.py
|
||||
@ -41,8 +46,11 @@ share/examples/py-numeric/NumTut/view.py
|
||||
share/examples/py-numeric/life.py
|
||||
share/examples/py-numeric/mandelbrot.py
|
||||
share/examples/py-numeric/sieve.py
|
||||
@dirrm lib/python1.5/site-packages/Numeric
|
||||
@dirrm share/examples/py-numeric/NumTut
|
||||
@dirrm share/examples/py-numeric
|
||||
@comment @dirrm share/doc/py-numeric
|
||||
@dirrm include/python1.5/Numeric
|
||||
@dirrm lib/%%PYVERSION%%/site-packages/RNG
|
||||
@dirrm lib/%%PYVERSION%%/site-packages/Numeric
|
||||
@dirrm lib/%%PYVERSION%%/site-packages/MA
|
||||
@dirrm lib/%%PYVERSION%%/site-packages/FFT
|
||||
@dirrm include/%%PYVERSION%%/Numeric
|
||||
|
@ -6,27 +6,37 @@
|
||||
#
|
||||
|
||||
PORTNAME= numeric
|
||||
PORTVERSION= 15.3
|
||||
PORTVERSION= 16.0
|
||||
CATEGORIES= math python
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= numpy
|
||||
PKGNAMEPREFIX= py-
|
||||
DISTNAME= Numerical-${PORTVERSION}
|
||||
EXTRACT_SUFX= .tgz
|
||||
DISTNAME= Numeric-${PORTVERSION}
|
||||
|
||||
MAINTAINER= tg@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/python1.5/site-packages/distutils/core.py:${PORTSDIR}/misc/py-distutils
|
||||
BUILD_DEPENDS= python:${PORTSDIR}/lang/python \
|
||||
${PYDISTUTILS}
|
||||
LIB_DEPENDS= lapack.3:${PORTSDIR}/math/lapack \
|
||||
blas.2:${PORTSDIR}/math/lapack
|
||||
RUN_DEPENDS= python:${PORTSDIR}/lang/python
|
||||
|
||||
MAKE_ENV= BLASLIBDIR=${LOCALBASE}/lib LAPACKLIBDIR=${LOCALBASE}/lib
|
||||
PLIST_SUB= PYVERSION="python${PYVERSION}"
|
||||
|
||||
DOCDIR= ${PREFIX}/share/doc/py-numeric
|
||||
EXAMPLEDIR= ${PREFIX}/share/examples/py-numeric
|
||||
PYVERSION!= python -c 'import string, sys; \
|
||||
print string.split(sys.version)[0][:3]' \
|
||||
|| echo "1.5"
|
||||
|
||||
do-build:
|
||||
@(cd ${WRKSRC}; python setup.py build)
|
||||
.if ${PYVERSION} == "2.0"
|
||||
PYDISTUTILS= ${LOCALBASE}/lib/python${PYVERSION}/distutils/core.py:${PORTSDIR}/lang/python
|
||||
.else
|
||||
PYDISTUTILS= ${LOCALBASE}/lib/python${PYVERSION}/site-packages/distutils/core.py:${PORTSDIR}/misc/py-distutils
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@(cd ${WRKSRC}; python setup.py install)
|
||||
post-install:
|
||||
@${MKDIR} ${EXAMPLEDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Demo/*.py ${EXAMPLEDIR}
|
||||
@${MKDIR} ${EXAMPLEDIR}/NumTut
|
||||
|
@ -1 +1 @@
|
||||
MD5 (Numerical-15.3.tgz) = 717b48135295952a176bcc1f72c8e12b
|
||||
MD5 (Numeric-16.0.tar.gz) = 0627665fd87a3b8bc77bced7c62db4fa
|
||||
|
25
math/py-numeric17/files/patch-Makefile
Normal file
25
math/py-numeric17/files/patch-Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
--- Makefile 2000/08/31 17:23:34 1.1
|
||||
+++ Makefile 2000/08/31 17:35:38
|
||||
@@ -5,8 +5,20 @@
|
||||
@echo "Currently that is:"
|
||||
@which python
|
||||
|
||||
-all: MA RNG FFT
|
||||
+all:: main MA RNG FFT
|
||||
+
|
||||
+main:
|
||||
+ python setup.py build
|
||||
|
||||
MA RNG FFT:
|
||||
- (cd Packages/$@; python setup.py install)
|
||||
+ (cd Packages/$@; mkdir -p Include ; ln -sf ../../../Include Include/Numeric; python setup.py build)
|
||||
+
|
||||
+install:: main_install MA_install RNG_install FFT_install
|
||||
+
|
||||
+main_install:
|
||||
+ python setup.py install
|
||||
+
|
||||
+MA_install RNG_install FFT_install:
|
||||
+ (cd Packages/${@:S/_install//}; python setup.py install)
|
||||
+
|
||||
|
23
math/py-numeric17/files/patch-setup.py
Normal file
23
math/py-numeric17/files/patch-setup.py
Normal file
@ -0,0 +1,23 @@
|
||||
--- setup.py.orig Mon Aug 28 13:49:52 2000
|
||||
+++ setup.py Thu Aug 31 17:48:46 2000
|
||||
@@ -21,9 +21,17 @@
|
||||
|
||||
|
||||
# Locate the directories in which the BLAS and LAPACK are located.
|
||||
-# if you know where they are, put it here:
|
||||
-BLASLIBDIR = None
|
||||
-LAPACKLIBDIR = None
|
||||
+# if you know where they are, pass them via your environment or edit
|
||||
+# the except: case.
|
||||
+try:
|
||||
+ BLASLIBDIR = os.environ['BLASLIBDIR']
|
||||
+except KeyError:
|
||||
+ BLASLIBDIR = None
|
||||
+try:
|
||||
+ LAPACKLIBDIR = os.environ['LAPACKLIBDIR']
|
||||
+except KeyError:
|
||||
+ LAPACKLIBDIR = None
|
||||
+
|
||||
# places to look and what to look for
|
||||
POSSIBLE_DIRECTORIES = ['/usr/local/lib', '/usr/lib', 'lapack_lite']
|
||||
if sys.platform == 'win32':
|
@ -1,36 +1,41 @@
|
||||
include/python1.5/Numeric/arrayobject.h
|
||||
include/python1.5/Numeric/f2c.h
|
||||
include/python1.5/Numeric/fftpack.h
|
||||
include/python1.5/Numeric/ranlib.h
|
||||
include/python1.5/Numeric/ufuncobject.h
|
||||
lib/python1.5/site-packages/Numeric/_numpy.so
|
||||
lib/python1.5/site-packages/Numeric/ArrayPrinter.py
|
||||
lib/python1.5/site-packages/Numeric/ArrayPrinter.pyc
|
||||
lib/python1.5/site-packages/Numeric/FFT.py
|
||||
lib/python1.5/site-packages/Numeric/FFT.pyc
|
||||
lib/python1.5/site-packages/Numeric/LinearAlgebra.py
|
||||
lib/python1.5/site-packages/Numeric/LinearAlgebra.pyc
|
||||
lib/python1.5/site-packages/Numeric/MA.py
|
||||
lib/python1.5/site-packages/Numeric/MA.pyc
|
||||
lib/python1.5/site-packages/Numeric/MLab.py
|
||||
lib/python1.5/site-packages/Numeric/MLab.pyc
|
||||
lib/python1.5/site-packages/Numeric/Matrix.py
|
||||
lib/python1.5/site-packages/Numeric/Matrix.pyc
|
||||
lib/python1.5/site-packages/Numeric/Numeric.py
|
||||
lib/python1.5/site-packages/Numeric/Numeric.pyc
|
||||
lib/python1.5/site-packages/Numeric/Precision.py
|
||||
lib/python1.5/site-packages/Numeric/Precision.pyc
|
||||
lib/python1.5/site-packages/Numeric/RandomArray.py
|
||||
lib/python1.5/site-packages/Numeric/RandomArray.pyc
|
||||
lib/python1.5/site-packages/Numeric/UserArray.py
|
||||
lib/python1.5/site-packages/Numeric/UserArray.pyc
|
||||
lib/python1.5/site-packages/Numeric/arrayfns.so
|
||||
lib/python1.5/site-packages/Numeric/fftpack.so
|
||||
lib/python1.5/site-packages/Numeric/lapack_lite.so
|
||||
lib/python1.5/site-packages/Numeric/multiarray.so
|
||||
lib/python1.5/site-packages/Numeric/ranlib.so
|
||||
lib/python1.5/site-packages/Numeric/umath.so
|
||||
lib/python1.5/site-packages/Numeric.pth
|
||||
include/%%PYVERSION%%/Numeric/arrayobject.h
|
||||
include/%%PYVERSION%%/Numeric/ranlib.h
|
||||
include/%%PYVERSION%%/Numeric/ufuncobject.h
|
||||
lib/%%PYVERSION%%/site-packages/FFT/FFT.py
|
||||
lib/%%PYVERSION%%/site-packages/FFT/FFT.pyc
|
||||
lib/%%PYVERSION%%/site-packages/MA/MA.py
|
||||
lib/%%PYVERSION%%/site-packages/MA/MA.pyc
|
||||
lib/%%PYVERSION%%/site-packages/MA/__init__.py
|
||||
lib/%%PYVERSION%%/site-packages/MA/__init__.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric.pth
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/ArrayPrinter.py
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/ArrayPrinter.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/LinearAlgebra.py
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/LinearAlgebra.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/MLab.py
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/MLab.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/Matrix.py
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/Matrix.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/Numeric.py
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/Numeric.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/Precision.py
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/Precision.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/RandomArray.py
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/RandomArray.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/UserArray.py
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/UserArray.pyc
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/_numpy.so
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/arrayfns.so
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/lapack_lite.so
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/multiarray.so
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/ranlib.so
|
||||
lib/%%PYVERSION%%/site-packages/Numeric/umath.so
|
||||
lib/%%PYVERSION%%/site-packages/RNG/RNG.so
|
||||
lib/%%PYVERSION%%/site-packages/RNG/Statistics.py
|
||||
lib/%%PYVERSION%%/site-packages/RNG/Statistics.pyc
|
||||
lib/%%PYVERSION%%/site-packages/RNG/__init__.py
|
||||
lib/%%PYVERSION%%/site-packages/RNG/__init__.pyc
|
||||
lib/%%PYVERSION%%/site-packages/fftpack.so
|
||||
@unexec rmdir %B 2>/dev/null || true
|
||||
@comment share/doc/py-numeric/numpy.pdf
|
||||
share/examples/py-numeric/NumTut/__init__.py
|
||||
@ -41,8 +46,11 @@ share/examples/py-numeric/NumTut/view.py
|
||||
share/examples/py-numeric/life.py
|
||||
share/examples/py-numeric/mandelbrot.py
|
||||
share/examples/py-numeric/sieve.py
|
||||
@dirrm lib/python1.5/site-packages/Numeric
|
||||
@dirrm share/examples/py-numeric/NumTut
|
||||
@dirrm share/examples/py-numeric
|
||||
@comment @dirrm share/doc/py-numeric
|
||||
@dirrm include/python1.5/Numeric
|
||||
@dirrm lib/%%PYVERSION%%/site-packages/RNG
|
||||
@dirrm lib/%%PYVERSION%%/site-packages/Numeric
|
||||
@dirrm lib/%%PYVERSION%%/site-packages/MA
|
||||
@dirrm lib/%%PYVERSION%%/site-packages/FFT
|
||||
@dirrm include/%%PYVERSION%%/Numeric
|
||||
|
Loading…
Reference in New Issue
Block a user