# HG changeset patch # User Paul Issott # Date 1452799556 0 # Node ID b68452d41125492a5804ca6c17bb9212f11b242f # Parent aab65e688f53b87ebf7bdb9182131f977236e20a Add python-docopt diff -r aab65e688f53 -r b68452d41125 python-docopt/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-docopt/receipt Thu Jan 14 19:25:56 2016 +0000 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="python-docopt" +SOURCE="docopt" +VERSION="0.6.2" +CATEGORY="development" +SHORT_DESC="Pythonic argument parser, that will make you smile." +MAINTAINER="paul@slitaz.org" +LICENSE="MIT" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://docopt.org/" +WGET_URL="https://pypi.python.org/packages/source/d/$SOURCE/$TARBALL" + +DEPENDS="python" +BUILD_DEPENDS="wget python-dev" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs +} +