wok-current annotate python3-pip/receipt @ rev 25634

Mass update, new toolchain gcc 8.3.0, glibc 2.28.0
author Stanislas Leduc <shann@slitaz.org>
date Sun Jan 14 08:12:37 2024 +0000 (20 months ago)
parents
children 5926178cd6fa
rev   line source
shann@25634 1 # SliTaz package receipt.
shann@25634 2
shann@25634 3 PACKAGE="python3-pip"
shann@25634 4 VERSION="21.3.1"
shann@25634 5 CATEGORY="development"
shann@25634 6 SHORT_DESC="The PyPA recommended tool for installing Python packages."
shann@25634 7 MAINTAINER="pascal.bellard@slitaz.org"
shann@25634 8 LICENSE="MIT"
shann@25634 9 WEB_SITE="https://pypi.org/project/pip/"
shann@25634 10 REPOLOGY="python:pip"
shann@25634 11
shann@25634 12 SOURCE="pip"
shann@25634 13 TARBALL="$SOURCE-$VERSION.tar.gz"
shann@25634 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
shann@25634 15
shann@25634 16 DEPENDS="python3"
shann@25634 17 BUILD_DEPENDS="python3 python3-setuptools"
shann@25634 18
shann@25634 19 current_version()
shann@25634 20 {
shann@25634 21 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
shann@25634 22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
shann@25634 23 }
shann@25634 24
shann@25634 25 # Rules to configure and make the package.
shann@25634 26 compile_rules()
shann@25634 27 {
shann@25634 28 python3 setup.py build &&
shann@25634 29 python3 setup.py install --root=$DESTDIR
shann@25634 30 }
shann@25634 31
shann@25634 32 # Rules to gen a SliTaz package suitable for Tazpkg.
shann@25634 33 genpkg_rules()
shann@25634 34 {
shann@25634 35 cp -a $install/usr $fs
shann@25634 36 }