wok annotate tinypy/receipt @ rev 24667
updated inotify-tools (3.20.2.2 -> 3.22.1.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 16:18:25 2022 +0100 (2022-03-11) |
parents | 23c3aed67cd9 |
children | 1805f71c5d9f |
rev | line source |
---|---|
pankso@4323 | 1 # SliTaz package receipt. |
pankso@4323 | 2 |
pankso@4323 | 3 PACKAGE="tinypy" |
pankso@4323 | 4 VERSION="1.1" |
pankso@4323 | 5 CATEGORY="development" |
pankso@4323 | 6 SHORT_DESC="A minimalist implementation of Python." |
pankso@4323 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15601 | 8 LICENSE="MIT" |
pankso@4323 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4323 | 10 WEB_SITE="http://www.tinypy.org/" |
pankso@4323 | 11 WGET_URL="http://tinypy.googlecode.com/files/$TARBALL" |
jozee@4973 | 12 TAGS="python" |
pankso@4323 | 13 |
pascal@15601 | 14 DEPENDS="glibc-base" |
pascal@15601 | 15 BUILD_DEPENDS="python-dev" |
pascal@15601 | 16 |
pascal@24462 | 17 # What is the latest version available today? |
pascal@24462 | 18 current_version() |
pascal@24462 | 19 { |
pascal@24462 | 20 wget -O - https://github.com/philhassey/tinypy/tags 2>/dev/null | \ |
pascal@24462 | 21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24462 | 22 } |
pascal@24462 | 23 |
pankso@4323 | 24 # Rules to configure and make the package. |
pankso@4323 | 25 compile_rules() |
pankso@4323 | 26 { |
pankso@4323 | 27 cd $src |
pankso@4323 | 28 python setup.py linux |
pankso@4323 | 29 } |
pankso@4323 | 30 |
pankso@4323 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4323 | 32 genpkg_rules() |
pankso@4323 | 33 { |
pankso@4323 | 34 mkdir -p $fs/usr/bin |
pankso@4323 | 35 cp -a $src/build/tinypy $fs/usr/bin |
pankso@4323 | 36 } |