# HG changeset patch # User ernia # Date 1359542776 0 # Node ID c208e44467f1ad28565c6f1963a308a6473fc218 # Parent 5cd86c4e4ba2af1a883487c08895c39e1c34a15e add python cssselect diff -r 5cd86c4e4ba2 -r c208e44467f1 python-cssselect/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-cssselect/receipt Wed Jan 30 10:46:16 2013 +0000 @@ -0,0 +1,26 @@ +# SliTaz package receipt. + +PACKAGE="python-cssselect" +VERSION="0.7.1" +CATEGORY="development" +SHORT_DESC="parses CSS3 Selectors and translates them to XPath." +MAINTAINER="monghitri@aruba.it" +SOURCE="cssselect" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://pypi.python.org/pypi/cssselect" +WGET_URL="http://pypi.python.org/packages/source/c/$SOURCE/$TARBALL" +DEPENDS="python" +BUILD_DEPENDS="python setuptools" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs +}