wok annotate roundup/receipt @ rev 25403

updated vzctl (3.0.25.1 -> 4.11.1)
author Hans-G?nter Theisgen
date Tue Aug 02 16:35:24 2022 +0100 (2022-08-02)
parents b072c211925b
children
rev   line source
slaxemulator@9622 1 # SliTaz package receipt.
slaxemulator@9622 2
slaxemulator@9622 3 PACKAGE="roundup"
Hans-G?nter@25283 4 VERSION="2.2.0"
slaxemulator@9622 5 CATEGORY="development"
slaxemulator@9622 6 SHORT_DESC="Simple-to-use issue-tracking system with command-line, web and e-mail interfaces."
slaxemulator@9622 7 MAINTAINER="slaxemulator@gmail.com"
Hans-G?nter@25283 8 LICENSE="MIT"
pascal@23974 9 WEB_SITE="https://www.roundup-tracker.org"
Hans-G?nter@21844 10
Hans-G?nter@21844 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@25283 12 WGET_URL="https://files.pythonhosted.org/packages/source/${PACKAGE:0:1}/$PACKAGE/$TARBALL"
Hans-G?nter@21844 13
slaxemulator@9622 14 DEPENDS="python"
Hans-G?nter@25284 15 BUILD_DEPENDS="python-setuptools"
slaxemulator@9622 16
pascal@24459 17 # What is the latest version available today?
pascal@24459 18 current_version()
pascal@24459 19 {
pascal@24459 20 wget -O - https://pypi.org/project/roundup/ 2>/dev/null | \
pascal@24459 21 sed '/roundup [0-9]/!d;s|.*roundup ||'
pascal@24459 22 }
pascal@24459 23
slaxemulator@9622 24 # Rules to configure and make the package.
slaxemulator@9622 25 compile_rules()
slaxemulator@9622 26 {
Hans-G?nter@25283 27 python setup.py build &&
slaxemulator@9622 28 python setup.py install --root=$DESTDIR
slaxemulator@9622 29 }
slaxemulator@9622 30
slaxemulator@9622 31 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@9622 32 genpkg_rules()
slaxemulator@9622 33 {
slaxemulator@9622 34 mkdir -p $fs/usr/share
Hans-G?nter@21844 35
Hans-G?nter@21844 36 cp -a $install/usr/share/roundup $fs/usr/share
Hans-G?nter@25283 37 cook_copy_folders bin
Hans-G?nter@25283 38 cook_copy_folders lib
slaxemulator@9622 39 }