wok-current view roundup/receipt @ rev 25420

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 08 07:39:58 2022 +0000 (2022-08-08)
parents b072c211925b
children
line source
1 # SliTaz package receipt.
3 PACKAGE="roundup"
4 VERSION="2.2.0"
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="MIT"
9 WEB_SITE="https://www.roundup-tracker.org"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://files.pythonhosted.org/packages/source/${PACKAGE:0:1}/$PACKAGE/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-setuptools"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://pypi.org/project/roundup/ 2>/dev/null | \
21 sed '/roundup [0-9]/!d;s|.*roundup ||'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py build &&
28 python setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
36 cp -a $install/usr/share/roundup $fs/usr/share
37 cook_copy_folders bin
38 cook_copy_folders lib
39 }