diff --git a/programming/language/python/python-numpy/actions.py b/programming/language/python/python-numpy/actions.py index 03b2dd9ab1..11a7bda168 100644 --- a/programming/language/python/python-numpy/actions.py +++ b/programming/language/python/python-numpy/actions.py @@ -4,31 +4,34 @@ # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/licenses/gpl.txt -from pisi.actionsapi import pisitools from pisi.actionsapi import pythonmodules from pisi.actionsapi import shelltools +from pisi.actionsapi import pisitools from pisi.actionsapi import get WorkDir = "numpy-%s" % get.srcVERSION() NUMPY_FCONFIG = "config_fc --fcompiler=gnu95" -f2py_docs = "%s/%s/f2py_docs" % (get.docDIR(), get.srcNAME()) - -shelltools.export("LDFLAGS", "%s -shared" % get.LDFLAGS()) shelltools.export("ATLAS", "None") shelltools.export("PTATLAS", "None") +shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread") def build(): + # suppress compiler warnings + pisitools.cflags.add("-Wno-unused-but-set-variable -Wno-builtin-declaration-mismatch \ + -Wno-unused-value -Wno-unused-variable -Wno-unknown-pragmas \ + -Wno-strict-prototypes -Wno-implicit-int -Wno-return-type \ + -Wno-unused-function") pythonmodules.compile(NUMPY_FCONFIG) def install(): + # suppress compiler warnings + pisitools.cflags.add("-Wno-builtin-declaration-mismatch") pythonmodules.install(NUMPY_FCONFIG) - pisitools.rename("/usr/bin/f2py", "f2py2") - pisitools.rename("/usr/bin/from-template", "from-template2") - pisitools.rename("/usr/bin/conv-template", "conv-template2") + pisitools.rename("/usr/bin/f2py", "f2py-py2") - #pisitools.doman("doc/f2py/f2py.1") - - #pisitools.insinto(f2py_docs, "doc/f2py/*.txt") - pisitools.dodoc("LICENSE.txt", "THANKS.txt") + pisitools.dodoc("LICENSE*") + + for dirs in ["doc"]: + pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()), dirs) \ No newline at end of file diff --git a/programming/language/python/python-numpy/pspec.xml b/programming/language/python/python-numpy/pspec.xml index c553cabad0..1eaba03de1 100644 --- a/programming/language/python/python-numpy/pspec.xml +++ b/programming/language/python/python-numpy/pspec.xml @@ -1,5 +1,5 @@ - + python-numpy @@ -8,44 +8,63 @@ PisiLinux Community admins@pisilinux.org + programming.language.python as-is library The fundamental package needed for scientific computing with Python Numpy contains a powerful N-dimensional array object, sophisticated (broadcasting) functions, tools for integrating C/C++ and Fortran code, and useful linear algebra, Fourier transform, and random number capabilities. - https://github.com/numpy/numpy/releases/download/v1.15.0/numpy-1.15.0.tar.gz + https://github.com/numpy/numpy/archive/v1.16.6.tar.gz - python-devel - python-nose python-setuptools - libgfortran lapack-devel + python-devel + cblas-devel + libgfortran + cython + cblas + - - - python-numpy + The fundamental package needed for scientific computing with Python - blas lapack - python + cblas + blas - /usr/lib + /usr/bin/f2py-py2 + /usr/bin/f2py2 + /usr/bin/f2py2.7 /usr/share/doc /usr/share/man - /usr/bin + /usr/lib + + + + + python-numpy-docs + Documentation files for python-numpy + + python-numpy + + + /usr/share/doc/python-numpy/doc + + 2020-01-20 + 1.16.6 + Version bump. + Blue Devil + bluedevil@sctzine.com + 2018-08-14 1.15.0 @@ -82,4 +101,4 @@ marcin@pisilinux.org - + \ No newline at end of file diff --git a/programming/language/python/python-numpy/translations.xml b/programming/language/python/python-numpy/translations.xml index 1c886e0fe3..2c937abc94 100644 --- a/programming/language/python/python-numpy/translations.xml +++ b/programming/language/python/python-numpy/translations.xml @@ -1,9 +1,15 @@ - numpy + python-numpy Python ile bilimsel hesaplama için ihtiyaç duyulan temel paket Numpy contiene un potente objeto de array N-dimensional, funciones sofisticadas (broadcasting), herramientas para la integración de código C/C++ y Fortran, y facilidades útiles de algebra lineal, transformación Fourier, y número aleatorios. Numpy, N-boyutlu güçlü bir dizi, gelişmiş fonksiyonlar, C/C++ ve Fortran kodunu entegre etmek için araçlar, doğrusal cebir ve rastgele sayı özelliği içerir. - + + + python-numpy-docs + python-numpy için belgelendirme dosyaları + python-numpy-docs, python-numpy için belgelendirme dosyalarını içerir. + + \ No newline at end of file