python3-numpy:version bump

This commit is contained in:
blue-devil
2020-01-11 15:32:28 +00:00
parent 9eb1a229cf
commit 58a9ccabfd
3 changed files with 45 additions and 30 deletions
@@ -4,27 +4,23 @@
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt # See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pisitools
from pisi.actionsapi import pythonmodules from pisi.actionsapi import pythonmodules
from pisi.actionsapi import shelltools from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get from pisi.actionsapi import get
WorkDir = "numpy-%s" % get.srcVERSION() 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("ATLAS", "None")
shelltools.export("PTATLAS", "None") shelltools.export("PTATLAS", "None")
shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread")
def build(): def build():
pythonmodules.compile(NUMPY_FCONFIG, pyVer="3") pythonmodules.compile(pyVer="3")
def install(): def install():
pythonmodules.install(NUMPY_FCONFIG, pyVer="3") pythonmodules.install(pyVer="3")
pisitools.dodoc("LICENSE*")
#pisitools.doman("doc/f2py/f2py.1")
for dirs in ["doc"]:
#pisitools.insinto(f2py_docs, "doc/f2py/*.txt") pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()), dirs)
pisitools.dodoc("LICENSE.txt", "THANKS.txt")
@@ -1,5 +1,5 @@
<?xml version="1.0" ?> <?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> <PISI>
<Source> <Source>
<Name>python3-numpy</Name> <Name>python3-numpy</Name>
@@ -8,44 +8,57 @@
<Name>PisiLinux Community</Name> <Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email> <Email>admins@pisilinux.org</Email>
</Packager> </Packager>
<License>as-is</License> <License>BSD</License>
<PartOf>programming.language.python3</PartOf>
<IsA>library</IsA> <IsA>library</IsA>
<Summary>The fundamental package needed for scientific computing with Python</Summary> <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> <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="e5039bd773c5aa0eb964f6dbb00c9e654a89e294" type="targz">https://github.com/numpy/numpy/archive/v1.18.1.tar.gz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>python3-devel</Dependency>
<Dependency>python3-nose</Dependency>
<Dependency>python3-setuptools</Dependency> <Dependency>python3-setuptools</Dependency>
<Dependency>libgfortran</Dependency> <Dependency>python3-devel</Dependency>
<Dependency>lapack-devel</Dependency> <Dependency>lapack-devel</Dependency>
<Dependency>python3-nose</Dependency>
<Dependency>cblas-devel</Dependency>
<Dependency>cython3</Dependency>
</BuildDependencies> </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> </Source>
<Package> <Package>
<Name>python3-numpy</Name> <Name>python3-numpy</Name>
<Summary>The fundamental package needed for scientific computing with Python</Summary>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>blas</Dependency>
<Dependency>lapack</Dependency>
<Dependency>python3</Dependency> <Dependency>python3</Dependency>
<Dependency>lapack</Dependency>
<Dependency>blas</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="library">/usr/lib</Path> <Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path> <Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="executable">/usr/bin</Path> <Path fileType="executable">/usr/bin</Path>
<Path fileType="doc">/usr/share/doc/python3-numpy/LICENSE*</Path>
</Files>
</Package>
<Package>
<Name>python3-numpy-docs</Name>
<Summary>Documentation files for python3-numpy</Summary>
<RuntimeDependencies>
<Dependency release="current">python3-numpy</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc/python3-numpy/doc</Path>
</Files> </Files>
</Package> </Package>
<History> <History>
<Update release="6">
<Date>2020-01-11</Date>
<Version>1.18.1</Version>
<Comment>Version bump</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
<Update release="5"> <Update release="5">
<Date>2018-08-14</Date> <Date>2018-08-14</Date>
<Version>1.15.0</Version> <Version>1.15.0</Version>
@@ -1,9 +1,15 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<PISI> <PISI>
<Source> <Source>
<Name>numpy</Name> <Name>python3-numpy</Name>
<Summary xml:lang="tr">Python ile bilimsel hesaplama için ihtiyaç duyulan temel paket</Summary> <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="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> <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> </Source>
<Package>
<Name>python3-numpy-docs</Name>
<Summary xml:lang="tr">python3-numpy için belgelendirme dosyaları</Summary>
<Description xml:lang="tr">python3-numpy-docs, python3-numpy için belgelendirme dosyalarını içerir.</Description>
</Package>
</PISI> </PISI>