wok-current diff py3k-cython/receipt @ rev 21879
Add borgbackup py3k-cython py3k-setuptools_scm
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 29 11:57:57 2019 +0200 (2019-09-29) |
parents | |
children | 5ea0ce1cecc0 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/py3k-cython/receipt Sun Sep 29 11:57:57 2019 +0200 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="py3k-cython" 1.7 +VERSION="0.29.13" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Language to write C extensions for Python." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +LICENSE="Apache" 1.12 +WEB_SITE="https://pypi.org/project/cython/" 1.13 + 1.14 +SOURCE="cython" 1.15 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.16 +WGET_URL="https://github.com/$SOURCE/$SOURCE/archive/$VERSION.tar.gz" 1.17 + 1.18 +DEPENDS="py3k" 1.19 +BUILD_DEPENDS="$DEPENDS py3k-dev" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + python3 setup.py build && 1.25 + python3 setup.py install --root=$DESTDIR 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs 1.32 + cp -a $install/usr $fs 1.33 +}