wok-current diff python/receipt @ rev 16494
Add python-idle (to split TK deps on python)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 23 15:48:36 2014 +0200 (2014-04-23) |
parents | b58da74b99ca |
children | 16df76e1fc6a |
line diff
1.1 --- a/python/receipt Tue Apr 08 00:37:42 2014 +0200 1.2 +++ b/python/receipt Wed Apr 23 15:48:36 2014 +0200 1.3 @@ -12,16 +12,10 @@ 1.4 WGET_URL="https://www.python.org/ftp/python/$VERSION/$TARBALL" 1.5 HOST_ARCH="i486 arm" 1.6 1.7 +RELATED="python-dev python-idle" # version must match 1.8 DEPENDS="openssl bzlib readline sqlite zlib ncursesw gdbm libffi" 1.9 BUILD_DEPENDS="openssl-dev bzip2-dev readline-dev sqlite-dev zlib-dev \ 1.10 -ncursesw-dev tcl-dev tk-dev db-dev gdbm-dev wget" 1.11 -SUGGESTED="tcl tk" 1.12 - 1.13 -# Handle cross compilation 1.14 -case "$ARCH" in 1.15 - arm*) BUILD_DEPENDS="openssl-dev bzip2-dev readline-dev ncursesw-dev \ 1.16 -tcl-dev db-dev wget libffi-dev gdbm-dev" ;; 1.17 -esac 1.18 +ncursesw-dev tcl-dev tk-dev db-dev gdbm-dev wget libffi-dev" 1.19 1.20 # Rules to configure and make the package. 1.21 compile_rules() 1.22 @@ -95,5 +89,8 @@ 1.23 cp -a $install/usr/include/${PACKAGE}$python_version/pyconfig.h \ 1.24 $fs/usr/include/${PACKAGE}$python_version 1.25 rm -f $fs/usr/bin/*-config 1.26 + # Split IDLE with TK dep 1.27 + rm -f $fs/usr/bin/idle 1.28 + rm -rf $fs/usr/lib/python2.7/idlelib 1.29 } 1.30