wok-current annotate python-pip/receipt @ rev 21200
Add python-pip & python-scapy (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 06 16:58:37 2019 +0200 (2019-04-06) |
parents | 0bfa0a833a34 |
children | aede45d8bcca |
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@21200 | 14 DEPENDS="python" |
pascal@21199 | 15 BUILD_DEPENDS="python" |
pascal@21199 | 16 |
pascal@21199 | 17 # Rules to configure and make the package. |
pascal@21199 | 18 compile_rules() |
pascal@21199 | 19 { |
pascal@21199 | 20 python setup.py build && |
pascal@21199 | 21 python setup.py install --root=$DESTDIR |
pascal@21199 | 22 } |
pascal@21199 | 23 |
pascal@21199 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21199 | 25 genpkg_rules() |
pascal@21199 | 26 { |
pascal@21199 | 27 cp -a $install/usr $fs |
pascal@21199 | 28 } |