wok-6.x annotate python-beaker/receipt @ rev 25445
itaka: fix wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 06 07:38:52 2022 +0000 (2022-09-06) |
parents | 172ca2047cd7 |
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@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;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
taziden@3777 | 24 # Rules to configure and make the package. |
taziden@3777 | 25 compile_rules() |
taziden@3777 | 26 { |
pascal@15378 | 27 python setup.py install --root=$DESTDIR |
taziden@3777 | 28 } |
taziden@3777 | 29 |
taziden@3777 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
taziden@3777 | 31 genpkg_rules() |
taziden@3777 | 32 { |
Hans-G?nter@23466 | 33 cp -a $install/usr/ $fs |
taziden@3777 | 34 } |