From a780643c4b6aa11e1a36965a69df7116477c7b4c Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Tue, 7 Dec 2004 22:05:47 +0000 Subject: Merge oe-devel@oe-devel.bkbits.net:packages.bb into handhelds.org:/home/kergoth/code/packages.bb 2004/12/07 04:58:25-06:00 ti.com!kergoth More updates per the core rename. 2004/12/07 04:46:51-06:00 ti.com!kergoth Update soundtracker per the core rename. 2004/12/07 04:44:14-06:00 ti.com!kergoth Merge 2004/12/07 04:42:38-06:00 ti.com!kergoth Updates per the recent rename of the oe core from 'oe' to 'bitbake'. BKrev: 41b6293b91LRHSxMOt6WnrZVAdLbFw --- classes/distutils.bbclass | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 classes/distutils.bbclass (limited to 'classes/distutils.bbclass') diff --git a/classes/distutils.bbclass b/classes/distutils.bbclass new file mode 100644 index 0000000000..e69de29bb2 -- cgit v1.2.3 From a8f24080a73fb0c3af7900f700bef855416aa84e Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Thu, 9 Dec 2004 18:08:41 +0000 Subject: make distutils.bbclass add RDEPENDS += python-core BKrev: 41b894a925HLYQ3AukJV6bRfMhuXKg --- classes/distutils.bbclass | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'classes/distutils.bbclass') diff --git a/classes/distutils.bbclass b/classes/distutils.bbclass index e69de29bb2..9918502c64 100644 --- a/classes/distutils.bbclass +++ b/classes/distutils.bbclass @@ -0,0 +1,20 @@ +inherit base +EXTRA_OEMAKE = "" +DEPENDS += "${@["python-native python", ""][(bb.data.getVar('PACKAGES', d, 1) == '')]}" +RDEPENDS += "python-core" + +FILES_${PN} = "${bindir} ${libdir} ${libdir}/python2.3" + +distutils_do_compile() { + BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ + ${STAGING_BINDIR}/python setup.py build || \ + oefatal "python setup.py build execution failed." +} + +distutils_do_install() { + BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ + ${STAGING_BINDIR}/python setup.py install --prefix=${D}/${prefix} --install-data=${D}/${datadir} || \ + oefatal "python setup.py install execution failed." +} + +EXPORT_FUNCTIONS do_compile do_install -- cgit v1.2.3 From fb2fa1075ab82a84ead46c6d400755297bcc39f4 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Wed, 9 Feb 2005 00:06:49 +0000 Subject: Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into gandalf.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages 2005/02/09 01:04:39+01:00 uni-frankfurt.de!mickeyl Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into gandalf.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages 2005/02/09 01:04:15+01:00 uni-frankfurt.de!mickeyl remove direct references to python2.3, instead compute PYTHON_DIR in distutils. Split distutils into distutils-base and distutils. BKrev: 42095419HYtcbp33LQCUNFdiLMXHog --- classes/distutils.bbclass | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'classes/distutils.bbclass') diff --git a/classes/distutils.bbclass b/classes/distutils.bbclass index 9918502c64..a2b0e2b770 100644 --- a/classes/distutils.bbclass +++ b/classes/distutils.bbclass @@ -1,9 +1,4 @@ -inherit base -EXTRA_OEMAKE = "" -DEPENDS += "${@["python-native python", ""][(bb.data.getVar('PACKAGES', d, 1) == '')]}" -RDEPENDS += "python-core" - -FILES_${PN} = "${bindir} ${libdir} ${libdir}/python2.3" +inherit distutils-base distutils_do_compile() { BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ -- cgit v1.2.3