wok annotate py3k-cython/receipt @ rev 24867
updated lvm2, lvm2-dev, libdevmapper and libdevmapper-dev (2.03.08 -> 2.03.15)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 30 17:27:13 2022 +0100 (2022-03-30) |
parents | 7d333aaabc41 |
children | fddcd67dd0e5 |
rev | line source |
---|---|
pascal@21879 | 1 # SliTaz package receipt. |
pascal@21879 | 2 |
pascal@21879 | 3 PACKAGE="py3k-cython" |
pascal@21879 | 4 VERSION="0.29.13" |
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/" |
pascal@21879 | 10 |
pascal@21879 | 11 SOURCE="cython" |
pascal@21879 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@21879 | 13 WGET_URL="https://github.com/$SOURCE/$SOURCE/archive/$VERSION.tar.gz" |
pascal@21879 | 14 |
pascal@21879 | 15 DEPENDS="py3k" |
pascal@21879 | 16 BUILD_DEPENDS="$DEPENDS py3k-dev" |
pascal@21879 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;/[0-9]a[0-9]/d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pascal@21879 | 24 # Rules to configure and make the package. |
pascal@21879 | 25 compile_rules() |
pascal@21879 | 26 { |
pascal@21879 | 27 python3 setup.py build && |
pascal@21879 | 28 python3 setup.py install --root=$DESTDIR |
pascal@21879 | 29 } |
pascal@21879 | 30 |
pascal@21879 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21879 | 32 genpkg_rules() |
pascal@21879 | 33 { |
pascal@21879 | 34 mkdir -p $fs |
pascal@21879 | 35 cp -a $install/usr $fs |
pascal@21879 | 36 } |