# HG changeset patch # User Hans-Günter Theisgen # Date 1586340331 -3600 # Node ID eb4d3901b5c77829edeee4a944aba37c32b4f6e4 # Parent c551e38d57d51e433a2b968e2bb0c466c521b556 created recipe for python-pbr diff -r c551e38d57d5 -r eb4d3901b5c7 python-pbr/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pbr/receipt Wed Apr 08 11:05:31 2020 +0100 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="python-pbr" +VERSION="5.4.5" +CATEGORY="development" +SHORT_DESC="Python Build Reasonableness." +MAINTAINER="maintainer@slitaz.org" +LICENSE="Apache-2.0" +WEB_SITE="https://pypi.org/project/pbr/" + +SOURCE="pbr" +TARBALL="$SOURCE-$VERSION.tar.gz" +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" + +DEPENDS="python" +BUILD_DEPENDS="python python-setuptools" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs/usr +}