wok-6.x view python-attr/receipt @ rev 24723

updated libcap, libcap-dev and libcap-pam (2.33 -> 2.63)
author Hans-G?nter Theisgen
date Tue Mar 15 10:34:20 2022 +0100 (2022-03-15)
parents 2042c3181dc5
children
line source
1 # SliTaz package receipt.
3 PACKAGE="python-attr"
4 SOURCE="attr"
5 VERSION="0.3.1"
6 CATEGORY="development"
7 SHORT_DESC="Simple decorator to set attributes of target function or class in a DRY way"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://github.com/denis-ryzhkov/attr"
12 WGET_URL="https://files.pythonhosted.org/packages/de/be/ddc7f84d4e087144472a38a373d3e319f51a6faf6e5fc1ae897173675f21/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-setuptools"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/attr version/!d;s|.*version ||;s|<.*||'
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
35 cp -a $install/usr $fs
36 }