diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-19 11:50:58 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-19 11:50:58 +0000 |
commit | 47c19bb87a85073d69adfc20614a12a17e937e1d (patch) | |
tree | f426f86486d41cbf70dd83fc98a3b52f69699943 /meta/packages | |
parent | 5716a14bf4366d0c8fe2526759ca3500b4985bc5 (diff) | |
download | poky-47c19bb87a85073d69adfc20614a12a17e937e1d.tar.gz |
python: Drop staging functions. If failures occur we just need to improve do_install
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages')
11 files changed, 12 insertions, 63 deletions
diff --git a/meta/packages/python/python-dbus_0.83.0.bb b/meta/packages/python/python-dbus_0.83.0.bb index 275e60e329..d35b2808fe 100644 --- a/meta/packages/python/python-dbus_0.83.0.bb +++ b/meta/packages/python/python-dbus_0.83.0.bb | |||
@@ -16,10 +16,6 @@ export HOST_SYS | |||
16 | export STAGING_LIBDIR | 16 | export STAGING_LIBDIR |
17 | export STAGING_INCDIR | 17 | export STAGING_INCDIR |
18 | 18 | ||
19 | do_stage() { | ||
20 | autotools_stage_all | ||
21 | } | ||
22 | |||
23 | RDEPENDS = "python-io python-logging python-stringold python-threading python-xml" | 19 | RDEPENDS = "python-io python-logging python-stringold python-threading python-xml" |
24 | 20 | ||
25 | FILES_${PN}-dev += "${libdir}/pkgconfig | 21 | FILES_${PN}-dev += "${libdir}/pkgconfig |
diff --git a/meta/packages/python/python-iniparse-native_0.2.3.bb b/meta/packages/python/python-iniparse-native_0.2.3.bb index c2d633c5f2..bb841fed10 100644 --- a/meta/packages/python/python-iniparse-native_0.2.3.bb +++ b/meta/packages/python/python-iniparse-native_0.2.3.bb | |||
@@ -2,9 +2,5 @@ require python-iniparse_${PV}.bb | |||
2 | inherit native | 2 | inherit native |
3 | DEPENDS = "python-native" | 3 | DEPENDS = "python-native" |
4 | RDEPENDS = "" | 4 | RDEPENDS = "" |
5 | NATIVE_INSTALL_WORKS = "1" | ||
5 | 6 | ||
6 | do_stage() { | ||
7 | BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ | ||
8 | STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR} \ | ||
9 | ${STAGING_BINDIR}/python setup.py install --prefix=${STAGING_BINDIR}/.. --install-data=${STAGING_DATADIR} | ||
10 | } | ||
diff --git a/meta/packages/python/python-pycairo_1.4.0.bb b/meta/packages/python/python-pycairo_1.4.0.bb index 9bb2fdfcd8..8248775587 100644 --- a/meta/packages/python/python-pycairo_1.4.0.bb +++ b/meta/packages/python/python-pycairo_1.4.0.bb | |||
@@ -10,10 +10,3 @@ S = "${WORKDIR}/pycairo-${PV}" | |||
10 | 10 | ||
11 | inherit distutils pkgconfig | 11 | inherit distutils pkgconfig |
12 | 12 | ||
13 | do_stage() { | ||
14 | install -d ${STAGING_INCDIR} | ||
15 | install -m 0644 cairo/pycairo.h ${STAGING_INCDIR} | ||
16 | |||
17 | # nasty pkgconfig fix necessary here | ||
18 | sed -i -e s,${STAGING_DIR_NATIVE},, pycairo.pc | ||
19 | } | ||
diff --git a/meta/packages/python/python-pygobject-native_2.16.0.bb b/meta/packages/python/python-pygobject-native_2.16.0.bb index a1c733334c..f5b9cb338c 100644 --- a/meta/packages/python/python-pygobject-native_2.16.0.bb +++ b/meta/packages/python/python-pygobject-native_2.16.0.bb | |||
@@ -7,12 +7,14 @@ PARALLEL_MAKE = "" | |||
7 | 7 | ||
8 | inherit native | 8 | inherit native |
9 | 9 | ||
10 | NATIVE_INSTALL_WORKS = "1" | ||
11 | |||
10 | SRC_URI = "\ | 12 | SRC_URI = "\ |
11 | ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2 \ | 13 | ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2 \ |
12 | # file://python-path.patch;patch=1 \ | 14 | # file://python-path.patch;patch=1 \ |
13 | " | 15 | " |
14 | 16 | ||
15 | do_stage_append() { | 17 | do_install_append() { |
16 | install -d ${STAGING_BINDIR} | 18 | install -d ${D}${bindir} |
17 | install -m 0755 gobject/generate-constants ${STAGING_BINDIR}/gobject-generate-constants | 19 | install -m 0755 gobject/generate-constants ${D}${bindir}/gobject-generate-constants |
18 | } | 20 | } |
diff --git a/meta/packages/python/python-pygobject_2.16.0.bb b/meta/packages/python/python-pygobject_2.16.0.bb index 773ffdff49..de07ec762c 100644 --- a/meta/packages/python/python-pygobject_2.16.0.bb +++ b/meta/packages/python/python-pygobject_2.16.0.bb | |||
@@ -22,14 +22,6 @@ export HOST_SYS | |||
22 | export STAGING_INCDIR | 22 | export STAGING_INCDIR |
23 | export STAGING_LIBDIR | 23 | export STAGING_LIBDIR |
24 | 24 | ||
25 | do_stage() { | ||
26 | autotools_stage_all | ||
27 | install -d ${STAGING_LIBDIR}/../share/pygobject/ | ||
28 | cp -dpfR docs/* ${STAGING_LIBDIR}/../share/pygobject/ | ||
29 | install -d ${STAGING_LIBDIR}/../share/gtk-doc/html/pygobject/ | ||
30 | cp docs/style.css ${STAGING_LIBDIR}/../share/gtk-doc/html/pygobject/ | ||
31 | } | ||
32 | |||
33 | PACKAGES += "${PN}-lib" | 25 | PACKAGES += "${PN}-lib" |
34 | 26 | ||
35 | RDEPENDS_${PN} += "python-textutils" | 27 | RDEPENDS_${PN} += "python-textutils" |
diff --git a/meta/packages/python/python-pygtk_2.10.4.bb b/meta/packages/python/python-pygtk_2.10.4.bb index 6b26f59ad8..c37f64e51d 100644 --- a/meta/packages/python/python-pygtk_2.10.4.bb +++ b/meta/packages/python/python-pygtk_2.10.4.bb | |||
@@ -49,13 +49,3 @@ FILES_${PN}-dev += "\ | |||
49 | ${bindir}/pygtk-* \ | 49 | ${bindir}/pygtk-* \ |
50 | ${datadir}/pygtk/2.0" | 50 | ${datadir}/pygtk/2.0" |
51 | 51 | ||
52 | do_stage() { | ||
53 | autotools_stage_includes | ||
54 | sed -i s:/usr/share:${STAGING_DATADIR}: codegen/pygtk-codegen-2.0 | ||
55 | install -m 0755 codegen/pygtk-codegen-2.0 ${STAGING_BINDIR_NATIVE}/ | ||
56 | install -d ${STAGING_DATADIR}/pygtk/2.0/codegen | ||
57 | install -d ${STAGING_DATADIR}/pygtk/2.0/defs/ | ||
58 | cp -pPr codegen/*.py* ${STAGING_DATADIR}/pygtk/2.0/codegen/ | ||
59 | cp -pPr *.defs ${STAGING_DATADIR}/pygtk/2.0/defs/ | ||
60 | cp -pPr gtk/*.defs ${STAGING_DATADIR}/pygtk/2.0/defs/ | ||
61 | } | ||
diff --git a/meta/packages/python/python-pyrex-native_0.9.8.5.bb b/meta/packages/python/python-pyrex-native_0.9.8.5.bb index 4405212040..7912355449 100644 --- a/meta/packages/python/python-pyrex-native_0.9.8.5.bb +++ b/meta/packages/python/python-pyrex-native_0.9.8.5.bb | |||
@@ -3,8 +3,4 @@ inherit native | |||
3 | DEPENDS = "python-native" | 3 | DEPENDS = "python-native" |
4 | RDEPENDS = "" | 4 | RDEPENDS = "" |
5 | 5 | ||
6 | do_stage() { | 6 | NATIVE_INSTALL_WORKS = "1" |
7 | BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ | ||
8 | STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR} \ | ||
9 | ${STAGING_BINDIR}/python setup.py install --prefix=${STAGING_BINDIR}/.. --install-data=${STAGING_DATADIR} | ||
10 | } | ||
diff --git a/meta/packages/python/python-pyrex_0.9.8.5.bb b/meta/packages/python/python-pyrex_0.9.8.5.bb index 03468a0522..7523e11279 100644 --- a/meta/packages/python/python-pyrex_0.9.8.5.bb +++ b/meta/packages/python/python-pyrex_0.9.8.5.bb | |||
@@ -5,7 +5,7 @@ SECTION = "devel/python" | |||
5 | PRIORITY = "optional" | 5 | PRIORITY = "optional" |
6 | LICENSE = "GPL" | 6 | LICENSE = "GPL" |
7 | SRCNAME = "Pyrex" | 7 | SRCNAME = "Pyrex" |
8 | PR = "ml1" | 8 | PR = "ml2" |
9 | 9 | ||
10 | SRC_URI = "\ | 10 | SRC_URI = "\ |
11 | http://www.cosc.canterbury.ac.nz/greg.ewing/python/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \ | 11 | http://www.cosc.canterbury.ac.nz/greg.ewing/python/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \ |
diff --git a/meta/packages/python/python-scons-native_0.97.bb b/meta/packages/python/python-scons-native_0.97.bb index 45eeee117a..915cbabd90 100644 --- a/meta/packages/python/python-scons-native_0.97.bb +++ b/meta/packages/python/python-scons-native_0.97.bb | |||
@@ -3,14 +3,5 @@ inherit native | |||
3 | DEPENDS = "python-native" | 3 | DEPENDS = "python-native" |
4 | RDEPENDS = "" | 4 | RDEPENDS = "" |
5 | 5 | ||
6 | do_stage() { | 6 | NATIVE_INSTALL_WORKS = "1" |
7 | STAGING_LIBDIR=${STAGING_LIBDIR} \ | ||
8 | STAGING_INCDIR=${STAGING_INCDIR} \ | ||
9 | BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ | ||
10 | ${STAGING_BINDIR}/python setup.py install --prefix=${STAGING_LIBDIR}/.. --install-data=${STAGING_DATADIR} || \ | ||
11 | oefatal "python setup.py install execution failed." | ||
12 | } | ||
13 | 7 | ||
14 | do_install() { | ||
15 | : | ||
16 | } | ||
diff --git a/meta/packages/python/python-urlgrabber-native_3.1.0.bb b/meta/packages/python/python-urlgrabber-native_3.1.0.bb index 5e43ca2d87..353fd65307 100644 --- a/meta/packages/python/python-urlgrabber-native_3.1.0.bb +++ b/meta/packages/python/python-urlgrabber-native_3.1.0.bb | |||
@@ -3,8 +3,5 @@ inherit native | |||
3 | DEPENDS = "python-native" | 3 | DEPENDS = "python-native" |
4 | RDEPENDS = "" | 4 | RDEPENDS = "" |
5 | 5 | ||
6 | do_stage() { | 6 | NATIVE_INSTALL_WORKS = "1" |
7 | BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ | 7 | |
8 | STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR} \ | ||
9 | ${STAGING_BINDIR}/python setup.py install --prefix=${STAGING_BINDIR}/.. --install-data=${STAGING_DATADIR} | ||
10 | } | ||
diff --git a/meta/packages/python/yum-metadata-parser-native_1.1.2.bb b/meta/packages/python/yum-metadata-parser-native_1.1.2.bb index 8a43ec462d..3fff85afa3 100644 --- a/meta/packages/python/yum-metadata-parser-native_1.1.2.bb +++ b/meta/packages/python/yum-metadata-parser-native_1.1.2.bb | |||
@@ -5,8 +5,4 @@ RDEPENDS = "" | |||
5 | 5 | ||
6 | #BUILD_CFLAGS += "-I${STAGING_LIBDIR}/glib-2.0" | 6 | #BUILD_CFLAGS += "-I${STAGING_LIBDIR}/glib-2.0" |
7 | 7 | ||
8 | do_stage() { | 8 | NATIVE_INSTALL_WORKS = "1" |
9 | BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ | ||
10 | STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR} \ | ||
11 | ${STAGING_BINDIR}/python setup.py install --prefix=${STAGING_BINDIR}/.. --install-data=${STAGING_DATADIR} | ||
12 | } | ||