wok annotate python-random2/receipt @ rev 24245
updated perl-net-server (2.009 -> 2.010)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 07:43:29 2022 +0100 (2022-01-02) |
parents | |
children | 1df6fa555414 |
rev | line source |
---|---|
Hans-G?nter@23846 | 1 # SliTaz package receipt. |
Hans-G?nter@23846 | 2 |
Hans-G?nter@23846 | 3 PACKAGE="python-random2" |
Hans-G?nter@23846 | 4 VERSION="1.0.1" |
Hans-G?nter@23846 | 5 CATEGORY="development" |
Hans-G?nter@23846 | 6 SHORT_DESC="Python 3 compatible port of Python 2 random module." |
Hans-G?nter@23846 | 7 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@23846 | 8 LICENSE="Python" |
Hans-G?nter@23846 | 9 WEB_SITE="https://pypi.org/project/random2/" |
Hans-G?nter@23846 | 10 |
Hans-G?nter@23846 | 11 SOURCE="random2" |
Hans-G?nter@23846 | 12 TARBALL="$SOURCE-$VERSION.zip" |
Hans-G?nter@23846 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/r/$SOURCE/$TARBALL" |
Hans-G?nter@23846 | 14 |
Hans-G?nter@23846 | 15 DEPENDS="python" |
Hans-G?nter@23846 | 16 BUILD_DEPENDS="python-dev python-setuptools" |
Hans-G?nter@23846 | 17 |
Hans-G?nter@23846 | 18 # Rules to configure and make the package. |
Hans-G?nter@23846 | 19 compile_rules() |
Hans-G?nter@23846 | 20 { |
Hans-G?nter@23846 | 21 python setup.py install --root=$DESTDIR |
Hans-G?nter@23846 | 22 } |
Hans-G?nter@23846 | 23 |
Hans-G?nter@23846 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@23846 | 25 genpkg_rules() |
Hans-G?nter@23846 | 26 { |
Hans-G?nter@23846 | 27 cp -a $install/usr $fs |
Hans-G?nter@23846 | 28 } |