wok annotate python-backports_abc/receipt @ rev 25056
linux-wireless: add r8192ee.ko & rtl8821ae.ko
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 06 10:49:51 2022 +0000 (2022-06-06) |
parents | 1df6fa555414 |
children |
rev | line source |
---|---|
pascal@20448 | 1 # SliTaz package receipt. |
pascal@20448 | 2 |
pascal@20448 | 3 PACKAGE="python-backports_abc" |
pascal@20448 | 4 SOURCE="backports_abc" |
pascal@20448 | 5 VERSION="0.5" |
pascal@20448 | 6 CATEGORY="development" |
pascal@20448 | 7 SHORT_DESC="A backport of recent additions to the 'collections.abc' module" |
pascal@20448 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20448 | 9 LICENSE="MIT" |
pascal@20448 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20448 | 11 WEB_SITE="https://pypi.org/project/$SOURCE/" |
pascal@20448 | 12 WGET_URL="https://files.pythonhosted.org/packages/68/3c/1317a9113c377d1e33711ca8de1e80afbaf4a3c950dd0edfaf61f9bfe6d8/$TARBALL" |
pascal@20448 | 13 |
pascal@20448 | 14 DEPENDS="python" |
pascal@21581 | 15 BUILD_DEPENDS="python python-setuptools" |
pascal@20448 | 16 |
pascal@24383 | 17 # What is the latest version available today? |
pascal@24288 | 18 current_version() |
pascal@24288 | 19 { |
pascal@24383 | 20 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" |
pascal@24288 | 21 } |
pascal@24288 | 22 |
pascal@20448 | 23 # Rules to configure and make the package. |
pascal@20448 | 24 compile_rules() |
pascal@20448 | 25 { |
pascal@20448 | 26 python setup.py install --root=$DESTDIR |
pascal@20448 | 27 } |
pascal@20448 | 28 |
pascal@20448 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20448 | 30 genpkg_rules() |
pascal@20448 | 31 { |
pascal@20448 | 32 cp -a $install/usr $fs |
pascal@20448 | 33 } |