wok rev 22102
Add python-attr
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 01 15:22:59 2019 +0100 (2019-11-01) |
parents | 20db16816fc2 |
children | 07e5f46bebd3 |
files | python-attr/receipt python-incremental/receipt twisted/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-attr/receipt Fri Nov 01 15:22:59 2019 +0100 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 +}
2.1 --- a/python-incremental/receipt Fri Nov 01 15:17:45 2019 +0100 2.2 +++ b/python-incremental/receipt Fri Nov 01 15:22:59 2019 +0100 2.3 @@ -12,6 +12,7 @@ 2.4 WGET_URL="$WEB_SITE/archive/$TARBALL" 2.5 2.6 DEPENDS="python" 2.7 +BUILD_DEPENDS="python-setuptools" 2.8 2.9 # Rules to configure and make the package. 2.10 compile_rules()
3.1 --- a/twisted/receipt Fri Nov 01 15:17:45 2019 +0100 3.2 +++ b/twisted/receipt Fri Nov 01 15:22:59 2019 +0100 3.3 @@ -12,7 +12,7 @@ 3.4 TARBALL="$SOURCE-$VERSION.tar.bz2" 3.5 WGET_URL="https://twistedmatrix.com/Releases/Twisted/${VERSION%.*}/$TARBALL" 3.6 3.7 -DEPENDS="python-incremental zopeinterface" 3.8 +DEPENDS="python-incremental python-attr zopeinterface" 3.9 BUILD_DEPENDS="python python-dev python-setuptools zopeinterface" 3.10 3.11 # Rules to configure and make the package.