diff options
Diffstat (limited to 'math')
-rw-r--r-- | math/Makefile | 3 | ||||
-rw-r--r-- | math/py-Numeric/DESCR | 18 | ||||
-rw-r--r-- | math/py-Numeric/Makefile | 23 | ||||
-rw-r--r-- | math/py-Numeric/PLIST | 70 | ||||
-rw-r--r-- | math/py-Numeric/buildlink3.mk | 15 | ||||
-rw-r--r-- | math/py-Numeric/distinfo | 8 | ||||
-rw-r--r-- | math/py-Numeric/patches/patch-aa | 15 | ||||
-rw-r--r-- | math/py-Numeric/patches/patch-ac | 21 | ||||
-rw-r--r-- | math/py-Numeric/patches/patch-setup.py | 59 |
9 files changed, 1 insertions, 231 deletions
diff --git a/math/Makefile b/math/Makefile index 14396710fc2..505abee3274 100644 --- a/math/Makefile +++ b/math/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.542 2022/04/23 14:24:39 mef Exp $ +# $NetBSD: Makefile,v 1.543 2022/04/24 17:34:08 adam Exp $ COMMENT= Mathematics @@ -364,7 +364,6 @@ SUBDIR+= prng SUBDIR+= pspp SUBDIR+= py-Keras-Applications SUBDIR+= py-Keras-Preprocessing -SUBDIR+= py-Numeric SUBDIR+= py-Theano SUBDIR+= py-abcpmc SUBDIR+= py-almost diff --git a/math/py-Numeric/DESCR b/math/py-Numeric/DESCR deleted file mode 100644 index 49491b70c71..00000000000 --- a/math/py-Numeric/DESCR +++ /dev/null @@ -1,18 +0,0 @@ -The Numeric Extensions to Python (NumPy) give Python the number crunching -power of numeric languages like Matlab and IDL while maintaining all of the -advantages of the general-purpose programming language Python. - -These extensions add two new object types to Python, and then include a -number of extensions that take advantage of these two new objects. - - * Multidimensional Array Objects - + Efficient arrays of homogeneous machine types - + Arbitrary number of dimensions - + Sophisticated structural operations - * Universal Function Objects - + Supports mathematical functions on all python objects - + Very efficient for Array Objects - * Simple interfaces to existing numerical libraries: - + Linear Algebra (LAPACK) - + Fourier Transforms (FFTPACK) - + Random Numbers (RANLIB) diff --git a/math/py-Numeric/Makefile b/math/py-Numeric/Makefile deleted file mode 100644 index 2df1a34fa9a..00000000000 --- a/math/py-Numeric/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -# $NetBSD: Makefile,v 1.61 2022/01/10 08:43:23 wiz Exp $ - -DISTNAME= Numeric-24.2 -PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 2 -CATEGORIES= math python -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=numpy/} - -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://www.numpy.org/ -COMMENT= Adds multidimensional numeric arrays to Python - -PYSETUP= setup.py -PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 24.2 - -PLIST_VARS+= blas -.if exists(/System/Library/Frameworks/vecLib.framework) -BUILDLINK_PASSTHRU_DIRS+= /System/Library/Frameworks/vecLib.framework/Headers -PLIST.blas= yes -.endif - -.include "../../lang/python/egg.mk" -.include "../../mk/bsd.pkg.mk" diff --git a/math/py-Numeric/PLIST b/math/py-Numeric/PLIST deleted file mode 100644 index f68dc6c78ea..00000000000 --- a/math/py-Numeric/PLIST +++ /dev/null @@ -1,70 +0,0 @@ -@comment $NetBSD: PLIST,v 1.12 2022/01/14 17:52:00 wiz Exp $ -${PYINC}/Numeric/arrayobject.h -${PYINC}/Numeric/f2c.h -${PYINC}/Numeric/ranlib.h -${PYINC}/Numeric/ufuncobject.h -${PYSITELIB}/Numeric.pth -${PYSITELIB}/Numeric/ArrayPrinter.py -${PYSITELIB}/Numeric/ArrayPrinter.pyc -${PYSITELIB}/Numeric/ArrayPrinter.pyo -${PYSITELIB}/Numeric/FFT/FFT.py -${PYSITELIB}/Numeric/FFT/FFT.pyc -${PYSITELIB}/Numeric/FFT/FFT.pyo -${PYSITELIB}/Numeric/FFT/__init__.py -${PYSITELIB}/Numeric/FFT/__init__.pyc -${PYSITELIB}/Numeric/FFT/__init__.pyo -${PYSITELIB}/Numeric/FFT/fftpack.so -${PYSITELIB}/Numeric/LinearAlgebra.py -${PYSITELIB}/Numeric/LinearAlgebra.pyc -${PYSITELIB}/Numeric/LinearAlgebra.pyo -${PYSITELIB}/Numeric/MA/MA.py -${PYSITELIB}/Numeric/MA/MA.pyc -${PYSITELIB}/Numeric/MA/MA.pyo -${PYSITELIB}/Numeric/MA/MA_version.py -${PYSITELIB}/Numeric/MA/MA_version.pyc -${PYSITELIB}/Numeric/MA/MA_version.pyo -${PYSITELIB}/Numeric/MA/__init__.py -${PYSITELIB}/Numeric/MA/__init__.pyc -${PYSITELIB}/Numeric/MA/__init__.pyo -${PYSITELIB}/Numeric/MLab.py -${PYSITELIB}/Numeric/MLab.pyc -${PYSITELIB}/Numeric/MLab.pyo -${PYSITELIB}/Numeric/Matrix.py -${PYSITELIB}/Numeric/Matrix.pyc -${PYSITELIB}/Numeric/Matrix.pyo -${PYSITELIB}/Numeric/${EGG_INFODIR} -${PYSITELIB}/Numeric/Numeric_headers/__init__.py -${PYSITELIB}/Numeric/Numeric_headers/__init__.pyc -${PYSITELIB}/Numeric/Numeric_headers/__init__.pyo -${PYSITELIB}/Numeric/Numeric.py -${PYSITELIB}/Numeric/Numeric.pyc -${PYSITELIB}/Numeric/Numeric.pyo -${PYSITELIB}/Numeric/Precision.py -${PYSITELIB}/Numeric/Precision.pyc -${PYSITELIB}/Numeric/Precision.pyo -${PYSITELIB}/Numeric/RNG/RNG.so -${PYSITELIB}/Numeric/RNG/Statistics.py -${PYSITELIB}/Numeric/RNG/Statistics.pyc -${PYSITELIB}/Numeric/RNG/Statistics.pyo -${PYSITELIB}/Numeric/RNG/__init__.py -${PYSITELIB}/Numeric/RNG/__init__.pyc -${PYSITELIB}/Numeric/RNG/__init__.pyo -${PYSITELIB}/Numeric/RandomArray.py -${PYSITELIB}/Numeric/RandomArray.pyc -${PYSITELIB}/Numeric/RandomArray.pyo -${PYSITELIB}/Numeric/UserArray.py -${PYSITELIB}/Numeric/UserArray.pyc -${PYSITELIB}/Numeric/UserArray.pyo -${PLIST.blas}${PYSITELIB}/Numeric/_dotblas.so -${PYSITELIB}/Numeric/_numpy.so -${PYSITELIB}/Numeric/arrayfns.so -${PLIST.blas}${PYSITELIB}/Numeric/dotblas/__init__.py -${PLIST.blas}${PYSITELIB}/Numeric/dotblas/__init__.pyc -${PLIST.blas}${PYSITELIB}/Numeric/dotblas/__init__.pyo -${PYSITELIB}/Numeric/lapack_lite.so -${PYSITELIB}/Numeric/multiarray.so -${PYSITELIB}/Numeric/numeric_version.py -${PYSITELIB}/Numeric/numeric_version.pyc -${PYSITELIB}/Numeric/numeric_version.pyo -${PYSITELIB}/Numeric/ranlib.so -${PYSITELIB}/Numeric/umath.so diff --git a/math/py-Numeric/buildlink3.mk b/math/py-Numeric/buildlink3.mk deleted file mode 100644 index 2134896ad4a..00000000000 --- a/math/py-Numeric/buildlink3.mk +++ /dev/null @@ -1,15 +0,0 @@ -# $NetBSD: buildlink3.mk,v 1.16 2018/01/07 13:04:23 rillig Exp $ - -BUILDLINK_TREE+= pynumeric - -.if !defined(PY_NUMERIC_BUILDLINK3_MK) -PY_NUMERIC_BUILDLINK3_MK:= - -.include "../../lang/python/pyversion.mk" - -BUILDLINK_API_DEPENDS.pynumeric+= ${PYPKGPREFIX}-Numeric-[0-9]* -BUILDLINK_ABI_DEPENDS.pynumeric+= ${PYPKGPREFIX}-Numeric>=23.7nb1 -BUILDLINK_PKGSRCDIR.pynumeric?= ../../math/py-Numeric -.endif # PY_NUMERIC_BUILDLINK3_MK - -BUILDLINK_TREE+= -pynumeric diff --git a/math/py-Numeric/distinfo b/math/py-Numeric/distinfo deleted file mode 100644 index 3247750ee13..00000000000 --- a/math/py-Numeric/distinfo +++ /dev/null @@ -1,8 +0,0 @@ -$NetBSD: distinfo,v 1.19 2021/10/26 10:55:59 nia Exp $ - -BLAKE2s (Numeric-24.2.tar.gz) = 6b090a5ac9f67b8ad92d8b22a1292a2f5195970afc70ae7869c6ee8ddf39b3d7 -SHA512 (Numeric-24.2.tar.gz) = 3735060e72f4252a191daafdf55a813bbb8b6b07088f6c7970a769a2bc18af760e4041081b287b51e685fdba4bc16c6018f999ed83afb230f9a6bb94d176a7a3 -Size (Numeric-24.2.tar.gz) = 743800 bytes -SHA1 (patch-aa) = 31920706522b5730644da8191e0c1c8191d4add1 -SHA1 (patch-ac) = 45ca40e38123dc72ec42b3775b2401c0037674c0 -SHA1 (patch-setup.py) = a7dab66b75c2bb5a75e8d841ef2ebe15d8b7176c diff --git a/math/py-Numeric/patches/patch-aa b/math/py-Numeric/patches/patch-aa deleted file mode 100644 index 9ede8b7ceed..00000000000 --- a/math/py-Numeric/patches/patch-aa +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-aa,v 1.8 2006/07/02 10:28:50 rillig Exp $ - ---- Src/umathmodule.c.orig Sat Aug 2 01:10:09 2003 -+++ Src/umathmodule.c Sat Aug 2 01:10:43 2003 -@@ -1,9 +1,9 @@ - -+#include <math.h> - #include "Python.h" - #include "Numeric/arrayobject.h" - #include "Numeric/ufuncobject.h" - #include "abstract.h" --#include <math.h> - - #ifndef CHAR_BIT - #define CHAR_BIT 8 diff --git a/math/py-Numeric/patches/patch-ac b/math/py-Numeric/patches/patch-ac deleted file mode 100644 index ce93bdc5253..00000000000 --- a/math/py-Numeric/patches/patch-ac +++ /dev/null @@ -1,21 +0,0 @@ -$NetBSD: patch-ac,v 1.3 2006/02/15 17:37:08 drochner Exp $ - ---- Packages/RNG/Src/ranf.c.orig 2005-04-03 14:23:06.000000000 +0200 -+++ Packages/RNG/Src/ranf.c -@@ -148,12 +148,16 @@ void Mixranf(int *s,u32 s48[2]) - s48[1] = (u32)clock_time; - #else - struct timeval tv; -+#if 0 - struct timezone tz; - #if !defined(__sgi) - int gettimeofday(struct timeval *, struct timezone *); - #endif - - (void)gettimeofday(&tv,&tz); -+#else -+ (void)gettimeofday(&tv,0); -+#endif - s48[0] = (u32)tv.tv_sec; - s48[1] = (u32)tv.tv_usec; - #endif /* !_WIN32 */ diff --git a/math/py-Numeric/patches/patch-setup.py b/math/py-Numeric/patches/patch-setup.py deleted file mode 100644 index ad182795929..00000000000 --- a/math/py-Numeric/patches/patch-setup.py +++ /dev/null @@ -1,59 +0,0 @@ -$NetBSD: patch-setup.py,v 1.1 2015/01/27 05:04:06 dbj Exp $ - ---- setup.py.orig 2005-11-11 08:56:59.000000000 +0000 -+++ setup.py -@@ -15,12 +15,8 @@ if not hasattr(sys, 'version_info') or s - raise SystemExit, "Python 2.0 or later required to build Numeric." - - from glob import glob --try: -- from setuptools import setup -- have_setuptools = 1 --except ImportError: -- from distutils.core import setup -- have_setuptools = 0 -+from distutils.core import setup -+have_setuptools = 0 - from distutils.core import Extension - from distutils.command.config import config - from distutils.sysconfig import get_config_var, customize_compiler -@@ -128,10 +124,10 @@ elif sys.platform in ['mac', 'beos5']: - if os.path.isfile(os.path.join("Src","config.h")): - extra_compile_args.append('-DHAVE_CONFIG') - --# For Mac OS X >= 10.2, an optimized BLAS and most of LAPACK (all the -+# For Mac OS X >= 10.3, an optimized BLAS and most of LAPACK (all the - # routines we need, at least) should already be installed --VECLIB_PATH = '/System/Library/Frameworks/vecLib.framework' --have_veclib = os.path.exists(VECLIB_PATH) -+ACCELERATE_PATH = '/System/Library/Frameworks/Accelerate.framework' -+have_accelerate = os.path.exists(ACCELERATE_PATH) - - def extension(name, sources, **kw): - def prepend(name, value, kw=kw): -@@ -146,8 +142,8 @@ lapack_source = [path('Src/lapack_litemo - lapack_link_args = customize.lapack_extra_link_args - if customize.use_system_lapack: - pass --elif have_veclib: -- lapack_link_args.extend(['-framework', 'vecLib']) -+elif have_accelerate: -+ lapack_link_args.extend(['-framework', 'Accelerate']) - else: - lapack_source.extend([path('Src/f2c_lite.c'), - path('Src/zlapack_lite.c'), -@@ -172,11 +168,10 @@ if customize.use_dotblas: - customize.dotblas_cblas_header)], - extra_link_args=customize.dotblas_extra_link_args, - ) --elif have_veclib: -+elif have_accelerate: - dotblas_ext = extension('_dotblas', dotblas_source, -- include_dirs=[os.path.join(VECLIB_PATH, 'Headers')], -- define_macros=[('CBLAS_HEADER', '<cblas.h>')], -- extra_link_args=['-framework', 'vecLib'], -+ define_macros=[('CBLAS_HEADER', '<Accelerate/Accelerate.h>')], -+ extra_link_args=['-framework', 'Accelerate'], - ) - else: - dotblas_ext = None |