wok diff python-attr/receipt @ rev 23982
dog: fix bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 21 13:13:55 2020 +0000 (2020-11-21) |
parents | |
children | 34e801e0eb52 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-attr/receipt Sat Nov 21 13:13:55 2020 +0000 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-attr" 1.7 +SOURCE="attr" 1.8 +VERSION="0.3.1" 1.9 +CATEGORY="development" 1.10 +SHORT_DESC="Simple decorator to set attributes of target function or class in a DRY way" 1.11 +MAINTAINER="pascal.bellard@slitaz.org" 1.12 +LICENSE="MIT" 1.13 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.14 +WEB_SITE="https://github.com/denis-ryzhkov/attr" 1.15 +WGET_URL="https://files.pythonhosted.org/packages/de/be/ddc7f84d4e087144472a38a373d3e319f51a6faf6e5fc1ae897173675f21/$TARBALL" 1.16 + 1.17 +DEPENDS="python" 1.18 +BUILD_DEPENDS="python-setuptools" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + python setup.py build && 1.24 + python setup.py install --root=$DESTDIR 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs 1.31 + cp -a $install/usr $fs 1.32 +}