wok-current annotate python-pbr/receipt @ rev 24906
updated minidlna (1.2.1 -> 1.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 14:37:52 2022 +0100 (2022-04-09) |
parents | 1df6fa555414 |
children | 17fa8b024ff7 |
rev | line source |
---|---|
Hans-G?nter@23592 | 1 # SliTaz package receipt. |
Hans-G?nter@23592 | 2 |
Hans-G?nter@23592 | 3 PACKAGE="python-pbr" |
Hans-G?nter@23592 | 4 VERSION="5.4.5" |
Hans-G?nter@23592 | 5 CATEGORY="development" |
Hans-G?nter@23592 | 6 SHORT_DESC="Python Build Reasonableness." |
Hans-G?nter@23592 | 7 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@23592 | 8 LICENSE="Apache-2.0" |
Hans-G?nter@23592 | 9 WEB_SITE="https://pypi.org/project/pbr/" |
Hans-G?nter@23592 | 10 |
Hans-G?nter@23592 | 11 SOURCE="pbr" |
Hans-G?nter@23592 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23592 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
Hans-G?nter@23592 | 14 |
Hans-G?nter@23592 | 15 DEPENDS="python" |
Hans-G?nter@23592 | 16 BUILD_DEPENDS="python python-setuptools" |
Hans-G?nter@23592 | 17 |
pascal@24383 | 18 # What is the latest version available today? |
pascal@24288 | 19 current_version() |
pascal@24288 | 20 { |
pascal@24383 | 21 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" |
pascal@24288 | 22 } |
pascal@24288 | 23 |
Hans-G?nter@23592 | 24 # Rules to configure and make the package. |
Hans-G?nter@23592 | 25 compile_rules() |
Hans-G?nter@23592 | 26 { |
Hans-G?nter@23592 | 27 python setup.py install --root=$DESTDIR |
Hans-G?nter@23592 | 28 } |
Hans-G?nter@23592 | 29 |
Hans-G?nter@23592 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@23592 | 31 genpkg_rules() |
Hans-G?nter@23592 | 32 { |
Hans-G?nter@23592 | 33 cp -a $install/usr $fs/usr |
Hans-G?nter@23592 | 34 } |