wok annotate py3k-setuptools_scm/receipt @ rev 24407

updated clamav and clamav-dev again (0.102.3 -> 0.104.2)
author Hans-G?nter Theisgen
date Wed Feb 09 14:12:35 2022 +0100 (2022-02-09)
parents 7d333aaabc41
children
rev   line source
pascal@21879 1 # SliTaz package receipt.
pascal@21879 2
pascal@21879 3 PACKAGE="py3k-setuptools_scm"
pascal@21879 4 VERSION="3.3.3"
pascal@21879 5 CATEGORY="development"
pascal@21879 6 SHORT_DESC="The blessed package to manage your versions by scm tags"
pascal@21879 7 MAINTAINER="developer@slitaz.org"
pascal@21879 8 LICENSE="MIT"
pascal@21879 9 WEB_SITE="https://github.com/pypa/setuptools_scm/"
pascal@21879 10
pascal@21879 11 SOURCE="setuptools_scm"
pascal@21879 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@21879 13 WGET_URL="https://files.pythonhosted.org/packages/83/44/53cad68ce686585d12222e6769682c4bdb9686808d2739671f9175e2938b/$TARBALL"
pascal@21879 14
pascal@21879 15 DEPENDS="py3k"
pascal@21879 16 BUILD_DEPENDS="py3k-dev py3k"
pascal@21879 17
pascal@24308 18 # What is the latest version available today?
pascal@24308 19 current_version()
pascal@24308 20 {
pascal@24308 21 wget -O - $WEB_SITE/tags 2>/dev/null | \
pascal@24308 22 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
pascal@24308 23 }
pascal@24308 24
pascal@21879 25 # Rules to configure and make the package.
pascal@21879 26 compile_rules()
pascal@21879 27 {
pascal@21879 28 python3 setup.py build &&
pascal@21879 29 python3 setup.py install --root=$DESTDIR
pascal@21879 30 }
pascal@21879 31
pascal@21879 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@21879 33 genpkg_rules()
pascal@21879 34 {
pascal@21879 35 mkdir -p $fs
pascal@21879 36 cp -a $install/usr $fs
pascal@21879 37 }