wok annotate python-cython/receipt @ rev 22686
Up pssh (2.3.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 19 16:24:05 2020 +0100 (2020-01-19) |
parents | fd39f6f33be1 |
children | f8147fa290f4 |
rev | line source |
---|---|
pankso@9338 | 1 # SliTaz package receipt. |
pankso@9338 | 2 |
pankso@9338 | 3 PACKAGE="python-cython" |
Hans-G?nter@21796 | 4 VERSION="0.29.13" |
pankso@9338 | 5 CATEGORY="development" |
pankso@9338 | 6 SHORT_DESC="Language to write C extensions for Python." |
pankso@9338 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15379 | 8 LICENSE="Apache" |
Hans-G?nter@21796 | 9 WEB_SITE="https://pypi.org/project/cython/" |
Hans-G?nter@21796 | 10 |
Hans-G?nter@21796 | 11 SOURCE="cython" |
pankso@9338 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@21797 | 13 WGET_URL="https://github.com/$SOURCE/$SOURCE/archive/$VERSION.tar.gz" |
pascal@15379 | 14 |
pankso@9338 | 15 DEPENDS="python" |
pankso@9338 | 16 BUILD_DEPENDS="$DEPENDS python-dev" |
pankso@9338 | 17 |
pankso@9338 | 18 # Rules to configure and make the package. |
pankso@9338 | 19 compile_rules() |
pankso@9338 | 20 { |
pankso@9338 | 21 python setup.py build && |
pascal@13595 | 22 python setup.py install --root=$DESTDIR |
pankso@9338 | 23 } |
pankso@9338 | 24 |
pankso@9338 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@9338 | 26 genpkg_rules() |
pankso@9338 | 27 { |
pankso@9338 | 28 mkdir -p $fs |
pascal@13595 | 29 cp -a $install/usr $fs |
pankso@9338 | 30 } |