wok-current annotate python-setuptools/receipt @ rev 24849

updated libwebp and libwebp-dev (1.1.0 -> 1.2.2)
author Hans-G?nter Theisgen
date Fri Mar 25 17:27:11 2022 +0100 (2022-03-25)
parents 390cb5dea23a
children 5926178cd6fa
rev   line source
Hans-G?nter@21578 1 # SliTaz package receipt.
Hans-G?nter@21578 2
Hans-G?nter@21578 3 PACKAGE="python-setuptools"
Hans-G?nter@23559 4 VERSION="46.1.3"
Hans-G?nter@21578 5 CATEGORY="development"
Hans-G?nter@21578 6 SHORT_DESC="Easily download, build, install, upgrade, and uninstall Python packages."
Hans-G?nter@23559 7 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@21578 8 LICENSE="MIT"
Hans-G?nter@21578 9 WEB_SITE="https://pypi.org/project/setuptools/"
Hans-G?nter@21578 10
Hans-G?nter@21578 11 SOURCE="setuptools"
Hans-G?nter@21578 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@21578 13 WGET_URL="https://github.com/pypa/$SOURCE/archive/v$VERSION.tar.gz"
Hans-G?nter@21578 14
Hans-G?nter@21578 15 DEPENDS="python"
Hans-G?nter@23559 16 BUILD_DEPENDS="python python-dev"
Hans-G?nter@21578 17
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
Hans-G?nter@21578 24 # Rules to configure and make the package.
Hans-G?nter@21578 25 compile_rules()
Hans-G?nter@21578 26 {
Hans-G?nter@21578 27 python bootstrap.py &&
Hans-G?nter@21578 28 python setup.py build &&
Hans-G?nter@21578 29 python setup.py install --root=$DESTDIR
Hans-G?nter@21578 30 }
Hans-G?nter@21578 31
Hans-G?nter@21578 32 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@21578 33 genpkg_rules()
Hans-G?nter@21578 34 {
Hans-G?nter@23559 35 cp -a $install/usr $fs
Hans-G?nter@21578 36 }