diff --git a/programming/language/python/cython/actions.py b/programming/language/python/cython/actions.py new file mode 100644 index 0000000000..ad0cc2f282 --- /dev/null +++ b/programming/language/python/cython/actions.py @@ -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 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() + +# 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") + pisitools.rename("usr/bin/cython", "cython-py2") + pisitools.rename("usr/bin/cythonize", "cythonize-py2") \ No newline at end of file diff --git a/programming/language/python/cython/pspec.xml b/programming/language/python/cython/pspec.xml new file mode 100644 index 0000000000..107ae3f1ff --- /dev/null +++ b/programming/language/python/cython/pspec.xml @@ -0,0 +1,64 @@ + + + + + cython + https://cython.org/ + + Blue DeviL + bluedevil@sctzine.com + + Apache-2.0 + programming.language.python3 + app:console + library + C extensions for the Python + Cython is a language that makes writing C extensions for the Python language as easy as Python itself. + https://github.com/cython/cython/archive/0.29.14.tar.gz + + python-setuptools + python-devel + + + + + cython + C extensions for the Python + + /usr/bin + /usr/lib/python2* + /usr/share/doc/cython + + + + + + 2019-12-31 + 0.29.14 + Rebuilt + Blue DeviL + bluedevil@sctzine.com + + + 2019-12-07 + 0.29.14 + Split packages + Blue DeviL + bluedevil@sctzine.com + + + 2019-11-11 + 0.29.14 + Ver. bump + Blue DeviL + bluedevil@sctzine.com + + + 2016-04-22 + 0.24 + First release + İbrahim KARAGÜZEL + karaguzelibrahim@gmail.com + + + diff --git a/programming/language/python/cython/translations.xml b/programming/language/python/cython/translations.xml new file mode 100644 index 0000000000..dd91f70d8e --- /dev/null +++ b/programming/language/python/cython/translations.xml @@ -0,0 +1,8 @@ + + + + cython + Python için C eklentileri + Cython, Python için C eklentileri yazmayı kolaylaştıran bir dildir. + +