wok-next rev 21130
python3: up (3.7.2), split like python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 18 16:58:29 2019 +0200 (2019-01-18) |
parents | 8105ce8fc51a |
children | 0872dcbd1d74 |
files | python3/receipt |
line diff
1.1 --- a/python3/receipt Fri Jan 18 15:42:45 2019 +0200 1.2 +++ b/python3/receipt Fri Jan 18 16:58:29 2019 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="python3" 1.7 -VERSION="3.7.1" 1.8 +VERSION="3.7.2" 1.9 CATEGORY="development" 1.10 SHORT_DESC="The Python 3 programming language" 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -11,22 +11,31 @@ 1.13 1.14 TARBALL="Python-$VERSION.tar.xz" 1.15 WGET_URL="https://www.python.org/ftp/python/$VERSION/$TARBALL" 1.16 +TARBALL_SHA1="c3dc6928516bcb934cf4740461044c79c7c35494" 1.17 1.18 BUILD_DEPENDS="readline-dev gdbm-dev openssl-dev sqlite3-dev zlib-dev tk-dev \ 1.19 ncurses-dev xz-dev bzip2-dev expat-dev libffi-dev" 1.20 -SPLIT="$PACKAGE-dev" 1.21 -COOKOPTS="!zip" 1.22 +SPLIT="$PACKAGE-idle $PACKAGE-tcltk $PACKAGE-ensurepip $PACKAGE $PACKAGE-dev" 1.23 1.24 -COPY_std="@std pyconfig.h" 1.25 -COPY_dev="@dev @rm" 1.26 +COPY_idle="idle3 idle${VERSION%.*} idlelib/" 1.27 +COPY_tcltk="_tkinter.*.so tkinter/" 1.28 +COPY_ensurepip="ensurepip/" 1.29 +COPY_std="@std @rm pyconfig.h" 1.30 1.31 -DEPENDS_std="python3-setuptools python3-pip libbzip2 expat libgdbm libffi liblzma \ 1.32 -libsqlite3 ncurses ncurses-libpanel openssl readline zlib" # tcl tk libx11 1.33 +CAT_idle="development|GUI IDE using TK Toolkit" 1.34 +CAT_tcltk="development|Tcl/Tk files" 1.35 +CAT_ensurepip="development|ensurepip" 1.36 1.37 -PROVIDE_std="py3k" 1.38 -PROVIDE_dev="py3k-dev" 1.39 +DEPENDS_idle="$PACKAGE" 1.40 +DEPENDS_tcltk="$PACKAGE tcl tk" 1.41 +DEPENDS_ensurepip="$PACKAGE" 1.42 +DEPENDS_std="expat libbzip2 libffi libgdbm liblzma libsqlite3 ncurses \ 1.43 +ncurses-libpanel openssl readline util-linux-uuid zlib python3-setuptools \ 1.44 +python3-pip" 1.45 +DEPENDS_dev="$PACKAGE" 1.46 1.47 TAGS_std="LFS" 1.48 +COOKOPTS="!zip" 1.49 1.50 compile_rules() { 1.51 mkdir -p $install/usr/lib/pkgconfig 1.52 @@ -42,4 +51,9 @@ 1.53 1.54 chmod 755 $install/usr/lib/libpython${VERSION%.*}m.so 1.55 chmod 755 $install/usr/lib/libpython${VERSION%%.*}.so 1.56 + 1.57 + find $install -type f -name '*.pyc' -delete 1.58 } 1.59 + 1.60 +PROVIDE_std="py3k" 1.61 +PROVIDE_dev="py3k-dev"