wok-6.x annotate python-pip/receipt @ rev 24392
updated cacerts (20200522 -> 20220208)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 08 07:48:00 2022 +0100 (2022-02-08) |
parents | 5ea0ce1cecc0 |
children | 797927236536 |
rev | line source |
---|---|
pascal@21199 | 1 # SliTaz package receipt. |
pascal@21199 | 2 |
pascal@21199 | 3 PACKAGE="python-pip" |
pascal@21199 | 4 SOURCE="pip" |
Hans-G?nter@23529 | 5 VERSION="20.0.2" |
pascal@21199 | 6 CATEGORY="development" |
Hans-G?nter@23529 | 7 SHORT_DESC="The PyPA recommended tool for installing Python packages." |
pascal@21199 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@21199 | 9 LICENSE="MIT" |
Hans-G?nter@23529 | 10 WEB_SITE="https://pip.pypa.io/" |
Hans-G?nter@23529 | 11 |
pascal@21199 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@21199 | 13 WGET_URL="https://github.com/pypa/pip/archive/$VERSION.tar.gz" |
pascal@21199 | 14 |
pascal@21200 | 15 DEPENDS="python" |
Hans-G?nter@23529 | 16 BUILD_DEPENDS="python python-setuptools" |
pascal@21199 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24299 | 20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pascal@21199 | 24 # Rules to configure and make the package. |
pascal@21199 | 25 compile_rules() |
pascal@21199 | 26 { |
pascal@21199 | 27 python setup.py build && |
pascal@21199 | 28 python setup.py install --root=$DESTDIR |
pascal@21199 | 29 } |
pascal@21199 | 30 |
pascal@21199 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21199 | 32 genpkg_rules() |
pascal@21199 | 33 { |
Hans-G?nter@23529 | 34 cp -a $install/usr $fs |
pascal@21199 | 35 } |