diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-06-03 17:01:13 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-06-03 17:01:13 +0000 |
commit | 2e24c4fd8d59c6d8e7e5f56810dc264e2d16e605 (patch) | |
tree | 360b9f4dfbd88932ee8d2d2a2bd273580603a5cd /sys-apps | |
parent | Rev bump (diff) | |
download | gentoo-2-2e24c4fd8d59c6d8e7e5f56810dc264e2d16e605.tar.gz gentoo-2-2e24c4fd8d59c6d8e7e5f56810dc264e2d16e605.tar.bz2 gentoo-2-2e24c4fd8d59c6d8e7e5f56810dc264e2d16e605.zip |
Remove pointless compilation of python bytecodes and the missingos module in order to fix cross compiles for bug #135398.
(Portage version: 2.1_rc4)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/portage/ChangeLog | 6 | ||||
-rw-r--r-- | sys-apps/portage/portage-2.1_rc4.ebuild | 18 |
2 files changed, 7 insertions, 17 deletions
diff --git a/sys-apps/portage/ChangeLog b/sys-apps/portage/ChangeLog index 9f8e5bd51b67..ba1ee5378561 100644 --- a/sys-apps/portage/ChangeLog +++ b/sys-apps/portage/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/portage # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.165 2006/06/03 04:40:15 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.166 2006/06/03 17:01:13 zmedico Exp $ + + 03 Jun 2006; Zac Medico <zmedico@gentoo.org> portage-2.1_rc4.ebuild: + Remove pointless compilation of python bytecodes and the missingos module + in order to fix cross compiles for bug #135398. *portage-2.1_rc4 (03 Jun 2006) diff --git a/sys-apps/portage/portage-2.1_rc4.ebuild b/sys-apps/portage/portage-2.1_rc4.ebuild index 319a3273f3da..bbca247e3168 100644 --- a/sys-apps/portage/portage-2.1_rc4.ebuild +++ b/sys-apps/portage/portage-2.1_rc4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.1_rc4.ebuild,v 1.1 2006/06/03 04:40:15 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.1_rc4.ebuild,v 1.2 2006/06/03 17:01:13 zmedico Exp $ inherit toolchain-funcs eutils @@ -62,18 +62,10 @@ src_unpack() { } src_compile() { - python -O -c "import compileall; compileall.compile_dir('${S}/pym')" - cd "${S}"/src $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o tbz2tool tbz2tool.c || \ die "Failed to build tbz2tool" - if ! use userland_Darwin; then - cd "${S}"/src/python-missingos - chmod +x setup.py - ./setup.py build || die "Failed to build missingos module" - fi - if use elibc_FreeBSD; then cd "${S}"/src/bsd-flags chmod +x setup.py @@ -98,12 +90,6 @@ src_install() { newins make.conf make.conf.example fi - if ! use userland_Darwin; then - cd "${S}"/src/python-missingos - ./setup.py install --root "${D}" || \ - die "Failed to install missingos module" - fi - if use elibc_FreeBSD; then cd "${S}"/src/bsd-flags ./setup.py install --root "${D}" || \ @@ -125,7 +111,7 @@ src_install() { dodir ${portage_base}/${mydir} insinto ${portage_base}/${mydir} cd "${S}"/${mydir} - doins *.py *.pyo + doins *.py done doman "${S}"/man/*.[0-9] |