cython: ver. bump
This commit is contained in:
@@ -10,23 +10,19 @@ from pisi.actionsapi import pisitools
|
|||||||
from pisi.actionsapi import get
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
# fix unused dependency analysis
|
# fix unused direct dependency analysis
|
||||||
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("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")
|
||||||
# compress compiler warnings
|
# suppress compiler warnings
|
||||||
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")
|
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()
|
pythonmodules.compile()
|
||||||
|
|
||||||
# it takes hours to run test, run with caution!
|
# Blue DeviL Note: it takes hours to run test, run with caution!
|
||||||
#def check():
|
#def check():
|
||||||
# pythonmodules.run("runtests.py -vv --no-pyregr")
|
# pythonmodules.run("runtests.py -vv --no-pyregr")
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
pythonmodules.install()
|
pythonmodules.install()
|
||||||
|
# to prevent conflict with cython3
|
||||||
for dirs in ["Doc", "Demos", "tests"]:
|
|
||||||
pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()), dirs)
|
|
||||||
|
|
||||||
pisitools.dodoc("COPYING*", "README*", "USAGE*", "LICENSE*")
|
|
||||||
pisitools.rename("usr/bin/cygdb", "cygdb-py2")
|
|
||||||
pisitools.rename("usr/bin/cython", "cython-py2")
|
|
||||||
pisitools.rename("usr/bin/cythonize", "cythonize-py2")
|
pisitools.rename("usr/bin/cythonize", "cythonize-py2")
|
||||||
|
pisitools.rename("usr/bin/cython", "cython-py2")
|
||||||
|
pisitools.rename("usr/bin/cygdb", "cygdb-py2")
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
<IsA>library</IsA>
|
<IsA>library</IsA>
|
||||||
<Summary>C extensions for the Python</Summary>
|
<Summary>C extensions for the Python</Summary>
|
||||||
<Description>Cython is a language that makes writing C extensions for the Python language as easy as Python itself.</Description>
|
<Description>Cython is a language that makes writing C extensions for the Python language as easy as Python itself.</Description>
|
||||||
<Archive sha1sum="665eb4337b4da06172fc7edca0b54cb27fb46b4f" type="targz">https://github.com/cython/cython/archive/0.29.15.tar.gz</Archive>
|
<Archive sha1sum="d61ec184c284eaf91595587427c65b32ba90a316" type="targz">https://github.com/cython/cython/archive/0.29.16.tar.gz</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>python-setuptools</Dependency>
|
<Dependency>python-setuptools</Dependency>
|
||||||
<Dependency>python-devel</Dependency>
|
<Dependency>python-devel</Dependency>
|
||||||
@@ -28,15 +28,22 @@
|
|||||||
<Dependency>python-setuptools</Dependency>
|
<Dependency>python-setuptools</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="executable">/usr/bin/cygdb-py2</Path>
|
|
||||||
<Path fileType="executable">/usr/bin/cython-py2</Path>
|
|
||||||
<Path fileType="executable">/usr/bin/cythonize-py2</Path>
|
<Path fileType="executable">/usr/bin/cythonize-py2</Path>
|
||||||
|
<Path fileType="executable">/usr/bin/cython-py2</Path>
|
||||||
|
<Path fileType="executable">/usr/bin/cygdb-py2</Path>
|
||||||
<Path fileType="library">/usr/lib/python2*</Path>
|
<Path fileType="library">/usr/lib/python2*</Path>
|
||||||
<Path fileType="doc">/usr/share/doc/cython</Path>
|
<Path fileType="doc">/usr/share/doc/cython</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="6">
|
||||||
|
<Date>2020-03-27</Date>
|
||||||
|
<Version>0.29.16</Version>
|
||||||
|
<Comment>Patch version bump.</Comment>
|
||||||
|
<Name>Blue Devil</Name>
|
||||||
|
<Email>bluedevil@sctzine.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="5">
|
<Update release="5">
|
||||||
<Date>2020-02-06</Date>
|
<Date>2020-02-06</Date>
|
||||||
<Version>0.29.15</Version>
|
<Version>0.29.15</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user