wok diff python-random2/receipt @ rev 24184
updated perl-class-singleton (1.5 -> 1.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 14:00:12 2021 +0100 (2021-12-31) |
parents | |
children | 1df6fa555414 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-random2/receipt Fri Dec 31 14:00:12 2021 +0100 1.3 @@ -0,0 +1,28 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-random2" 1.7 +VERSION="1.0.1" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Python 3 compatible port of Python 2 random module." 1.10 +MAINTAINER="maintainer@slitaz.org" 1.11 +LICENSE="Python" 1.12 +WEB_SITE="https://pypi.org/project/random2/" 1.13 + 1.14 +SOURCE="random2" 1.15 +TARBALL="$SOURCE-$VERSION.zip" 1.16 +WGET_URL="https://files.pythonhosted.org/packages/source/r/$SOURCE/$TARBALL" 1.17 + 1.18 +DEPENDS="python" 1.19 +BUILD_DEPENDS="python-dev 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 1.31 +}