# HG changeset patch # User Pascal Bellard # Date 1572618179 -3600 # Node ID 2042c3181dc59050d93c131f60200a00630821d7 # Parent 20db16816fc27670dcd645ec4485cc223505086e Add python-attr diff -r 20db16816fc2 -r 2042c3181dc5 python-attr/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-attr/receipt Fri Nov 01 15:22:59 2019 +0100 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="python-attr" +SOURCE="attr" +VERSION="0.3.1" +CATEGORY="development" +SHORT_DESC="Simple decorator to set attributes of target function or class in a DRY way" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="MIT" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="https://github.com/denis-ryzhkov/attr" +WGET_URL="https://files.pythonhosted.org/packages/de/be/ddc7f84d4e087144472a38a373d3e319f51a6faf6e5fc1ae897173675f21/$TARBALL" + +DEPENDS="python" +BUILD_DEPENDS="python-setuptools" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py build && + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs + cp -a $install/usr $fs +} diff -r 20db16816fc2 -r 2042c3181dc5 python-incremental/receipt --- a/python-incremental/receipt Fri Nov 01 15:17:45 2019 +0100 +++ b/python-incremental/receipt Fri Nov 01 15:22:59 2019 +0100 @@ -12,6 +12,7 @@ WGET_URL="$WEB_SITE/archive/$TARBALL" DEPENDS="python" +BUILD_DEPENDS="python-setuptools" # Rules to configure and make the package. compile_rules() diff -r 20db16816fc2 -r 2042c3181dc5 twisted/receipt --- a/twisted/receipt Fri Nov 01 15:17:45 2019 +0100 +++ b/twisted/receipt Fri Nov 01 15:22:59 2019 +0100 @@ -12,7 +12,7 @@ TARBALL="$SOURCE-$VERSION.tar.bz2" WGET_URL="https://twistedmatrix.com/Releases/Twisted/${VERSION%.*}/$TARBALL" -DEPENDS="python-incremental zopeinterface" +DEPENDS="python-incremental python-attr zopeinterface" BUILD_DEPENDS="python python-dev python-setuptools zopeinterface" # Rules to configure and make the package.