wok-next view pycairo/receipt @ rev 20068
Up libcanberra (gtk2 and gtk3 support), vala (0.36.4), dconf (0.26.0), gucharmap3 (10.0.0), pycairo (1.15.3), pygobject3 (3.26.0), libgtop. Add dconf-editor, gtksourceview3.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 24 17:49:57 2017 +0300 (2017-10-24) |
parents | 9278a60d6895 |
children | 0e7893ac206d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pycairo"
4 VERSION="1.15.3"
5 CATEGORY="development"
6 SHORT_DESC="Python bindings for the cairo graphics library"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MPL LGPL2.1"
9 WEB_SITE="https://www.cairographics.org/pycairo/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/pygobject/pycairo/releases/download/v$VERSION/$TARBALL"
14 BUILD_DEPENDS="python-dev cairo-dev"
15 SPLIT="pycairo-dev"
17 compile_rules() {
18 python setup.py build &&
19 python setup.py install --root=$install
20 }
22 genpkg_rules() {
23 case $PACKAGE in
24 pycairo)
25 copy @std
26 DEPENDS="cairo python"
27 ;;
28 *-dev)
29 copy @dev
30 DEPENDS="pycairo cairo-dev"
31 ;;
32 esac
33 }