wok rev 23846

created recipe for python-random2
author Hans-G?nter Theisgen
date Sat Jun 13 15:49:44 2020 +0100 (2020-06-13)
parents fa1a940c727c
children 54ab3852dc4f
files python-random2/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-random2/receipt	Sat Jun 13 15:49:44 2020 +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 +}