wok annotate python-kid/receipt @ rev 24756
poppler: added build dependency gtk-doc
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 17 09:00:25 2022 +0100 (2022-03-17) |
parents | 814362194a8d |
children |
rev | line source |
---|---|
pankso@3374 | 1 # SliTaz package receipt. |
pankso@3374 | 2 |
pankso@3374 | 3 PACKAGE="python-kid" |
pankso@3374 | 4 VERSION="0.9.6" |
pankso@3374 | 5 CATEGORY="development" |
pankso@3374 | 6 SHORT_DESC="Pythonic, XML-based Templating." |
pankso@3374 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15378 | 8 LICENSE="MIT" |
pankso@3374 | 9 SOURCE="kid" |
pankso@3374 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@16477 | 11 WEB_SITE="https://pypi.python.org/pypi/kid/" |
pankso@16477 | 12 WGET_URL="https://pypi.python.org/packages/source/k/kid/$TARBALL" |
pascal@15378 | 13 TAGS="python" |
pankso@16477 | 14 HOST_ARCH="i486 arm" |
pascal@15378 | 15 |
pankso@3374 | 16 DEPENDS="python" |
pascal@21582 | 17 BUILD_DEPENDS="python python-dev python-setuptools" |
pankso@3374 | 18 |
pascal@24391 | 19 # What is the latest version available today? |
pascal@24391 | 20 current_version() |
pascal@24391 | 21 { |
pascal@24391 | 22 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ |
pascal@24391 | 23 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" |
pascal@24391 | 24 } |
pascal@24391 | 25 |
pankso@3374 | 26 # Rules to configure and make the package. |
pankso@3374 | 27 compile_rules() |
pankso@3374 | 28 { |
pascal@15378 | 29 python setup.py install --root=$DESTDIR |
pankso@3374 | 30 } |
pankso@3374 | 31 |
pankso@3374 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3374 | 33 genpkg_rules() |
pankso@3374 | 34 { |
pascal@15378 | 35 cp -a $install/usr $fs |
pankso@3374 | 36 } |
al@18077 | 37 |