diff options
author | Danny Rawlins <monster.romster@gmail.com> | 2018-08-15 21:45:16 +1000 |
---|---|---|
committer | Danny Rawlins <monster.romster@gmail.com> | 2018-08-15 21:45:16 +1000 |
commit | 1218f6dcd4e993e1988befca0279806676f26b66 (patch) | |
tree | 1a82b12217ccd6d3348d4e133bc70a155daae1c9 /python3-cython/Pkgfile | |
parent | 9c008edd05ac4c2743cddc455a0f235877ede126 (diff) | |
download | contrib-1218f6dcd4e993e1988befca0279806676f26b66.tar.gz contrib-1218f6dcd4e993e1988befca0279806676f26b66.tar.xz |
python3-cython: initial import
Diffstat (limited to 'python3-cython/Pkgfile')
-rw-r--r-- | python3-cython/Pkgfile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/python3-cython/Pkgfile b/python3-cython/Pkgfile new file mode 100644 index 000000000..f7cd5c3a0 --- /dev/null +++ b/python3-cython/Pkgfile @@ -0,0 +1,18 @@ +# Description: C extensions for Python. +# URL: http://www.cython.org/ +# Maintainer: Danny Rawlins, crux at romster dot me +# Depends on: python3-setuptools + +name=python3-cython +version=0.28.5 +release=1 +source=(https://files.pythonhosted.org/packages/source/C/Cython/Cython-$version.tar.gz) + +build() { + cd Cython-$version + + /usr/bin/python3 setup.py build + + /usr/bin/python3 setup.py install \ + --prefix=/usr --root=$PKG --optimize=1 +} |