wok diff python-pbr/receipt @ rev 23592
created recipe for python-pbr
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 08 11:05:31 2020 +0100 (2020-04-08) |
parents | |
children | 1df6fa555414 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-pbr/receipt Wed Apr 08 11:05:31 2020 +0100 1.3 @@ -0,0 +1,28 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-pbr" 1.7 +VERSION="5.4.5" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Python Build Reasonableness." 1.10 +MAINTAINER="maintainer@slitaz.org" 1.11 +LICENSE="Apache-2.0" 1.12 +WEB_SITE="https://pypi.org/project/pbr/" 1.13 + 1.14 +SOURCE="pbr" 1.15 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.16 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" 1.17 + 1.18 +DEPENDS="python" 1.19 +BUILD_DEPENDS="python python-setuptools" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + python setup.py install --root=$DESTDIR 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + cp -a $install/usr $fs/usr 1.31 +}