wok-next view python3/receipt @ rev 21498

updated aspell-dicts (0.60.6.1 -> 0.60.8)
author Hans-G?nter Theisgen
date Thu Jun 18 21:48:58 2020 +0100 (2020-06-18)
parents 0ed3f456a542
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="python3"
4 VERSION="3.7.2"
5 CATEGORY="development"
6 SHORT_DESC="The Python 3 programming language"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://www.python.org/download/releases/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/development/chapter06/Python.html"
12 TARBALL="Python-$VERSION.tar.xz"
13 WGET_URL="https://www.python.org/ftp/python/$VERSION/$TARBALL"
14 TARBALL_SHA1="c3dc6928516bcb934cf4740461044c79c7c35494"
16 BUILD_DEPENDS="readline-dev gdbm-dev openssl-dev sqlite3-dev zlib-dev tk-dev \
17 ncurses-dev xz-dev bzip2-dev expat-dev libffi-dev"
18 SPLIT="$PACKAGE-idle $PACKAGE-tcltk $PACKAGE-ensurepip $PACKAGE $PACKAGE-dev"
20 COPY_idle="idle3 idle${VERSION%.*} idlelib/"
21 COPY_tcltk="_tkinter.*.so tkinter/"
22 COPY_ensurepip="ensurepip/"
23 COPY_std="@std @rm pyconfig.h"
25 CAT_idle="development|GUI IDE using TK Toolkit"
26 CAT_tcltk="development|Tcl/Tk files"
27 CAT_ensurepip="development|ensurepip"
29 DEPENDS_idle="$PACKAGE"
30 DEPENDS_tcltk="$PACKAGE tcl tk"
31 DEPENDS_ensurepip="$PACKAGE"
32 DEPENDS_std="expat libbzip2 libffi libgdbm liblzma libsqlite3 ncurses \
33 ncurses-libpanel openssl readline util-linux-uuid zlib python3-setuptools \
34 python3-pip"
35 DEPENDS_dev="$PACKAGE"
37 TAGS_std="LFS"
38 COOKOPTS="!zip"
40 compile_rules() {
41 mkdir -p $install/usr/lib/pkgconfig
43 ./configure \
44 --enable-shared \
45 --with-system-expat \
46 --with-system-ffi \
47 --without-ensurepip \
48 $CONFIGURE_ARGS &&
49 make &&
50 make DESTDIR=$install install || return 1
52 chmod 755 $install/usr/lib/libpython${VERSION%.*}m.so
53 chmod 755 $install/usr/lib/libpython${VERSION%%.*}.so
55 find $install -type f -name '*.pyc' -delete
56 }
58 PROVIDE_std="py3k"
59 PROVIDE_dev="py3k-dev"