wok annotate python-cython/receipt @ rev 21083
updated joe (3.7 -> 4.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 15 13:54:40 2019 +0100 (2019-03-15) |
parents | 16df76e1fc6a |
children | fd39f6f33be1 |
rev | line source |
---|---|
pankso@9338 | 1 # SliTaz package receipt. |
pankso@9338 | 2 |
pankso@9338 | 3 PACKAGE="python-cython" |
pascal@13595 | 4 VERSION="0.17.1" |
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" |
pankso@9338 | 9 SOURCE="Cython" |
pankso@9338 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20679 | 11 WEB_SITE="https://pypi.org/project/$SOURCE/" |
pankso@9338 | 12 WGET_URL="http://cython.org/release/$TARBALL" |
pascal@15379 | 13 |
pankso@9338 | 14 DEPENDS="python" |
pankso@9338 | 15 BUILD_DEPENDS="$DEPENDS python-dev" |
pankso@9338 | 16 |
pankso@9338 | 17 # Rules to configure and make the package. |
pankso@9338 | 18 compile_rules() |
pankso@9338 | 19 { |
pankso@9338 | 20 python setup.py build && |
pascal@13595 | 21 python setup.py install --root=$DESTDIR |
pankso@9338 | 22 } |
pankso@9338 | 23 |
pankso@9338 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@9338 | 25 genpkg_rules() |
pankso@9338 | 26 { |
pankso@9338 | 27 mkdir -p $fs |
pascal@13595 | 28 cp -a $install/usr $fs |
pankso@9338 | 29 } |