wok-6.x annotate python-cython/receipt @ rev 25233
updated python-requests (2.23.0 -> 2.27.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 17:27:05 2022 +0100 (2022-07-13) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
pankso@9338 | 1 # SliTaz package receipt. |
pankso@9338 | 2 |
pankso@9338 | 3 PACKAGE="python-cython" |
Hans-G?nter@25169 | 4 VERSION="0.29.30" |
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@25169 | 10 REPOLOGY="python:cython" |
Hans-G?nter@21796 | 11 |
Hans-G?nter@21796 | 12 SOURCE="cython" |
pankso@9338 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@21797 | 14 WGET_URL="https://github.com/$SOURCE/$SOURCE/archive/$VERSION.tar.gz" |
pascal@15379 | 15 |
pankso@9338 | 16 DEPENDS="python" |
Hans-G?nter@23477 | 17 BUILD_DEPENDS="python python-dev" |
pankso@9338 | 18 |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 22 sed '/archive.*tar/!d;/[0-9]a[0-9]/d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
pankso@9338 | 25 # Rules to configure and make the package. |
pankso@9338 | 26 compile_rules() |
pankso@9338 | 27 { |
pankso@9338 | 28 python setup.py build && |
pascal@13595 | 29 python setup.py install --root=$DESTDIR |
pankso@9338 | 30 } |
pankso@9338 | 31 |
pankso@9338 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@9338 | 33 genpkg_rules() |
pankso@9338 | 34 { |
Hans-G?nter@25169 | 35 cook_copy_folders bin |
Hans-G?nter@25169 | 36 cook_copy_folders lib |
pankso@9338 | 37 } |