wok annotate python-foolscap/receipt @ rev 24648
updated hplip (3.21.8 -> 3.22.2)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 10 14:02:17 2022 +0100 (2022-03-10) |
parents | 11746b27e6b1 |
children |
rev | line source |
---|---|
pascal@18222 | 1 # SliTaz package receipt. |
pascal@18222 | 2 |
pascal@18222 | 3 PACKAGE="python-foolscap" |
Hans-G?nter@23484 | 4 VERSION="0.13.2" |
pascal@18222 | 5 CATEGORY="development" |
pascal@18222 | 6 SHORT_DESC="Foolscap contains an RPC protocol for Twisted.." |
pascal@18222 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18334 | 8 LICENSE="MIT" |
pascal@18222 | 9 WEB_SITE="https://pypi.python.org/pypi/foolscap" |
Hans-G?nter@23484 | 10 |
pascal@18222 | 11 SOURCE="foolscap" |
pascal@18222 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23484 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/f/$SOURCE/$TARBALL" |
pascal@18222 | 14 |
pascal@18222 | 15 DEPENDS="python" |
Hans-G?nter@23484 | 16 BUILD_DEPENDS="python-dev python-setuptools" |
pascal@18222 | 17 |
pascal@24391 | 18 # What is the latest version available today? |
pascal@24391 | 19 current_version() |
pascal@24391 | 20 { |
pascal@24391 | 21 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ |
pascal@24391 | 22 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" |
pascal@24391 | 23 } |
pascal@24391 | 24 |
pascal@18222 | 25 # Rules to configure and make the package. |
pascal@18222 | 26 compile_rules() |
pascal@18222 | 27 { |
pascal@18222 | 28 python setup.py install --prefix=/usr --root=$DESTDIR |
pascal@18222 | 29 } |
pascal@18222 | 30 |
pascal@18222 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18222 | 32 genpkg_rules() |
pascal@18222 | 33 { |
Hans-G?nter@23484 | 34 cp -a $install/usr $fs |
pascal@18222 | 35 } |