wok annotate python-attrs/receipt @ rev 22461
Add python-attrs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 27 15:00:05 2019 +0100 (2019-12-27) |
parents | |
children | 2f230197370e |
rev | line source |
---|---|
pascal@22461 | 1 # SliTaz package receipt. |
pascal@22461 | 2 |
pascal@22461 | 3 PACKAGE="python-attrs" |
pascal@22461 | 4 SOURCE="attrs" |
pascal@22461 | 5 VERSION="19.3.0" |
pascal@22461 | 6 CATEGORY="development" |
pascal@22461 | 7 SHORT_DESC="Classes Without Boilerplate" |
pascal@22461 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@22461 | 9 LICENSE="MIT" |
pascal@22461 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@22461 | 11 WEB_SITE="http://www.attrs.org/" |
pascal@22461 | 12 WGET_URL="https://files.pythonhosted.org/packages/98/c3/2c227e66b5e896e15ccdae2e00bbc69aa46e9a8ce8869cc5fa96310bf612/$TARBALL" |
pascal@22461 | 13 |
pascal@22461 | 14 DEPENDS="python" |
pascal@22461 | 15 BUILD_DEPENDS="python-setuptools" |
pascal@22461 | 16 |
pascal@22461 | 17 # Rules to configure and make the package. |
pascal@22461 | 18 compile_rules() |
pascal@22461 | 19 { |
pascal@22461 | 20 python setup.py build && |
pascal@22461 | 21 python setup.py install --root=$DESTDIR |
pascal@22461 | 22 } |
pascal@22461 | 23 |
pascal@22461 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@22461 | 25 genpkg_rules() |
pascal@22461 | 26 { |
pascal@22461 | 27 mkdir -p $fs |
pascal@22461 | 28 cp -a $install/usr $fs |
pascal@22461 | 29 } |