cython: ver. bump

This commit is contained in:
blue-devil
2020-03-27 22:56:33 +03:00
parent f497d81df9
commit 469dc6a53b
2 changed files with 16 additions and 13 deletions
+6 -10
View File
@@ -10,23 +10,19 @@ from pisi.actionsapi import pisitools
from pisi.actionsapi import get
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")
# 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")
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():
# pythonmodules.run("runtests.py -vv --no-pyregr")
def install():
pythonmodules.install()
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")
# to prevent conflict with cython3
pisitools.rename("usr/bin/cythonize", "cythonize-py2")
pisitools.rename("usr/bin/cython", "cython-py2")
pisitools.rename("usr/bin/cythonize", "cythonize-py2")
pisitools.rename("usr/bin/cygdb", "cygdb-py2")
+10 -3
View File
@@ -14,7 +14,7 @@
<IsA>library</IsA>
<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>
<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>
<Dependency>python-setuptools</Dependency>
<Dependency>python-devel</Dependency>
@@ -28,15 +28,22 @@
<Dependency>python-setuptools</Dependency>
</RuntimeDependencies>
<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/cython-py2</Path>
<Path fileType="executable">/usr/bin/cygdb-py2</Path>
<Path fileType="library">/usr/lib/python2*</Path>
<Path fileType="doc">/usr/share/doc/cython</Path>
</Files>
</Package>
<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">
<Date>2020-02-06</Date>
<Version>0.29.15</Version>