wok annotate roundup/receipt @ rev 25063
nfs-utils: update web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 07 20:10:22 2022 +0000 (2022-06-07) |
parents | 05c8d8d9d934 |
children | b072c211925b |
rev | line source |
---|---|
slaxemulator@9622 | 1 # SliTaz package receipt. |
slaxemulator@9622 | 2 |
slaxemulator@9622 | 3 PACKAGE="roundup" |
Hans-G?nter@21844 | 4 VERSION="1.6.1" |
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" |
pascal@15610 | 8 LICENSE="PSL" |
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@21844 | 12 WGET_URL="https://files.pythonhosted.org/packages/source/r/$PACKAGE/$TARBALL" |
Hans-G?nter@21844 | 13 |
slaxemulator@9622 | 14 DEPENDS="python" |
slaxemulator@9622 | 15 |
pascal@24459 | 16 # What is the latest version available today? |
pascal@24459 | 17 current_version() |
pascal@24459 | 18 { |
pascal@24459 | 19 wget -O - https://pypi.org/project/roundup/ 2>/dev/null | \ |
pascal@24459 | 20 sed '/roundup [0-9]/!d;s|.*roundup ||' |
pascal@24459 | 21 } |
pascal@24459 | 22 |
slaxemulator@9622 | 23 # Rules to configure and make the package. |
slaxemulator@9622 | 24 compile_rules() |
slaxemulator@9622 | 25 { |
slaxemulator@9622 | 26 python setup.py build |
slaxemulator@9622 | 27 python setup.py install --root=$DESTDIR |
slaxemulator@9622 | 28 } |
slaxemulator@9622 | 29 |
slaxemulator@9622 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9622 | 31 genpkg_rules() |
slaxemulator@9622 | 32 { |
slaxemulator@9622 | 33 mkdir -p $fs/usr/share |
Hans-G?nter@21844 | 34 |
Hans-G?nter@21844 | 35 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21844 | 36 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@21844 | 37 cp -a $install/usr/share/roundup $fs/usr/share |
slaxemulator@9622 | 38 } |