wok-next view python-wxpython/receipt @ rev 21271

up openssl10: 1.0.2o to 1.0.2t -> soon EOL
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Dec 07 12:21:21 2019 +0000 (2019-12-07)
parents 5669e8b3be70
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="python-wxpython"
4 VERSION="latest"
5 CATEGORY="x-window"
6 SHORT_DESC="GUI toolkit for the Python programming language"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL"
9 WEB_SITE="https://www.wxpython.org/"
10 REPOLOGY="python:wxpython"
12 BUILD_DEPENDS="python python-six python-pypubsub zlib-dev libpng-dev \
13 libjpeg-turbo-dev tiff-dev expat-dev gtk3-dev glib-dev libxxf86vm-dev \
14 libsm-dev mesa-dev glu-dev sdl-dev webkit2gtk-dev gstreamer1-dev"
15 BUILD_DEPENDS_x86_64="python python-six python-pypubsub zlib-dev libpng-dev \
16 libjpeg-turbo-dev tiff-dev expat-dev gtk3-dev glib-dev libxxf86vm-dev \
17 libsm-dev mesa-dev glu-dev sdl-dev gstreamer1-dev \
18 gst1-plugins-base-dev libnotify-dev cppunit-dev"
19 SPLIT="$PACKAGE-dev"
21 compile_rules() {
22 pip install --no-compile --root=$install wxPython
23 }
25 genpkg_rules() {
26 VERSION=$(sed -n '/^Successfully installed/ s|.*wxPython-||p' $LOGS/${PACKAGE%-dev}.log)
27 case $PACKAGE in
28 python-wxpython)
29 copy @std
30 DEPENDS="python python-six python-pypubsub" # ...
31 ;;
32 *-dev)
33 copy @dev
34 ;;
35 esac
36 }