wok annotate py3k-cython/receipt @ rev 25539
Up perl-test-compile (3.1.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 09 12:11:13 2023 +0000 (22 months ago) |
parents | 5ea0ce1cecc0 |
children | 5db546345599 |
rev | line source |
---|---|
pascal@21879 | 1 # SliTaz package receipt. |
pascal@21879 | 2 |
pascal@21879 | 3 PACKAGE="py3k-cython" |
Hans-G?nter@25160 | 4 VERSION="0.29.30" |
pascal@21879 | 5 CATEGORY="development" |
pascal@21879 | 6 SHORT_DESC="Language to write C extensions for Python." |
pascal@21879 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@21879 | 8 LICENSE="Apache" |
pascal@21879 | 9 WEB_SITE="https://pypi.org/project/cython/" |
Hans-G?nter@25160 | 10 REPOLOGY="python:cython" |
pascal@21879 | 11 |
pascal@21879 | 12 SOURCE="cython" |
pascal@21879 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@21879 | 14 WGET_URL="https://github.com/$SOURCE/$SOURCE/archive/$VERSION.tar.gz" |
pascal@21879 | 15 |
pascal@21879 | 16 DEPENDS="py3k" |
Hans-G?nter@25160 | 17 BUILD_DEPENDS="py3k py3k-dev" |
pascal@21879 | 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 |
pascal@21879 | 25 # Rules to configure and make the package. |
pascal@21879 | 26 compile_rules() |
pascal@21879 | 27 { |
pascal@21879 | 28 python3 setup.py build && |
pascal@21879 | 29 python3 setup.py install --root=$DESTDIR |
pascal@21879 | 30 } |
pascal@21879 | 31 |
pascal@21879 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21879 | 33 genpkg_rules() |
pascal@21879 | 34 { |
pascal@21879 | 35 mkdir -p $fs |
Hans-G?nter@25160 | 36 cp -a $install/usr $fs |
pascal@21879 | 37 } |