Ravenports generated: 22 Jul 2018 22:15
[ravenports.git] / bucket_73 / python-pygobject
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               python-pygobject
4 VERSION=                3.28.3
5 KEYWORDS=               python devel
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
11 CONTACT=                nobody
12
13 DOWNLOAD_GROUPS=        main
14 SITES[main]=            GNOME/pygobject/3.28
15 DISTFILE[1]=            pygobject-3.28.3.tar.xz:main
16 DIST_SUBDIR=            gnome3
17 DF_INDEX=               1
18 SPKGS[py36]=            primary
19 SPKGS[py37]=            primary
20                         common
21 SPKGS[py27]=            primary
22
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
28
29 BUILDRUN_DEPENDS=       libffi:single:standard
30 RUN_DEPENDS=            gobject-introspection:single:standard
31 EXRUN[primary]=         python-pygobject:common:py37
32
33 USES=                   gmake libtool pkgconfig
34 GNOME_COMPONENTS=       introspection
35
36 DISTNAME=               pygobject-3.28.3
37
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
43 LICENSE_SCHEME=         solo
44
45 FPC_EQUIVALENT=         devel/py-gobject3
46
47 MUST_CONFIGURE=         gnu
48 CONFIGURE_ENV=          PYCAIRO_CFLAGS=-I{{PYTHON_SITELIBDIR}}/cairo/include
49
50 MAKE_ARGS=              PYTHON_VERSION={{PYTHON_VER}}
51
52 INSTALL_TARGET=         install-strip
53
54 [PY36].BUILDRUN_DEPENDS_ON=             python-pycairo:primary:py36
55                                         python-pycairo:common:py37
56 [PY36].USES_ON=                         python:py36
57
58 [PY37].BUILDRUN_DEPENDS_ON=             python-pycairo:primary:py37
59                                         python-pycairo:common:py37
60 [PY37].USES_ON=                         python:py37
61
62 [PY27].BUILDRUN_DEPENDS_ON=             python-pycairo:single:py27
63 [PY27].USES_ON=                         python:py27
64
65 post-install-PY37-OFF:
66         ${RM} -r ${STAGEDIR}${PREFIX}/include/pygobject-3.0
67         ${RM} ${STAGEDIR}${PREFIX}/lib/pkgconfig/pygobject-3.0.pc
68
69 post-extract:
70         ${MV} ${WRKSRC}/setup.py ${WRKSRC}/setup.py.disable
71
72 post-extract-sunos:
73         ${REINPLACE_CMD} -e 's|#! /bin/sh|#!/bin/bash|' ${WRKSRC}/configure
74
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.
80
81
82
83 [FILE:71:descriptions/desc.common]
84 This package contains files common to the three variants of pygobject.
85
86
87 [FILE:109:distinfo]
88 3dd3e21015d06e00482ea665fc1733b77e754a6ab656a5db5d7f7bfaf31ad0b0      1005368 gnome3/pygobject-3.28.3.tar.xz
89
90
91 [FILE:65:manifests/plist.common]
92 include/pygobject-3.0/pygobject.h
93 lib/pkgconfig/pygobject-3.0.pc
94
95
96 [FILE:220:files/special.mk]
97 POST_PLIST_TARGET=      autolist
98
99 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
104