retire py-Numeric which has been replaced by py-numpy
ok kmos kn
This commit is contained in:
parent
1ec5612c68
commit
efb76aed8e
@ -1,26 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.29 2019/07/12 20:47:46 sthen Exp $
|
||||
|
||||
COMMENT= fast array facility to the Python language
|
||||
|
||||
VERSION= 23.1
|
||||
DISTNAME= Numeric-${VERSION}
|
||||
PKGNAME= py-${DISTNAME}
|
||||
REVISION = 9
|
||||
CATEGORIES= math
|
||||
|
||||
HOMEPAGE= http://people.csail.mit.edu/jrennie/python/numeric/
|
||||
|
||||
# Python License
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
WANTLIB += ${MODPY_WANTLIB}
|
||||
WANTLIB += m pthread
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=numpy/}
|
||||
|
||||
MODULES= lang/python
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC}/Test && ${MODPY_BIN} -i test.py
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (Numeric-23.1.tar.gz) = pkQF9ClhXimBtvN8Fwiv6WxNo8FFIluYtyZs80E19Rs=
|
||||
SIZE (Numeric-23.1.tar.gz) = 724051
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-Src_multiarraymodule_c,v 1.1 2003/10/21 19:51:50 sturm Exp $
|
||||
--- Src/multiarraymodule.c.orig 2003-10-20 20:45:07.000000000 +0200
|
||||
+++ Src/multiarraymodule.c 2003-10-20 20:45:13.000000000 +0200
|
||||
@@ -1524,7 +1524,7 @@ static PyObject *array_set_string_functi
|
||||
}
|
||||
|
||||
static struct PyMethodDef array_module_methods[] = {
|
||||
- {"set_string_function", array_set_string_function, METH_VARARGS|METH_KEYWORDS, doc_set_string_function},
|
||||
+ {"set_string_function", (PyCFunction)array_set_string_function, METH_VARARGS|METH_KEYWORDS, doc_set_string_function},
|
||||
|
||||
{"array", (PyCFunction)array_array, METH_VARARGS|METH_KEYWORDS, doc_array},
|
||||
{"arange", (PyCFunction)array_arange, METH_VARARGS|METH_KEYWORDS, doc_arange},
|
@ -1,22 +0,0 @@
|
||||
$OpenBSD: patch-Test_test_py,v 1.1 2003/10/21 19:51:50 sturm Exp $
|
||||
--- Test/test.py.orig 2003-08-07 03:24:11.000000000 +1000
|
||||
+++ Test/test.py 2003-08-12 02:53:26.000000000 +1000
|
||||
@@ -1,3 +1,7 @@
|
||||
+import sys
|
||||
+import distutils.util
|
||||
+sys.path.append("../lib.%s-%s" % (distutils.util.get_platform(), sys.version[0:3]))
|
||||
+
|
||||
import unittest, types, math
|
||||
import Numeric
|
||||
|
||||
@@ -163,7 +167,9 @@ class BasicNumericTestCase (unittest.Tes
|
||||
assert eq(x - y, [0, 0, 3, 3, 6, 3])
|
||||
assert eq(x * y, [1, 4, 0, 8, 10, 18])
|
||||
assert eq(y / x, [1, 1, 0, 0, 0, 0])
|
||||
- assert eq(y // x, [1, 1, 0, 0, 0, 0])
|
||||
+ # We can't test floor division with python 2.1
|
||||
+ # (this unit test didn't check it properly anyway)
|
||||
+ #assert eq(y // x, [1, 1, 0, 0, 0, 0])
|
||||
assert eq(x**2, [1, 4, 9, 16, 25, 36])
|
||||
|
||||
def testComparisons (self):
|
@ -1,3 +0,0 @@
|
||||
Numarray is a reimplementation of Numeric which adds the ability
|
||||
to efficiently manipulate large numeric arrays in ways similar to
|
||||
Matlab and IDL. This module is released under the Python License.
|
@ -1,51 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.5 2004/09/15 09:12:00 espie Exp $
|
||||
include/python${MODPY_VERSION}/Numeric/
|
||||
include/python${MODPY_VERSION}/Numeric/arrayobject.h
|
||||
include/python${MODPY_VERSION}/Numeric/f2c.h
|
||||
include/python${MODPY_VERSION}/Numeric/ranlib.h
|
||||
include/python${MODPY_VERSION}/Numeric/ufuncobject.h
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric.pth
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/ArrayPrinter.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/ArrayPrinter.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/FFT/
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/FFT/FFT.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/FFT/FFT.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/FFT/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/FFT/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/FFT/fftpack.so
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/LinearAlgebra.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/LinearAlgebra.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/MA/
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/MA/MA.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/MA/MA.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/MA/MA_version.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/MA/MA_version.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/MA/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/MA/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/MLab.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/MLab.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/Matrix.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/Matrix.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/Numeric.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/Numeric.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/Precision.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/Precision.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/RNG/
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/RNG/RNG.so
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/RNG/Statistics.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/RNG/Statistics.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/RNG/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/RNG/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/RandomArray.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/RandomArray.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/UserArray.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/UserArray.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/_numpy.so
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/arrayfns.so
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/lapack_lite.so
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/multiarray.so
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/numeric_version.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/numeric_version.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/ranlib.so
|
||||
lib/python${MODPY_VERSION}/site-packages/Numeric/umath.so
|
Loading…
x
Reference in New Issue
Block a user