wok-current annotate python-pip/receipt @ rev 21199
Add python-pip & python-scapy
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 06 16:53:25 2019 +0200 (2019-04-06) |
parents | |
children | 5e106c69c241 |
rev | line source |
---|---|
pascal@21199 | 1 # SliTaz package receipt. |
pascal@21199 | 2 |
pascal@21199 | 3 PACKAGE="python-pip" |
pascal@21199 | 4 SOURCE="pip" |
pascal@21199 | 5 VERSION="19.0.3" |
pascal@21199 | 6 CATEGORY="development" |
pascal@21199 | 7 SHORT_DESC="The PyPA recommended tool for installing Python packages" |
pascal@21199 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@21199 | 9 LICENSE="MIT" |
pascal@21199 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@21199 | 11 WEB_SITE="https://pip.pypa.io/" |
pascal@21199 | 12 WGET_URL="https://github.com/pypa/pip/archive/$VERSION.tar.gz" |
pascal@21199 | 13 |
pascal@21199 | 14 BUILD_DEPENDS="python" |
pascal@21199 | 15 |
pascal@21199 | 16 # Rules to configure and make the package. |
pascal@21199 | 17 compile_rules() |
pascal@21199 | 18 { |
pascal@21199 | 19 python setup.py build && |
pascal@21199 | 20 python setup.py install --root=$DESTDIR |
pascal@21199 | 21 } |
pascal@21199 | 22 |
pascal@21199 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21199 | 24 genpkg_rules() |
pascal@21199 | 25 { |
pascal@21199 | 26 cp -a $install/usr $fs |
pascal@21199 | 27 } |