wok-next view python-pygobject/receipt @ rev 21527
updated bootchart (0.9 -> 1.20)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 19 15:06:45 2020 +0100 (2020-06-19) |
parents | 0f7ebcdec85d |
children |
line source
1 # SliTaz package receipt v2.
3 ORIGIN="PyGObject"
4 PACKAGE="python-pygobject"
5 VERSION="3.30.4"
6 CATEGORY="python"
7 SHORT_DESC="Python Bindings for GLib/GObject/GIO/GTK+"
8 MAINTAINER="psychomaniak@xakep.ru"
9 LICENSE="LGPL2.1"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 #HOST_ARCH
12 REPOLOGY="python:pygobject3"
14 BUILD_DEPENDS="python-dev python-pycairo-dev python3-dev python3-pycairo-dev \
15 glib-dev gobject-introspection-dev cairo-dev"
16 SPLIT="$PACKAGE-dev \
17 ${PACKAGE/python/python3}:3 ${PACKAGE/python/python3}-dev:3"
19 compile_rules() {
20 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
21 }
23 genpkg_rules() {
24 case $PACKAGE in
25 *-dev)
26 copy @dev
27 DEPENDS="${PACKAGE%%-dev} glib-dev libffi-dev"
28 ;;
29 *)
30 copy @std
31 py="${PACKAGE%%-*}" # python/python3
32 DEPENDS="$py libcairo glib gobject-introspection libffi"
33 ;;
34 esac
35 }