wok-6.x view roundup/receipt @ rev 24459
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 16 11:53:30 2022 +0000 (2022-02-16) |
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 }