wok-6.x view py3k/receipt @ rev 23518

updated python-ofxparse (0.14 -> 0.20)
author Hans-G?nter Theisgen
date Mon Apr 06 13:29:12 2020 +0100 (2020-04-06)
parents 605c88c58754
children 2f230197370e
line source
1 # SliTaz package receipt.
3 PACKAGE="py3k"
4 VERSION="3.7.0"
5 CATEGORY="development"
6 SHORT_DESC="The Python 3000 programming language."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 SOURCE="Python"
10 TARBALL="$SOURCE-$VERSION.tar.xz"
11 WEB_SITE="https://www.python.org/download/releases/"
12 WGET_URL="https://www.python.org/ftp/python/$VERSION/$TARBALL"
14 DEPENDS="openssl bzlib readline sqlite zlib xorg-libXss ncursesw gdbm \
15 tk xorg-libXext"
16 BUILD_DEPENDS="readline-dev gdbm-dev openssl-dev sqlite-dev zlib-dev tk-dev \
17 ncursesw-dev liblzma-dev wget"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 mkdir -p $DESTDIR/usr/lib/pkgconfig build
23 ./configure --enable-shared \
24 --enable-optimizations \
25 --prefix=/usr --infodir=/usr/share/info \
26 --mandir=/usr/share/man $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 python_version=${VERSION:0:3}
35 mkdir -p $fs/usr/include/python${python_version}m
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 # needed for python3 to work
39 cp -a $install/usr/include/python${python_version}m/pyconfig.h \
40 $fs/usr/include/python${python_version}m
41 rm -f $fs/usr/bin/*-config
42 }