python3-numpy:First release

This commit is contained in:
Rmys
2018-03-24 12:34:58 +03:00
parent 54d89c8417
commit 49040d533e
7 changed files with 147517 additions and 147348 deletions
@@ -0,0 +1,30 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# 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 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")
def build():
pythonmodules.compile(NUMPY_FCONFIG, pyVer="3")
def install():
pythonmodules.install(NUMPY_FCONFIG, pyVer="3")
#pisitools.doman("doc/f2py/f2py.1")
#pisitools.insinto(f2py_docs, "doc/f2py/*.txt")
pisitools.dodoc("LICENSE.txt", "THANKS.txt")
@@ -0,0 +1,57 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-numpy</Name>
<Homepage>http://numeric.scipy.org</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<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="cc1358fb4bb1939c22488524a6ee564348070faf" type="targz">https://github.com/numpy/numpy/releases/download/v1.14.1/numpy-1.14.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
<Dependency>python3-nose</Dependency>
<Dependency>python3-setuptools</Dependency>
<Dependency>libgfortran</Dependency>
<Dependency>lapack-devel</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>python3-numpy</Name>
<RuntimeDependencies>
<Dependency>blas</Dependency>
<Dependency>lapack</Dependency>
<Dependency>python3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="executable">/usr/bin</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2018-03-24</Date>
<Version>1.14.1</Version>
<Comment>First release.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,9 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>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>