pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math Added py-numpy16 - the last version to support Py...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c0db5b5e60ce
branches:  trunk
changeset: 428402:c0db5b5e60ce
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Apr 27 16:52:55 2020 +0000

description:
Added py-numpy16 - the last version to support Python 2.7

diffstat:

 math/Makefile                                                           |    3 +-
 math/py-numpy16/ALTERNATIVES                                            |    1 +
 math/py-numpy16/DESCR                                                   |    9 +
 math/py-numpy16/Makefile                                                |   60 +
 math/py-numpy16/PLIST                                                   |  869 ++++++++++
 math/py-numpy16/patches/patch-numpy_distutils_fcompiler_____init____.py |   15 +
 math/py-numpy16/patches/patch-numpy_distutils_fcompiler_g95.py          |   19 +
 math/py-numpy16/patches/patch-numpy_distutils_fcompiler_gnu.py          |   84 +
 math/py-numpy16/patches/patch-numpy_distutils_system__info.py           |   30 +
 math/py-numpy16/patches/patch-numpy_linalg_lapack__litemodule.c         |   15 +
 10 files changed, 1104 insertions(+), 1 deletions(-)

diffs (truncated from 1155 to 300 lines):

diff -r 8b56ac19c608 -r c0db5b5e60ce math/Makefile
--- a/math/Makefile     Mon Apr 27 16:32:09 2020 +0000
+++ b/math/Makefile     Mon Apr 27 16:52:55 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.458 2020/03/13 07:47:52 plunky Exp $
+# $NetBSD: Makefile,v 1.459 2020/04/27 16:52:55 adam Exp $
 
 COMMENT=       Mathematics
 
@@ -346,6 +346,7 @@
 SUBDIR+=       py-numba
 SUBDIR+=       py-numexpr
 SUBDIR+=       py-numpy
+SUBDIR+=       py-numpy16
 SUBDIR+=       py-pandas
 SUBDIR+=       py-pandas-datareader
 SUBDIR+=       py-patsy
diff -r 8b56ac19c608 -r c0db5b5e60ce math/py-numpy16/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/py-numpy16/ALTERNATIVES      Mon Apr 27 16:52:55 2020 +0000
@@ -0,0 +1,1 @@
+bin/f2py @PREFIX@/bin/f2py@PYVERSSUFFIX@
diff -r 8b56ac19c608 -r c0db5b5e60ce math/py-numpy16/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/py-numpy16/DESCR     Mon Apr 27 16:52:55 2020 +0000
@@ -0,0 +1,9 @@
+NumPy is a general-purpose array-processing package designed to
+efficiently manipulate large multi-dimensional arrays of arbitrary
+records without sacrificing too much speed for small multi-dimensional
+arrays.  NumPy is built on the Numeric code base and adds features
+introduced by numarray as well as an extended C-API and the ability to
+create arrays of arbitrary type.
+
+There are also basic facilities for discrete fourier transform,
+basic linear algebra and random number generation.
diff -r 8b56ac19c608 -r c0db5b5e60ce math/py-numpy16/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/py-numpy16/Makefile  Mon Apr 27 16:52:55 2020 +0000
@@ -0,0 +1,60 @@
+# $NetBSD: Makefile,v 1.1 2020/04/27 16:52:55 adam Exp $
+
+DISTNAME=      numpy-1.16.6
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    math python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=n/numpy/}
+EXTRACT_SUFX=  .zip
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.numpy.org/
+COMMENT=       Array processing for numbers, strings, records, and objects
+LICENSE=       modified-bsd
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+USE_LANGUAGES=         c fortran
+MAKE_ENV+=             ATLAS=None
+
+REPLACE_PYTHON+=       *.py */*.py */*/*.py */*/*/*.py */*/*/*/*.py
+
+# XXX Avoid picking up other compilers when installed
+.include "../../mk/compiler.mk"
+
+.if defined(PKGSRC_FORTRAN) && ${PKGSRC_FORTRAN} == "g95"
+PYSETUPBUILDARGS+=     --fcompiler=g95
+.elif defined(PKGSRC_FORTRAN) && ${PKGSRC_FORTRAN} == "gfortran"
+PYSETUPBUILDARGS+=     --fcompiler=gnu95
+.elif !empty(PKGSRC_COMPILER:Mgcc)
+PYSETUPBUILDARGS+=     --fcompiler=gnu
+.endif
+
+# This package bypasses the wrappers and calls the compilers directly when
+# linking, so ensure that we pass through requisite options.
+LDFLAGS+=              ${_COMPILER_ABI_FLAG.${ABI}}
+
+.include "../../mk/bsd.prefs.mk"
+
+# numpy fails using the gold linker with:
+# fatal error: --sysroot=: must take a non-empty argument
+# Work around it on DragonFly by specifying the classic gnu linker
+MAKE_ENV.DragonFly+=   LDVER=ld.bfd
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && ${RM} f2py || ${TRUE}
+
+do-test:
+       cd ${WRKDIR} && \
+       ${RUN} PYTHONPATH=${DESTDIR}${PREFIX}/${PYSITELIB} ${PYTHONBIN} -c "import numpy; numpy.test()"
+
+BUILDLINK_API_DEPENDS.py-cython+=      ${PYPKGPREFIX}-cython>=0.29.2
+.include "../../devel/py-cython/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
+.if ${OPSYS} != "Darwin"
+# blas and lapack are not needed; numpy will use Accelerate.framework
+.include "../../math/blas/buildlink3.mk"
+.include "../../math/lapack/buildlink3.mk"
+.endif
+.include "../../mk/bsd.pkg.mk"
diff -r 8b56ac19c608 -r c0db5b5e60ce math/py-numpy16/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/py-numpy16/PLIST     Mon Apr 27 16:52:55 2020 +0000
@@ -0,0 +1,869 @@
+@comment $NetBSD: PLIST,v 1.1 2020/04/27 16:52:55 adam Exp $
+bin/f2py${PYVERSSUFFIX}
+${PLIST.py2x}bin/f2py2
+${PLIST.py3x}bin/f2py3
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/numpy/LICENSE.txt
+${PYSITELIB}/numpy/__config__.py
+${PYSITELIB}/numpy/__config__.pyc
+${PYSITELIB}/numpy/__config__.pyo
+${PYSITELIB}/numpy/__init__.py
+${PYSITELIB}/numpy/__init__.pyc
+${PYSITELIB}/numpy/__init__.pyo
+${PYSITELIB}/numpy/_distributor_init.py
+${PYSITELIB}/numpy/_distributor_init.pyc
+${PYSITELIB}/numpy/_distributor_init.pyo
+${PYSITELIB}/numpy/_globals.py
+${PYSITELIB}/numpy/_globals.pyc
+${PYSITELIB}/numpy/_globals.pyo
+${PYSITELIB}/numpy/_pytesttester.py
+${PYSITELIB}/numpy/_pytesttester.pyc
+${PYSITELIB}/numpy/_pytesttester.pyo
+${PYSITELIB}/numpy/compat/__init__.py
+${PYSITELIB}/numpy/compat/__init__.pyc
+${PYSITELIB}/numpy/compat/__init__.pyo
+${PYSITELIB}/numpy/compat/_inspect.py
+${PYSITELIB}/numpy/compat/_inspect.pyc
+${PYSITELIB}/numpy/compat/_inspect.pyo
+${PYSITELIB}/numpy/compat/py3k.py
+${PYSITELIB}/numpy/compat/py3k.pyc
+${PYSITELIB}/numpy/compat/py3k.pyo
+${PYSITELIB}/numpy/compat/setup.py
+${PYSITELIB}/numpy/compat/setup.pyc
+${PYSITELIB}/numpy/compat/setup.pyo
+${PYSITELIB}/numpy/compat/tests/__init__.py
+${PYSITELIB}/numpy/compat/tests/test_compat.py
+${PYSITELIB}/numpy/conftest.py
+${PYSITELIB}/numpy/conftest.pyc
+${PYSITELIB}/numpy/conftest.pyo
+${PYSITELIB}/numpy/core/__init__.py
+${PYSITELIB}/numpy/core/__init__.pyc
+${PYSITELIB}/numpy/core/__init__.pyo
+${PYSITELIB}/numpy/core/_add_newdocs.py
+${PYSITELIB}/numpy/core/_add_newdocs.pyc
+${PYSITELIB}/numpy/core/_add_newdocs.pyo
+${PYSITELIB}/numpy/core/_aliased_types.py
+${PYSITELIB}/numpy/core/_aliased_types.pyc
+${PYSITELIB}/numpy/core/_aliased_types.pyo
+${PYSITELIB}/numpy/core/_dtype.py
+${PYSITELIB}/numpy/core/_dtype.pyc
+${PYSITELIB}/numpy/core/_dtype.pyo
+${PYSITELIB}/numpy/core/_dtype_ctypes.py
+${PYSITELIB}/numpy/core/_dtype_ctypes.pyc
+${PYSITELIB}/numpy/core/_dtype_ctypes.pyo
+${PYSITELIB}/numpy/core/_dummy.so
+${PYSITELIB}/numpy/core/_internal.py
+${PYSITELIB}/numpy/core/_internal.pyc
+${PYSITELIB}/numpy/core/_internal.pyo
+${PYSITELIB}/numpy/core/_methods.py
+${PYSITELIB}/numpy/core/_methods.pyc
+${PYSITELIB}/numpy/core/_methods.pyo
+${PYSITELIB}/numpy/core/_multiarray_tests.so
+${PYSITELIB}/numpy/core/_multiarray_umath.so
+${PYSITELIB}/numpy/core/_operand_flag_tests.so
+${PYSITELIB}/numpy/core/_rational_tests.so
+${PYSITELIB}/numpy/core/_string_helpers.py
+${PYSITELIB}/numpy/core/_string_helpers.pyc
+${PYSITELIB}/numpy/core/_string_helpers.pyo
+${PYSITELIB}/numpy/core/_struct_ufunc_tests.so
+${PYSITELIB}/numpy/core/_type_aliases.py
+${PYSITELIB}/numpy/core/_type_aliases.pyc
+${PYSITELIB}/numpy/core/_type_aliases.pyo
+${PYSITELIB}/numpy/core/_umath_tests.so
+${PYSITELIB}/numpy/core/arrayprint.py
+${PYSITELIB}/numpy/core/arrayprint.pyc
+${PYSITELIB}/numpy/core/arrayprint.pyo
+${PYSITELIB}/numpy/core/cversions.py
+${PYSITELIB}/numpy/core/cversions.pyc
+${PYSITELIB}/numpy/core/cversions.pyo
+${PYSITELIB}/numpy/core/defchararray.py
+${PYSITELIB}/numpy/core/defchararray.pyc
+${PYSITELIB}/numpy/core/defchararray.pyo
+${PYSITELIB}/numpy/core/einsumfunc.py
+${PYSITELIB}/numpy/core/einsumfunc.pyc
+${PYSITELIB}/numpy/core/einsumfunc.pyo
+${PYSITELIB}/numpy/core/fromnumeric.py
+${PYSITELIB}/numpy/core/fromnumeric.pyc
+${PYSITELIB}/numpy/core/fromnumeric.pyo
+${PYSITELIB}/numpy/core/function_base.py
+${PYSITELIB}/numpy/core/function_base.pyc
+${PYSITELIB}/numpy/core/function_base.pyo
+${PYSITELIB}/numpy/core/generate_numpy_api.py
+${PYSITELIB}/numpy/core/generate_numpy_api.pyc
+${PYSITELIB}/numpy/core/generate_numpy_api.pyo
+${PYSITELIB}/numpy/core/getlimits.py
+${PYSITELIB}/numpy/core/getlimits.pyc
+${PYSITELIB}/numpy/core/getlimits.pyo
+${PYSITELIB}/numpy/core/include/numpy/__multiarray_api.h
+${PYSITELIB}/numpy/core/include/numpy/__ufunc_api.h
+${PYSITELIB}/numpy/core/include/numpy/_neighborhood_iterator_imp.h
+${PYSITELIB}/numpy/core/include/numpy/_numpyconfig.h
+${PYSITELIB}/numpy/core/include/numpy/arrayobject.h
+${PYSITELIB}/numpy/core/include/numpy/arrayscalars.h
+${PYSITELIB}/numpy/core/include/numpy/halffloat.h
+${PYSITELIB}/numpy/core/include/numpy/multiarray_api.txt
+${PYSITELIB}/numpy/core/include/numpy/ndarrayobject.h
+${PYSITELIB}/numpy/core/include/numpy/ndarraytypes.h
+${PYSITELIB}/numpy/core/include/numpy/noprefix.h
+${PYSITELIB}/numpy/core/include/numpy/npy_1_7_deprecated_api.h
+${PYSITELIB}/numpy/core/include/numpy/npy_3kcompat.h
+${PYSITELIB}/numpy/core/include/numpy/npy_common.h
+${PYSITELIB}/numpy/core/include/numpy/npy_cpu.h
+${PYSITELIB}/numpy/core/include/numpy/npy_endian.h
+${PYSITELIB}/numpy/core/include/numpy/npy_interrupt.h
+${PYSITELIB}/numpy/core/include/numpy/npy_math.h
+${PYSITELIB}/numpy/core/include/numpy/npy_no_deprecated_api.h
+${PYSITELIB}/numpy/core/include/numpy/npy_os.h
+${PYSITELIB}/numpy/core/include/numpy/numpyconfig.h
+${PYSITELIB}/numpy/core/include/numpy/old_defines.h
+${PYSITELIB}/numpy/core/include/numpy/oldnumeric.h
+${PYSITELIB}/numpy/core/include/numpy/ufunc_api.txt
+${PYSITELIB}/numpy/core/include/numpy/ufuncobject.h
+${PYSITELIB}/numpy/core/include/numpy/utils.h
+${PYSITELIB}/numpy/core/info.py
+${PYSITELIB}/numpy/core/info.pyc
+${PYSITELIB}/numpy/core/info.pyo
+${PYSITELIB}/numpy/core/lib/libnpymath.a
+${PYSITELIB}/numpy/core/lib/npy-pkg-config/mlib.ini
+${PYSITELIB}/numpy/core/lib/npy-pkg-config/npymath.ini
+${PYSITELIB}/numpy/core/machar.py
+${PYSITELIB}/numpy/core/machar.pyc
+${PYSITELIB}/numpy/core/machar.pyo
+${PYSITELIB}/numpy/core/memmap.py
+${PYSITELIB}/numpy/core/memmap.pyc
+${PYSITELIB}/numpy/core/memmap.pyo
+${PYSITELIB}/numpy/core/multiarray.py
+${PYSITELIB}/numpy/core/multiarray.pyc
+${PYSITELIB}/numpy/core/multiarray.pyo
+${PYSITELIB}/numpy/core/numeric.py
+${PYSITELIB}/numpy/core/numeric.pyc
+${PYSITELIB}/numpy/core/numeric.pyo
+${PYSITELIB}/numpy/core/numerictypes.py
+${PYSITELIB}/numpy/core/numerictypes.pyc
+${PYSITELIB}/numpy/core/numerictypes.pyo
+${PYSITELIB}/numpy/core/overrides.py
+${PYSITELIB}/numpy/core/overrides.pyc
+${PYSITELIB}/numpy/core/overrides.pyo
+${PYSITELIB}/numpy/core/records.py
+${PYSITELIB}/numpy/core/records.pyc
+${PYSITELIB}/numpy/core/records.pyo
+${PYSITELIB}/numpy/core/setup.py
+${PYSITELIB}/numpy/core/setup.pyc
+${PYSITELIB}/numpy/core/setup.pyo
+${PYSITELIB}/numpy/core/setup_common.py
+${PYSITELIB}/numpy/core/setup_common.pyc
+${PYSITELIB}/numpy/core/setup_common.pyo
+${PYSITELIB}/numpy/core/shape_base.py
+${PYSITELIB}/numpy/core/shape_base.pyc
+${PYSITELIB}/numpy/core/shape_base.pyo
+${PYSITELIB}/numpy/core/tests/__init__.py
+${PYSITELIB}/numpy/core/tests/_locales.py
+${PYSITELIB}/numpy/core/tests/data/astype_copy.pkl
+${PYSITELIB}/numpy/core/tests/data/recarray_from_file.fits
+${PYSITELIB}/numpy/core/tests/test_abc.py
+${PYSITELIB}/numpy/core/tests/test_api.py
+${PYSITELIB}/numpy/core/tests/test_arrayprint.py
+${PYSITELIB}/numpy/core/tests/test_datetime.py
+${PYSITELIB}/numpy/core/tests/test_defchararray.py
+${PYSITELIB}/numpy/core/tests/test_deprecations.py
+${PYSITELIB}/numpy/core/tests/test_dtype.py
+${PYSITELIB}/numpy/core/tests/test_einsum.py
+${PYSITELIB}/numpy/core/tests/test_errstate.py
+${PYSITELIB}/numpy/core/tests/test_extint128.py
+${PYSITELIB}/numpy/core/tests/test_function_base.py
+${PYSITELIB}/numpy/core/tests/test_getlimits.py
+${PYSITELIB}/numpy/core/tests/test_half.py
+${PYSITELIB}/numpy/core/tests/test_indexerrors.py
+${PYSITELIB}/numpy/core/tests/test_indexing.py
+${PYSITELIB}/numpy/core/tests/test_item_selection.py
+${PYSITELIB}/numpy/core/tests/test_longdouble.py
+${PYSITELIB}/numpy/core/tests/test_machar.py
+${PYSITELIB}/numpy/core/tests/test_mem_overlap.py
+${PYSITELIB}/numpy/core/tests/test_memmap.py
+${PYSITELIB}/numpy/core/tests/test_multiarray.py
+${PYSITELIB}/numpy/core/tests/test_nditer.py
+${PYSITELIB}/numpy/core/tests/test_numeric.py
+${PYSITELIB}/numpy/core/tests/test_numerictypes.py
+${PYSITELIB}/numpy/core/tests/test_overrides.py
+${PYSITELIB}/numpy/core/tests/test_print.py
+${PYSITELIB}/numpy/core/tests/test_records.py
+${PYSITELIB}/numpy/core/tests/test_regression.py
+${PYSITELIB}/numpy/core/tests/test_scalar_ctors.py
+${PYSITELIB}/numpy/core/tests/test_scalarbuffer.py



Home | Main Index | Thread Index | Old Index