wok annotate python-docopt/receipt @ rev 20516
Porting from SliTaz Next: mbedtls, dislocker.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 10:40:07 2018 +0200 (2018-11-02) |
parents | b68452d41125 |
children | 5d50a02468c7 |
rev | line source |
---|---|
paul@18812 | 1 # SliTaz package receipt. |
paul@18812 | 2 |
paul@18812 | 3 PACKAGE="python-docopt" |
paul@18812 | 4 SOURCE="docopt" |
paul@18812 | 5 VERSION="0.6.2" |
paul@18812 | 6 CATEGORY="development" |
paul@18812 | 7 SHORT_DESC="Pythonic argument parser, that will make you smile." |
paul@18812 | 8 MAINTAINER="paul@slitaz.org" |
paul@18812 | 9 LICENSE="MIT" |
paul@18812 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
paul@18812 | 11 WEB_SITE="http://docopt.org/" |
paul@18812 | 12 WGET_URL="https://pypi.python.org/packages/source/d/$SOURCE/$TARBALL" |
paul@18812 | 13 |
paul@18812 | 14 DEPENDS="python" |
paul@18813 | 15 BUILD_DEPENDS="wget setuptools python-dev" |
paul@18812 | 16 |
paul@18812 | 17 # Rules to configure and make the package. |
paul@18812 | 18 compile_rules() |
paul@18812 | 19 { |
paul@18812 | 20 python setup.py install --root=$DESTDIR |
paul@18812 | 21 } |
paul@18812 | 22 |
paul@18812 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@18812 | 24 genpkg_rules() |
paul@18812 | 25 { |
paul@18812 | 26 cp -a $install/usr $fs |
paul@18812 | 27 } |
paul@18812 | 28 |