python-numpy:moved into main for pisi 2.0
This commit is contained in:
@@ -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)
|
||||
|
||||
def install():
|
||||
pythonmodules.install(NUMPY_FCONFIG)
|
||||
|
||||
pisitools.doman("numpy/f2py/f2py.1")
|
||||
|
||||
pisitools.insinto(f2py_docs, "numpy/f2py/docs/*.txt")
|
||||
pisitools.dodoc("COMPATIBILITY", "DEV_README.txt", "LICENSE.txt", "THANKS.txt")
|
||||
@@ -0,0 +1,84 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python-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="8fe1d5f36bab3f1669520b4c7d8ab59a21a984da" type="targz">mirrors://sourceforge/numpy/numpy-1.8.1.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>python-devel</Dependency>
|
||||
<Dependency>python-nose</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>python-numpy</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>blas</Dependency>
|
||||
<Dependency>lapack</Dependency>
|
||||
<Dependency>python</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="5">
|
||||
<Date>2014-05-29</Date>
|
||||
<Version>1.8.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-05-27</Date>
|
||||
<Version>1.8.0</Version>
|
||||
<Comment>Rebuild for gcc</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-01-19</Date>
|
||||
<Version>1.8.0</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Richard de Bruin</Name>
|
||||
<Email>rr.debruin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-11-16</Date>
|
||||
<Version>1.7.1</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Burak Fazıl Ertürk</Name>
|
||||
<Email>burakerturk@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-13</Date>
|
||||
<Version>1.6.2</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</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>
|
||||
Reference in New Issue
Block a user