wok view python-random2/receipt @ rev 23857

Up exiftool (12.00)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 17 10:08:20 2020 +0000 (2020-06-17)
parents
children 1df6fa555414
line source
1 # SliTaz package receipt.
3 PACKAGE="python-random2"
4 VERSION="1.0.1"
5 CATEGORY="development"
6 SHORT_DESC="Python 3 compatible port of Python 2 random module."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="Python"
9 WEB_SITE="https://pypi.org/project/random2/"
11 SOURCE="random2"
12 TARBALL="$SOURCE-$VERSION.zip"
13 WGET_URL="https://files.pythonhosted.org/packages/source/r/$SOURCE/$TARBALL"
15 DEPENDS="python"
16 BUILD_DEPENDS="python-dev python-setuptools"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr $fs
28 }