python-numpy:ver.bump

This commit is contained in:
blue-devil
2020-01-21 01:36:19 +03:00
parent d2b42c10b0
commit b4630e9549
3 changed files with 59 additions and 31 deletions
@@ -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)
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python-numpy</Name>
@@ -8,44 +8,63 @@
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<PartOf>programming.language.python</PartOf>
<License>as-is</License>
<IsA>library</IsA>
<Summary>The fundamental package needed for scientific computing with Python</Summary>
<Description>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.</Description>
<Archive sha1sum="e4917f6848f4065a70788b954332f1eb87b81989" type="targz">https://github.com/numpy/numpy/releases/download/v1.15.0/numpy-1.15.0.tar.gz</Archive>
<Archive sha1sum="e8c1aae9070d7c6dc0cb72de44eb68fba3b62941" type="targz">https://github.com/numpy/numpy/archive/v1.16.6.tar.gz</Archive>
<BuildDependencies>
<Dependency>python-devel</Dependency>
<Dependency>python-nose</Dependency>
<Dependency>python-setuptools</Dependency>
<Dependency>libgfortran</Dependency>
<Dependency>lapack-devel</Dependency>
<Dependency>python-devel</Dependency>
<Dependency>cblas-devel</Dependency>
<Dependency>libgfortran</Dependency>
<Dependency>cython</Dependency>
<Dependency>cblas</Dependency>
<!--
<Dependency>python-nose</Dependency>
-->
</BuildDependencies>
<Patches>
<!--<Patch level="1">numpy-1.0.1-f2py.patch</Patch>
<Patch level="1">001-fix-test_multiarray.patch</Patch>
<Patch level="1">002-fix_PyUnicodeObject.patch</Patch>
<Patch level="1">09d2c51fa1d09b17060a8545b925f4dded9dedb1.patch</Patch>
<Patch level="1">4234b6b13e3ee9da6fc1c24e9e8c442d77587837.patch</Patch>
<Patch level="1">f2ac38f09ff258339ef44572a3abba02019e1f55.patch</Patch>-->
</Patches>
</Source>
<Package>
<Name>python-numpy</Name>
<Summary>The fundamental package needed for scientific computing with Python</Summary>
<RuntimeDependencies>
<Dependency>blas</Dependency>
<Dependency>lapack</Dependency>
<Dependency>python</Dependency>
<Dependency>cblas</Dependency>
<Dependency>blas</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="executable">/usr/bin/f2py-py2</Path>
<Path fileType="executable">/usr/bin/f2py2</Path>
<Path fileType="executable">/usr/bin/f2py2.7</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
</Files>
</Package>
<Package>
<Name>python-numpy-docs</Name>
<Summary>Documentation files for python-numpy</Summary>
<RuntimeDependencies>
<Dependency release="current">python-numpy</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc/python-numpy/doc</Path>
</Files>
</Package>
<History>
<Update release="6">
<Date>2020-01-20</Date>
<Version>1.16.6</Version>
<Comment>Version bump.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
<Update release="5">
<Date>2018-08-14</Date>
<Version>1.15.0</Version>
@@ -82,4 +101,4 @@
<Email>marcin@pisilinux.org</Email>
</Update>
</History>
</PISI>
</PISI>
@@ -1,9 +1,15 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>numpy</Name>
<Name>python-numpy</Name>
<Summary xml:lang="tr">Python ile bilimsel hesaplama için ihtiyaç duyulan temel paket</Summary>
<Description xml:lang="es">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.</Description>
<Description xml:lang="tr">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.</Description>
</Source>
</PISI>
<Package>
<Name>python-numpy-docs</Name>
<Summary xml:lang="tr">python-numpy için belgelendirme dosyaları</Summary>
<Description xml:lang="tr">python-numpy-docs, python-numpy için belgelendirme dosyalarını içerir.</Description>
</Package>
</PISI>