wok annotate python-idle/receipt @ rev 25383
updated units (2.19 -> 2.21)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 17:22:12 2022 +0100 (2022-07-30) |
parents | 0e3b43ca38e6 |
children |
rev | line source |
---|---|
pankso@16494 | 1 # SliTaz package receipt. |
pankso@16494 | 2 |
pankso@16494 | 3 PACKAGE="python-idle" |
Hans-G?nter@25170 | 4 VERSION="2.7.18" |
pankso@16494 | 5 CATEGORY="development" |
Hans-G?nter@23594 | 6 SHORT_DESC="Python GUI IDE using TK Toolkit." |
pankso@16494 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@16660 | 8 LICENSE="PSL" |
pascal@20679 | 9 WEB_SITE="https://www.python.org/" |
Hans-G?nter@23594 | 10 |
Hans-G?nter@23594 | 11 DEPENDS="python tcl tk" |
Hans-G?nter@23594 | 12 WANTED="python" |
Hans-G?nter@23594 | 13 |
pankso@16494 | 14 HOST_ARCH="i486 arm" |
pankso@16494 | 15 |
pankso@16494 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16494 | 17 genpkg_rules() |
pankso@16494 | 18 { |
Hans-G?nter@25170 | 19 python_version=${VERSION%.*} |
Hans-G?nter@23594 | 20 mkdir -p $fs/usr/bin |
Hans-G?nter@25170 | 21 mkdir -p $fs/usr/lib/python$python_version |
Hans-G?nter@23594 | 22 |
Hans-G?nter@25170 | 23 cp -a $install/usr/bin/idle $fs/usr/bin |
Hans-G?nter@25170 | 24 cp -a $install/usr/lib/python$python_version/idlelib \ |
Hans-G?nter@25170 | 25 $fs/usr/lib/python$python_version |
pankso@16494 | 26 } |