wok-next rev 14609

Up: python to 2.7.5.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 31 20:37:08 2013 +0000 (2013-05-31)
parents 58b344c81e37
children 9698a68fe988
files python-dev/receipt python/receipt
line diff
     1.1 --- a/python-dev/receipt	Fri May 31 20:18:29 2013 +0000
     1.2 +++ b/python-dev/receipt	Fri May 31 20:37:08 2013 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="python-dev"
     1.7 -VERSION="2.7.2"
     1.8 +VERSION="2.7.5"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="The Python programming language devel files."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -14,8 +14,8 @@
    1.13  genpkg_rules()
    1.14  {
    1.15  	mkdir -p $fs/usr/bin
    1.16 -	cp -a $_pkg/usr/include $fs/usr
    1.17 -	cp -a $_pkg/usr/bin/*-config $fs/usr/bin
    1.18 +	cp -a $install/usr/include $fs/usr
    1.19 +	cp -a $install/usr/bin/*-config $fs/usr/bin
    1.20  	chmod 755 $fs/usr/bin/*-config
    1.21  	# in python package now
    1.22  	python_version=${VERSION:0:3}
     2.1 --- a/python/receipt	Fri May 31 20:18:29 2013 +0000
     2.2 +++ b/python/receipt	Fri May 31 20:37:08 2013 +0000
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="python"
     2.7 -VERSION="2.7.2"
     2.8 +VERSION="2.7.5"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="The Python programming language."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12 @@ -10,7 +10,7 @@
    2.13  WEB_SITE="http://www.python.org/"
    2.14  WGET_URL="http://www.python.org/ftp/python/$VERSION/$TARBALL"
    2.15  
    2.16 -DEPENDS="openssl bzlib readline sqlite zlib ncursesw"
    2.17 +DEPENDS="openssl bzlib readline sqlite zlib ncursesw gdbm"
    2.18  BUILD_DEPENDS="openssl-dev bzip2-dev readline-dev sqlite-dev zlib-dev \
    2.19  ncursesw-dev tcl-dev tk-dev db-dev gdbm-dev"
    2.20  SUGGESTED="tcl tk"
    2.21 @@ -36,15 +36,11 @@
    2.22  {
    2.23  	python_version=${VERSION:0:3}
    2.24  	mkdir -p $fs/usr/include/${PACKAGE}$python_version
    2.25 -	cp -a $_pkg/usr/bin $fs/usr
    2.26 -	cp -a $_pkg/usr/lib $fs/usr
    2.27 +	cp -a $install/usr/bin $fs/usr
    2.28 +	cp -a $install/usr/lib $fs/usr
    2.29  	# needed for mericurial to work now
    2.30 -	cp -a $_pkg/usr/include/${PACKAGE}$python_version/pyconfig.h \
    2.31 +	cp -a $install/usr/include/${PACKAGE}$python_version/pyconfig.h \
    2.32  		$fs/usr/include/${PACKAGE}$python_version
    2.33  	rm -f $fs/usr/bin/*-config
    2.34 -	
    2.35 -	# Python can be symlink to python$python_version ???
    2.36 -	#cd $fs/usr/bin
    2.37 -	#rm python && ln -s python$python_version python
    2.38  }
    2.39