wok view python-cssselect/receipt @ rev 18077

Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 22 17:34:18 2015 +0300 (2015-05-22)
parents fd4f1e692109
children 5d50a02468c7
line source
1 # SliTaz package receipt.
3 PACKAGE="python-cssselect"
4 VERSION="0.7.1"
5 CATEGORY="development"
6 SHORT_DESC="parses CSS3 Selectors and translates them to XPath."
7 MAINTAINER="monghitri@aruba.it"
8 LICENSE="BSD"
9 SOURCE="cssselect"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://pypi.python.org/pypi/cssselect"
12 WGET_URL="http://pypi.python.org/packages/source/c/$SOURCE/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python setuptools"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $install/usr $fs
27 }