wok view python-beaker/receipt @ rev 25769
libmaxminddb, ndpi: add current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 06 09:45:40 2024 +0000 (3 months ago) |
parents | 5ea0ce1cecc0 |
children |
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr/ $fs
35 }