cython3:moved from contrib, dep for numpy
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#!/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 pythonmodules
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def build():
|
||||
shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread -Wl,-O1 -Wl,-z,relro -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--sort-common")
|
||||
shelltools.export("CFLAGS", "-fno-strict-aliasing -mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC -fwrapv -DNDEBUG -g -fwrapv -O3 -Wno-strict-aliasing")
|
||||
|
||||
pythonmodules.compile(pyVer="3")
|
||||
|
||||
# it takes hours to run test, run with caution!
|
||||
#def check():
|
||||
# pythonmodules.run("runtests.py -vv --no-pyregr", pyVer="3")
|
||||
|
||||
def install():
|
||||
pythonmodules.install(pyVer="3")
|
||||
|
||||
#for dirs in ["Doc", "Demos", "tests"]:
|
||||
# pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()), dirs)
|
||||
|
||||
#pisitools.dodoc("COPYING*", "README*", "USAGE*", "LICENSE*")
|
||||
@@ -0,0 +1,74 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>cython3</Name>
|
||||
<Homepage>https://cython.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>Blue DeviL</Name>
|
||||
<Email>bluedevil@sctzine.com</Email>
|
||||
</Packager>
|
||||
<License>Apache-2.0</License>
|
||||
<PartOf>programming.language.python3</PartOf>
|
||||
<IsA>app:console</IsA>
|
||||
<IsA>library</IsA>
|
||||
<Summary>C extensions for the Python3</Summary>
|
||||
<Description>Cython is a language that makes writing C extensions for the Python language as easy as Python itself.</Description>
|
||||
<Archive sha1sum="db2286ea3b3a6060c4294f9c3df652c5b4f60fca" type="targz">https://github.com/cython/cython/archive/0.29.14.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>python3-setuptools</Dependency>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>cython3</Name>
|
||||
<Summary>C extensions for the Python3</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>python3</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib/python3*</Path>
|
||||
<Path fileType="doc">/usr/share/doc/cython3</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2019-12-10</Date>
|
||||
<Version>0.29.14</Version>
|
||||
<Comment>Rebuilt w/ py3.8.</Comment>
|
||||
<Name>Blue DeviL</Name>
|
||||
<Email>bluedevil@sctzine.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2019-12-10</Date>
|
||||
<Version>0.29.14</Version>
|
||||
<Comment>Rebuilt.</Comment>
|
||||
<Name>Blue DeviL</Name>
|
||||
<Email>bluedevil@sctzine.com</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2019-11-11</Date>
|
||||
<Version>0.29.14</Version>
|
||||
<Comment>rebuilt and split packages</Comment>
|
||||
<Name>Blue DeviL</Name>
|
||||
<Email>bluedevil@sctzine.com</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2019-11-11</Date>
|
||||
<Version>0.29.14</Version>
|
||||
<Comment>Ver. bump</Comment>
|
||||
<Name>Blue DeviL</Name>
|
||||
<Email>bluedevil@sctzine.com</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2016-04-22</Date>
|
||||
<Version>0.24</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>İbrahim KARAGÜZEL</Name>
|
||||
<Email>karaguzelibrahim@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>cython3</Name>
|
||||
<Summary xml:lang="tr">Python3 için C eklentileri</Summary>
|
||||
<Description xml:lang="tr">Cython3, Python3 için C eklentileri yazmayı kolaylaştıran bir dildir.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user