wok view python-beaker/receipt @ rev 25539
Up perl-test-compile (3.1.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 09 12:11:13 2023 +0000 (20 months ago) |
parents | 172ca2047cd7 |
children | 0262035dc1e7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-beaker"
4 VERSION="1.11.0"
5 CATEGORY="development"
6 TAGS="python"
7 SHORT_DESC="Cache and Session Library."
8 MAINTAINER="taziden@slitaz.org"
9 LICENSE="BSD"
10 WEB_SITE="https://pypi.org/project/Beaker"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/bbangert/beaker/archive/$VERSION.tar.gz"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-dev python-setuptools"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr/ $fs
34 }