wok-next annotate python-cssselect/receipt @ rev 20885
Update python (2.7.15)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 13 13:52:56 2018 +0300 (2018-07-13) |
parents | 6c73b944e8dd |
children | 8b5b2a6d07b8 |
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" |
al@20885 | 9 WEB_SITE="http://pypi.python.org/pypi/cssselect" |
al@20885 | 10 REPOLOGY="python:cssselect" |
al@20885 | 11 |
monghitri@13954 | 12 SOURCE="cssselect" |
monghitri@13954 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
monghitri@13954 | 14 WGET_URL="http://pypi.python.org/packages/source/c/$SOURCE/$TARBALL" |
pascal@15378 | 15 |
monghitri@13954 | 16 DEPENDS="python" |
al@20444 | 17 BUILD_DEPENDS="python" |
monghitri@13954 | 18 |
monghitri@13954 | 19 # Rules to configure and make the package. |
monghitri@13954 | 20 compile_rules() |
monghitri@13954 | 21 { |
monghitri@13954 | 22 python setup.py install --root=$DESTDIR |
monghitri@13954 | 23 } |
monghitri@13954 | 24 |
monghitri@13954 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
monghitri@13954 | 26 genpkg_rules() |
monghitri@13954 | 27 { |
monghitri@13954 | 28 cp -a $install/usr $fs |
monghitri@13954 | 29 } |