wok view roundup/receipt @ rev 25113
Use https://download.tuxfamily.org/ for some broken wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 25 14:36:45 2022 +0000 (2022-06-25) |
parents | 05c8d8d9d934 |
children | b072c211925b |
line source
1 # SliTaz package receipt.
3 PACKAGE="roundup"
4 VERSION="1.6.1"
5 CATEGORY="development"
6 SHORT_DESC="Simple-to-use issue-tracking system with command-line, web and e-mail interfaces."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="PSL"
9 WEB_SITE="https://www.roundup-tracker.org"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://files.pythonhosted.org/packages/source/r/$PACKAGE/$TARBALL"
14 DEPENDS="python"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://pypi.org/project/roundup/ 2>/dev/null | \
20 sed '/roundup [0-9]/!d;s|.*roundup ||'
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/usr/share
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib $fs/usr
37 cp -a $install/usr/share/roundup $fs/usr/share
38 }