1 DESCRIPTION = "Python GObject bindings"
2 SECTION = "devel/python"
4 DEPENDS = "python-pygobject-native-${PV}"
8 MAJ_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
11 ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2 \
12 file://generate-constants.patch;patch=1 \
14 S = "${WORKDIR}/pygobject-${PV}"
16 FILESPATH = "${FILE_DIRNAME}/python-pygobject:${FILE_DIRNAME}/files"
18 inherit autotools distutils-base pkgconfig
20 # necessary to let the call for python-config succeed
26 install -d ${STAGING_LIBDIR}/../share/pygobject/
27 cp -dpfR docs/* ${STAGING_LIBDIR}/../share/pygobject/
28 install -d ${STAGING_LIBDIR}/../share/gtk-doc/html/pygobject/
29 cp docs/style.css ${STAGING_LIBDIR}/../share/gtk-doc/html/pygobject/
32 PACKAGES += "${PN}-lib"
34 RDEPENDS_${PN} += "python-textutils"
36 FILES_${PN} = "${libdir}/python*"
37 FILES_${PN}-lib = "${libdir}/lib*.so.*"
38 FILES_${PN}-dev += "${bindir} ${datadir}"
39 FILES_${PN}-dbg += "${libdir}/.debug"