1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= python-pygobject
6 VARIANTS= py27 py36 py37
7 SDESC[py36]= Python bindings for GObject (PY 36)
8 SDESC[py37]= Python bindings for GObject (PY 37)
9 SDESC[py27]= Python bindings for GObject (PY 27)
10 HOMEPAGE= https://wiki.gnome.org/Projects/PyGObject
14 SITES[main]= GNOME/pygobject/3.28
15 DISTFILE[1]= pygobject-3.28.3.tar.xz:main
23 OPTIONS_AVAILABLE= PY27 PY36 PY37
24 OPTIONS_STANDARD= none
25 VOPTS[py36]= PY27=OFF PY36=ON PY37=OFF
26 VOPTS[py37]= PY27=OFF PY36=OFF PY37=ON
27 VOPTS[py27]= PY27=ON PY36=OFF PY37=OFF
29 BUILDRUN_DEPENDS= libffi:single:standard
30 RUN_DEPENDS= gobject-introspection:single:standard
31 EXRUN[primary]= python-pygobject:common:py37
33 USES= gmake libtool pkgconfig
34 GNOME_COMPONENTS= introspection
36 DISTNAME= pygobject-3.28.3
38 LICENSE= LGPL21+:primary
39 LICENSE_TERMS= primary:{{WRKDIR}}/TERMS
40 LICENSE_FILE= LGPL21+:{{WRKSRC}}/COPYING
41 LICENSE_AWK= TERMS:"^$$"
42 LICENSE_SOURCE= TERMS:{{WRKSRC}}/gi/importer.py
45 FPC_EQUIVALENT= devel/py-gobject3
48 CONFIGURE_ENV= PYCAIRO_CFLAGS=-I{{PYTHON_SITELIBDIR}}/cairo/include
50 MAKE_ARGS= PYTHON_VERSION={{PYTHON_VER}}
52 INSTALL_TARGET= install-strip
54 [PY36].BUILDRUN_DEPENDS_ON= python-pycairo:primary:py36
55 python-pycairo:common:py37
56 [PY36].USES_ON= python:py36
58 [PY37].BUILDRUN_DEPENDS_ON= python-pycairo:primary:py37
59 python-pycairo:common:py37
60 [PY37].USES_ON= python:py37
62 [PY27].BUILDRUN_DEPENDS_ON= python-pycairo:single:py27
63 [PY27].USES_ON= python:py27
65 post-install-PY37-OFF:
66 ${RM} -r ${STAGEDIR}${PREFIX}/include/pygobject-3.0
67 ${RM} ${STAGEDIR}${PREFIX}/lib/pkgconfig/pygobject-3.0.pc
70 ${MV} ${WRKSRC}/setup.py ${WRKSRC}/setup.py.disable
73 ${REINPLACE_CMD} -e 's|#! /bin/sh|#!/bin/bash|' ${WRKSRC}/configure
75 [FILE:292:descriptions/desc.primary]
76 PyGObject provides a convenient wrapper for the GObject+ library for use
77 in Python programs, and takes care of many of the boring details such as
78 managing memory and type casting. When combined with PyGTK, PyORBit and
79 gnome-python, it can be used to write full featured Gnome applications.
83 [FILE:71:descriptions/desc.common]
84 This package contains files common to the three variants of pygobject.
88 3dd3e21015d06e00482ea665fc1733b77e754a6ab656a5db5d7f7bfaf31ad0b0 1005368 gnome3/pygobject-3.28.3.tar.xz
91 [FILE:65:manifests/plist.common]
92 include/pygobject-3.0/pygobject.h
93 lib/pkgconfig/pygobject-3.0.pc
96 [FILE:220:files/special.mk]
97 POST_PLIST_TARGET= autolist
100 @${ECHO_MSG} "autogenerating manifest ..."
101 @(cd ${STAGEDIR}${PREFIX} && ${FIND} lib/py* \
102 \( -type f -o -type l \) 2>/dev/null | ${SORT}) \
103 >> ${WRKDIR}/.manifest.primary.mktmp