wok-current annotate python-attr/receipt @ rev 22500
updated aspell-it again (2.2_20050523-0 -> 2.4_20070901-0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jan 01 09:45:35 2020 +0100 (2020-01-01) |
parents | |
children | 34e801e0eb52 |
rev | line source |
---|---|
pascal@22102 | 1 # SliTaz package receipt. |
pascal@22102 | 2 |
pascal@22102 | 3 PACKAGE="python-attr" |
pascal@22102 | 4 SOURCE="attr" |
pascal@22102 | 5 VERSION="0.3.1" |
pascal@22102 | 6 CATEGORY="development" |
pascal@22102 | 7 SHORT_DESC="Simple decorator to set attributes of target function or class in a DRY way" |
pascal@22102 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@22102 | 9 LICENSE="MIT" |
pascal@22102 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@22102 | 11 WEB_SITE="https://github.com/denis-ryzhkov/attr" |
pascal@22102 | 12 WGET_URL="https://files.pythonhosted.org/packages/de/be/ddc7f84d4e087144472a38a373d3e319f51a6faf6e5fc1ae897173675f21/$TARBALL" |
pascal@22102 | 13 |
pascal@22102 | 14 DEPENDS="python" |
pascal@22102 | 15 BUILD_DEPENDS="python-setuptools" |
pascal@22102 | 16 |
pascal@22102 | 17 # Rules to configure and make the package. |
pascal@22102 | 18 compile_rules() |
pascal@22102 | 19 { |
pascal@22102 | 20 python setup.py build && |
pascal@22102 | 21 python setup.py install --root=$DESTDIR |
pascal@22102 | 22 } |
pascal@22102 | 23 |
pascal@22102 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@22102 | 25 genpkg_rules() |
pascal@22102 | 26 { |
pascal@22102 | 27 mkdir -p $fs |
pascal@22102 | 28 cp -a $install/usr $fs |
pascal@22102 | 29 } |