wok rev 20460
Remove py3k7, up py3k (3.7.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 10 16:24:34 2018 +0200 (2018-10-10) |
parents | c2946aeb8b57 |
children | e04d8d743189 |
files | py3k-dev/receipt py3k/receipt py3k7-dev/receipt py3k7/receipt |
line diff
1.1 --- a/py3k-dev/receipt Wed Oct 10 15:54:03 2018 +0200 1.2 +++ b/py3k-dev/receipt Wed Oct 10 16:24:34 2018 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="py3k-dev" 1.7 -VERSION="3.4.3" 1.8 +VERSION="3.7.0" 1.9 CATEGORY="development" 1.10 SHORT_DESC="The Python programming language devel files." 1.11 MAINTAINER="pankso@slitaz.org"
2.1 --- a/py3k/receipt Wed Oct 10 15:54:03 2018 +0200 2.2 +++ b/py3k/receipt Wed Oct 10 16:24:34 2018 +0200 2.3 @@ -1,7 +1,7 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="py3k" 2.7 -VERSION="3.4.3" 2.8 +VERSION="3.7.0" 2.9 CATEGORY="development" 2.10 SHORT_DESC="The Python 3000 programming language." 2.11 MAINTAINER="pascal.bellard@slitaz.org" 2.12 @@ -21,6 +21,7 @@ 2.13 { 2.14 mkdir -p $DESTDIR/usr/lib/pkgconfig 2.15 ./configure --enable-shared \ 2.16 + --enable-optimizations \ 2.17 --prefix=/usr --infodir=/usr/share/info \ 2.18 --mandir=/usr/share/man $CONFIGURE_ARGS && 2.19 make &&
3.1 --- a/py3k7-dev/receipt Wed Oct 10 15:54:03 2018 +0200 3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 3.3 @@ -1,24 +0,0 @@ 3.4 -# SliTaz package receipt. 3.5 - 3.6 -PACKAGE="py3k7-dev" 3.7 -VERSION="3.7.0" 3.8 -CATEGORY="development" 3.9 -SHORT_DESC="The Python programming language devel files." 3.10 -MAINTAINER="pascal.bellard@slitaz.org" 3.11 -LICENSE="PSL" 3.12 -WANTED="py3k7" 3.13 -SOURCE="Python" 3.14 -WEB_SITE="https://www.python.org/" 3.15 -PROVIDE="py3k-dev" 3.16 - 3.17 -DEPENDS="py3k7" 3.18 - 3.19 -# Rules to gen a SliTaz package suitable for Tazpkg. 3.20 -genpkg_rules() 3.21 -{ 3.22 - mkdir -p $fs/usr/bin 3.23 - cp -a $install/usr/include $fs/usr 3.24 - cp -a $install/usr/bin/*-config $fs/usr/bin 3.25 - chmod 755 $fs/usr/bin/*-config 3.26 - rm $fs/usr/include/*/pyconfig.h 3.27 -}
4.1 --- a/py3k7/receipt Wed Oct 10 15:54:03 2018 +0200 4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 4.3 @@ -1,42 +0,0 @@ 4.4 -# SliTaz package receipt. 4.5 - 4.6 -PACKAGE="py3k7" 4.7 -VERSION="3.7.0" 4.8 -CATEGORY="development" 4.9 -SHORT_DESC="The Python 3000 programming language." 4.10 -MAINTAINER="nneul@neulinger.org" 4.11 -LICENSE="GPL" 4.12 -SOURCE="Python" 4.13 -TARBALL="$SOURCE-$VERSION.tgz" 4.14 -WEB_SITE="https://www.python.org/download/releases/" 4.15 -WGET_URL="https://www.python.org/ftp/python/$VERSION/$TARBALL" 4.16 -PROVIDE="py3k" 4.17 - 4.18 -DEPENDS="openssl bzlib readline sqlite zlib xorg-libXss ncursesw gdbm tk \ 4.19 -xorg-libXext" 4.20 -BUILD_DEPENDS="readline-dev gdbm-dev openssl-dev sqlite-dev zlib-dev tk-dev \ 4.21 -ncursesw-dev liblzma-dev" 4.22 - 4.23 -# Rules to configure and make the package. 4.24 -compile_rules() 4.25 -{ 4.26 - mkdir -p $DESTDIR/usr/lib/pkgconfig 4.27 - ./configure --enable-shared \ 4.28 - --prefix=/usr --infodir=/usr/share/info \ 4.29 - --mandir=/usr/share/man $CONFIGURE_ARGS && 4.30 - make && 4.31 - make DESTDIR=$DESTDIR install 4.32 -} 4.33 - 4.34 -# Rules to gen a SliTaz package suitable for Tazpkg. 4.35 -genpkg_rules() 4.36 -{ 4.37 - python_version=${VERSION:0:3} 4.38 - mkdir -p $fs/usr/include/python${python_version}m 4.39 - cp -a $install/usr/bin $fs/usr 4.40 - cp -a $install/usr/lib $fs/usr 4.41 - # needed for python3 to work 4.42 - cp -a $install/usr/include/python${python_version}m/pyconfig.h \ 4.43 - $fs/usr/include/python${python_version}m 4.44 - rm -f $fs/usr/bin/*-config 4.45 -}