wok annotate python-beaker/receipt @ rev 25696
created recipe for dool
author | Hans-G?nter Theisgen |
---|---|
date | Sat May 11 17:17:55 2024 +0100 (6 months ago) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
taziden@3777 | 1 # SliTaz package receipt. |
taziden@3777 | 2 |
taziden@3777 | 3 PACKAGE="python-beaker" |
Hans-G?nter@23466 | 4 VERSION="1.11.0" |
taziden@3777 | 5 CATEGORY="development" |
Hans-G?nter@23466 | 6 TAGS="python" |
Hans-G?nter@23466 | 7 SHORT_DESC="Cache and Session Library." |
taziden@3777 | 8 MAINTAINER="taziden@slitaz.org" |
pascal@15378 | 9 LICENSE="BSD" |
pascal@20778 | 10 WEB_SITE="https://pypi.org/project/Beaker" |
Hans-G?nter@23466 | 11 |
Hans-G?nter@23466 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@23466 | 13 WGET_URL="https://github.com/bbangert/beaker/archive/$VERSION.tar.gz" |
taziden@3777 | 14 |
pascal@15378 | 15 DEPENDS="python" |
pascal@21581 | 16 BUILD_DEPENDS="python python-dev python-setuptools" |
pascal@15378 | 17 |
pascal@25601 | 18 # What is the latest version available today? |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25601 | 22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
taziden@3777 | 25 # Rules to configure and make the package. |
taziden@3777 | 26 compile_rules() |
taziden@3777 | 27 { |
pascal@15378 | 28 python setup.py install --root=$DESTDIR |
taziden@3777 | 29 } |
taziden@3777 | 30 |
taziden@3777 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
taziden@3777 | 32 genpkg_rules() |
taziden@3777 | 33 { |
Hans-G?nter@23466 | 34 cp -a $install/usr/ $fs |
taziden@3777 | 35 } |