wok-6.x annotate python-cssselect/receipt @ rev 21581
Use python-setuptools as bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 19 19:23:11 2019 +0200 (2019-05-19) |
parents | 16df76e1fc6a |
children | 67580a057993 |
rev | line source |
---|---|
monghitri@13954 | 1 # SliTaz package receipt. |
monghitri@13954 | 2 |
monghitri@13954 | 3 PACKAGE="python-cssselect" |
monghitri@13954 | 4 VERSION="0.7.1" |
monghitri@13954 | 5 CATEGORY="development" |
monghitri@13954 | 6 SHORT_DESC="parses CSS3 Selectors and translates them to XPath." |
monghitri@13954 | 7 MAINTAINER="monghitri@aruba.it" |
pascal@15378 | 8 LICENSE="BSD" |
monghitri@13954 | 9 SOURCE="cssselect" |
monghitri@13954 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
monghitri@13954 | 11 WEB_SITE="http://pypi.python.org/pypi/cssselect" |
monghitri@13954 | 12 WGET_URL="http://pypi.python.org/packages/source/c/$SOURCE/$TARBALL" |
pascal@15378 | 13 |
monghitri@13954 | 14 DEPENDS="python" |
pascal@21581 | 15 BUILD_DEPENDS="python python-setuptools" |
monghitri@13954 | 16 |
monghitri@13954 | 17 # Rules to configure and make the package. |
monghitri@13954 | 18 compile_rules() |
monghitri@13954 | 19 { |
monghitri@13954 | 20 python setup.py install --root=$DESTDIR |
monghitri@13954 | 21 } |
monghitri@13954 | 22 |
monghitri@13954 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
monghitri@13954 | 24 genpkg_rules() |
monghitri@13954 | 25 { |
monghitri@13954 | 26 cp -a $install/usr $fs |
monghitri@13954 | 27 } |