wok-current diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python3-pip/receipt	Sun Jan 14 08:12:37 2024 +0000
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="python3-pip"
     1.7 +VERSION="21.3.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="The PyPA recommended tool for installing Python packages."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="MIT"
    1.12 +WEB_SITE="https://pypi.org/project/pip/"
    1.13 +REPOLOGY="python:pip"
    1.14 +
    1.15 +SOURCE="pip"
    1.16 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.17 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
    1.18 +
    1.19 +DEPENDS="python3"
    1.20 +BUILD_DEPENDS="python3 python3-setuptools"
    1.21 +
    1.22 +current_version()
    1.23 +{
    1.24 +	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    1.25 +	sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
    1.26 +}
    1.27 +
    1.28 +# Rules to configure and make the package.
    1.29 +compile_rules()
    1.30 +{
    1.31 +	python3 setup.py build &&
    1.32 +	python3 setup.py install --root=$DESTDIR
    1.33 +}
    1.34 +
    1.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 +genpkg_rules()
    1.37 +{
    1.38 +	cp -a $install/usr	$fs
    1.39 +}