wok-6.x annotate py3k3/receipt @ rev 23562
updated python-six (1.10.0 -> 1.14.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 07 07:56:52 2020 +0100 (2020-04-07) |
parents | 05e8a6b1bd47 |
children | 52649f27a0da |
rev | line source |
---|---|
nneul@18058 | 1 # SliTaz package receipt. |
nneul@18058 | 2 |
nneul@18058 | 3 PACKAGE="py3k3" |
nneul@18058 | 4 VERSION="3.3.6" |
nneul@18058 | 5 CATEGORY="development" |
nneul@18058 | 6 SHORT_DESC="The Python 3000 programming language." |
nneul@18058 | 7 MAINTAINER="nneul@neulinger.org" |
nneul@18058 | 8 LICENSE="GPL" |
nneul@18058 | 9 SOURCE="Python" |
nneul@18058 | 10 TARBALL="$SOURCE-$VERSION.tgz" |
nneul@18058 | 11 WEB_SITE="https://www.python.org/download/releases/" |
nneul@18058 | 12 WGET_URL="https://www.python.org/ftp/python/$VERSION/$TARBALL" |
pascal@18061 | 13 PROVIDE="py3k" |
nneul@18058 | 14 |
al@18077 | 15 DEPENDS="openssl bzlib readline sqlite zlib xorg-libXss ncursesw gdbm tk \ |
al@18077 | 16 xorg-libXext" |
pascal@18061 | 17 BUILD_DEPENDS="readline-dev gdbm-dev openssl-dev sqlite-dev zlib-dev tk-dev \ |
pascal@18061 | 18 ncursesw-dev liblzma-dev" |
nneul@18058 | 19 |
nneul@18058 | 20 # Rules to configure and make the package. |
nneul@18058 | 21 compile_rules() |
nneul@18058 | 22 { |
nneul@18058 | 23 mkdir -p $DESTDIR/usr/lib/pkgconfig |
nneul@18058 | 24 ./configure --enable-shared \ |
nneul@18058 | 25 --prefix=/usr --infodir=/usr/share/info \ |
nneul@18058 | 26 --mandir=/usr/share/man $CONFIGURE_ARGS && |
nneul@18058 | 27 make && |
nneul@18058 | 28 make DESTDIR=$DESTDIR install |
nneul@18058 | 29 } |
nneul@18058 | 30 |
nneul@18058 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@18058 | 32 genpkg_rules() |
nneul@18058 | 33 { |
nneul@18058 | 34 python_version=${VERSION:0:3} |
nneul@18058 | 35 mkdir -p $fs/usr/include/python${python_version}m |
nneul@18058 | 36 cp -a $install/usr/bin $fs/usr |
nneul@18058 | 37 cp -a $install/usr/lib $fs/usr |
nneul@18058 | 38 # needed for python3 to work |
nneul@18058 | 39 cp -a $install/usr/include/python${python_version}m/pyconfig.h \ |
nneul@18058 | 40 $fs/usr/include/python${python_version}m |
nneul@18058 | 41 rm -f $fs/usr/bin/*-config |
nneul@18058 | 42 } |