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.30
15 DISTFILE[1]= pygobject-3.30.0.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 meson
34 GNOME_COMPONENTS= introspection
36 DISTNAME= pygobject-3.30.0
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
46 MESON_ARGS= -Dpython=python{{PYTHON_VER}}
47 MESON_INSERT_RPATH= gi/meson.build
49 INSTALL_TARGET= install-strip
51 [PY36].BUILDRUN_DEPENDS_ON= python-pycairo:primary:py36
52 python-pycairo:common:py37
53 [PY36].USES_ON= python:py36
55 [PY37].BUILDRUN_DEPENDS_ON= python-pycairo:primary:py37
56 python-pycairo:common:py37
57 [PY37].USES_ON= python:py37
59 [PY27].BUILDRUN_DEPENDS_ON= python-pycairo:single:py27
60 [PY27].USES_ON= python:py27
62 post-install-PY37-OFF:
63 ${RM} -r ${STAGEDIR}${PREFIX}/include/pygobject-3.0
64 ${RM} ${STAGEDIR}${PREFIX}/lib/pkgconfig/pygobject-3.0.pc
67 ${MV} ${WRKSRC}/setup.py ${WRKSRC}/setup.py.disable
69 [FILE:292:descriptions/desc.primary]
70 PyGObject provides a convenient wrapper for the GObject+ library for use
71 in Python programs, and takes care of many of the boring details such as
72 managing memory and type casting. When combined with PyGTK, PyORBit and
73 gnome-python, it can be used to write full featured Gnome applications.
77 [FILE:71:descriptions/desc.common]
78 This package contains files common to the three variants of pygobject.
82 7d20ba1475df922f4c26c69274ab89f7e7730d2101e46846caaddc53afd56bd0 546212 gnome3/pygobject-3.30.0.tar.xz
85 [FILE:65:manifests/plist.common]
86 include/pygobject-3.0/pygobject.h
87 lib/pkgconfig/pygobject-3.0.pc
90 [FILE:220:files/special.mk]
91 POST_PLIST_TARGET= autolist
94 @${ECHO_MSG} "autogenerating manifest ..."
95 @(cd ${STAGEDIR}${PREFIX} && ${FIND} lib/py* \
96 \( -type f -o -type l \) 2>/dev/null | ${SORT}) \
97 >> ${WRKDIR}/.manifest.primary.mktmp