wok view python-backports_abc/receipt @ rev 24740
updated libexif-gtk and libexif-gtk-dev (0.4.0 -> 0.5.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 10:07:05 2022 +0100 (2022-03-16) |
parents | 1df6fa555414 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-backports_abc"
4 SOURCE="backports_abc"
5 VERSION="0.5"
6 CATEGORY="development"
7 SHORT_DESC="A backport of recent additions to the 'collections.abc' module"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://pypi.org/project/$SOURCE/"
12 WGET_URL="https://files.pythonhosted.org/packages/68/3c/1317a9113c377d1e33711ca8de1e80afbaf4a3c950dd0edfaf61f9bfe6d8/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python python-setuptools"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 python setup.py install --root=$DESTDIR
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs
33 }