wok annotate python-incremental/receipt @ rev 25212

updated python-passlib (1.7.2 -> 1.7.4)
author Hans-G?nter Theisgen
date Wed Jul 13 15:14:14 2022 +0100 (2022-07-13)
parents 5ea0ce1cecc0
children
rev   line source
pascal@22099 1 # SliTaz package receipt.
pascal@22099 2
pascal@22099 3 PACKAGE="python-incremental"
pascal@22099 4 SOURCE="incremental"
pascal@22099 5 VERSION="17.5.0"
pascal@22099 6 CATEGORY="development"
pascal@22099 7 SHORT_DESC="A library for versioning your Python projects"
pascal@22099 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@22099 9 LICENSE="BSD"
pascal@22099 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@22099 11 WEB_SITE="https://github.com/twisted/incremental"
pascal@22099 12 WGET_URL="$WEB_SITE/archive/$TARBALL"
pascal@22099 13
pascal@22099 14 DEPENDS="python"
pascal@22102 15 BUILD_DEPENDS="python-setuptools"
pascal@22099 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24299 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/incremental-\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
pascal@22099 23 # Rules to configure and make the package.
pascal@22099 24 compile_rules()
pascal@22099 25 {
pascal@22099 26 python setup.py build &&
pascal@22099 27 python setup.py install --root=$DESTDIR
pascal@22099 28 }
pascal@22099 29
pascal@22099 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@22099 31 genpkg_rules()
pascal@22099 32 {
pascal@22099 33 mkdir -p $fs
pascal@22099 34 cp -a $install/usr $fs
pascal@22099 35 }