wok diff python-idle/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | 0e3b43ca38e6 |
children |
line diff
1.1 --- a/python-idle/receipt Wed Apr 08 13:49:09 2020 +0100 1.2 +++ b/python-idle/receipt Sat Sep 03 09:28:15 2022 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="python-idle" 1.7 -VERSION="2.7.17" 1.8 +VERSION="2.7.18" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Python GUI IDE using TK Toolkit." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 @@ -16,9 +16,11 @@ 1.13 # Rules to gen a SliTaz package suitable for Tazpkg. 1.14 genpkg_rules() 1.15 { 1.16 + python_version=${VERSION%.*} 1.17 mkdir -p $fs/usr/bin 1.18 - mkdir -p $fs/usr/lib/python2.7 1.19 + mkdir -p $fs/usr/lib/python$python_version 1.20 1.21 - cp -a $install/usr/bin/idle $fs/usr/bin 1.22 - cp -a $install/usr/lib/python2.7/idlelib $fs/usr/lib/python2.7 1.23 + cp -a $install/usr/bin/idle $fs/usr/bin 1.24 + cp -a $install/usr/lib/python$python_version/idlelib \ 1.25 + $fs/usr/lib/python$python_version 1.26 }