wok view python-docopt/receipt @ rev 25706

BootProg/boot32.asm: add int 21h services 02h, 09h, 25h, 35h
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 26 17:36:15 2024 +0000 (4 months ago)
parents 5d50a02468c7
children
line source
1 # SliTaz package receipt.
3 PACKAGE="python-docopt"
4 SOURCE="docopt"
5 VERSION="0.6.2"
6 CATEGORY="development"
7 SHORT_DESC="Pythonic argument parser, that will make you smile."
8 MAINTAINER="paul@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://docopt.org/"
12 WGET_URL="https://pypi.python.org/packages/source/d/$SOURCE/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="wget python-setuptools python-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \
21 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 }