wok-6.x view python-setproctitle/receipt @ rev 24343

updated azpainter (2.1.5 -> 3.0.4)
author Hans-G?nter Theisgen
date Mon Jan 31 14:36:35 2022 +0100 (2022-01-31)
parents dfc6cdc5624e
children 076f424196b2
line source
1 # SliTaz package receipt.
3 PACKAGE="python-setproctitle"
4 VERSION="1.1.10"
5 CATEGORY="development"
6 SHORT_DESC="A Python module to customize the process title"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://pypi.org/project/setproctitle/"
10 SOURCE="setproctitle"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev"
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 python setup.py install --prefix=/usr --root=$DESTDIR
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/usr $fs/
32 }