wok-next view python-wxpython/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 270c09f6a958 |
children | d5aab818505e |
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 libpng16-dev \
13 libjpeg-turbo-dev tiff-dev expat-dev gtk3-dev glib-dev xorg-libXxf86vm-dev \
14 xorg-libSM-dev mesa-dev glu-dev libsdl-dev webkit2gtk-dev gstreamer1-dev"
15 BUILD_DEPENDS_x86_64="python python-six python-pypubsub zlib-dev libpng16-dev \
16 libjpeg-turbo-dev tiff-dev expat-dev gtk3-dev glib-dev xorg-libXxf86vm-dev \
17 xorg-libSM-dev mesa-dev glu-dev libsdl-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=$DESTDIR 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 }