summaryrefslogtreecommitdiffstats
path: root/meta/packages/python/python-pygobject_2.12.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/python/python-pygobject_2.12.3.bb')
-rw-r--r--meta/packages/python/python-pygobject_2.12.3.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/packages/python/python-pygobject_2.12.3.bb b/meta/packages/python/python-pygobject_2.12.3.bb
new file mode 100644
index 0000000000..bfd04d569d
--- /dev/null
+++ b/meta/packages/python/python-pygobject_2.12.3.bb
@@ -0,0 +1,24 @@
1DESCRIPTION = "Python GObject bindings"
2SECTION = "devel/python"
3LICENSE = "LGPL"
4DEPENDS = "python-pygobject-native"
5PR = "r3"
6
7SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/2.12/pygobject-${PV}.tar.bz2 \
8 file://python-path.patch;patch=1"
9S = "${WORKDIR}/pygobject-${PV}"
10
11inherit autotools distutils-base pkgconfig
12
13EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../"
14
15do_stage() {
16 autotools_stage_all
17 install -d ${STAGING_LIBDIR}/../share/pygobject/
18 cp -dpfR docs/* ${STAGING_LIBDIR}/../share/pygobject/
19 install -d ${STAGING_LIBDIR}/../share/gtk-doc/html/pygobject/
20 cp docs/style.css ${STAGING_LIBDIR}/../share/gtk-doc/html/pygobject/
21}
22
23FILES_${PN} = "${libdir}/python*"
24FILES_${PN}-dev += "${datadir}/pygobject/xsl"