summaryrefslogtreecommitdiff
path: root/classes/distutils.bbclass
blob: a2b0e2b7704627c864d333df0159a7fa65a7873f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
inherit distutils-base

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
for glibc 2.5 by renaming the tee function to tee_filesJamie Lenehan2 2006-08-05packages: sed -i s/^"include "/"require "/ */*.bb GNU sed rocks!Holger Freyther2 2006-04-29coreutils-native: update to 5.3.0Koen Kooi1 2006-01-02coreutils-native: inherit native after autotools to overwrite do_stagePhilipp Zabel1 2005-09-28coreutils 5.3.0: uptime needs -lm on uclibc, fixed the Makefile.amJohn Bowler2 2005-09-27added coreutils 5.3.0Marcin Juszkiewicz4 2005-08-05Sort the special cases into a group, makes it easier to read. Remove duplicat...Oyvind Repvik1 2005-08-05Fix base_bindir vs. bindir confusionOyvind Repvik1 2005-08-05Change priority on broken uptime to be lower than busybox's working uptime. A...Oyvind Repvik1 2005-07-26coreutils hostname doesn't support -F, put at lower priority so the working o...David Karlstrom1 2005-07-23Use of [.coreutils caused problems because the coreutils [ link ended upJohn Bowler1 2005-07-23Updated to use update-alternatives and fix some FHS bugsDavid Karlstrom1 2005-06-30import clean BK tree at cset 1.3670Koen Kooi8 2005-01-06Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net3 2004-12-09Merge oe-devel@oe-devel.bkbits.net:openembeddedChris Larson8