wok-current view python-incremental/receipt @ rev 25667
Up kernel to 5.10.210 and aufs5
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Mar 02 17:27:56 2024 +0000 (8 months ago) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-incremental"
4 SOURCE="incremental"
5 VERSION="17.5.0"
6 CATEGORY="development"
7 SHORT_DESC="A library for versioning your Python projects"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="BSD"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://github.com/twisted/incremental"
12 WGET_URL="$WEB_SITE/archive/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-setuptools"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/incremental-\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 python setup.py build &&
27 python setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs
34 cp -a $install/usr $fs
35 }