diff options
author | Zac Medico <zmedico@gentoo.org> | 2014-09-17 06:22:02 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2014-09-17 06:22:02 +0000 |
commit | 027094b7b19fc7caef6b821b1ac5cb2990f91d3c (patch) | |
tree | 9789985fa1dc80af29e2e51a69ac9c10e9148d88 /sys-apps | |
parent | Version bump wrt security #522982 (diff) | |
download | gentoo-2-027094b7b19fc7caef6b821b1ac5cb2990f91d3c.tar.gz gentoo-2-027094b7b19fc7caef6b821b1ac5cb2990f91d3c.tar.bz2 gentoo-2-027094b7b19fc7caef6b821b1ac5cb2990f91d3c.zip |
Recompile the emaint module with lower optimization than the distutils-r1 default, since emaint breaks when __doc__ is optimized away.
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 0xFDE8EF85AE5719A3)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/portage/ChangeLog | 6 | ||||
-rw-r--r-- | sys-apps/portage/portage-2.2.13.ebuild | 12 |
2 files changed, 16 insertions, 2 deletions
diff --git a/sys-apps/portage/ChangeLog b/sys-apps/portage/ChangeLog index 09b1e19d6a29..07519f70cf0b 100644 --- a/sys-apps/portage/ChangeLog +++ b/sys-apps/portage/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/portage # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.1407 2014/09/16 23:45:31 dolsen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.1408 2014/09/17 06:22:02 zmedico Exp $ + + 17 Sep 2014; Zac Medico <zmedico@gentoo.org> portage-2.2.13.ebuild: + Recompile the emaint module with lower optimization than the distutils-r1 + default, since emaint breaks when __doc__ is optimized away. *portage-2.2.13 (16 Sep 2014) diff --git a/sys-apps/portage/portage-2.2.13.ebuild b/sys-apps/portage/portage-2.2.13.ebuild index 080b711890c7..96e62cf26f3e 100644 --- a/sys-apps/portage/portage-2.2.13.ebuild +++ b/sys-apps/portage/portage-2.2.13.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.2.13.ebuild,v 1.1 2014/09/16 23:45:31 dolsen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.2.13.ebuild,v 1.2 2014/09/17 06:22:02 zmedico Exp $ EAPI=5 @@ -172,6 +172,16 @@ python_install() { python_install_all() { distutils-r1_python_install_all + # Recompile the emaint module with lower optimization than the + # distutils-r1 default, since emaint breaks when __doc__ is + # optimized away. + local python d + for python in "${PYTHON_COMPAT[@]}" ; do + python=${python/_/.} + d=${EPREFIX}/usr/$(get_libdir)/${python}/site-packages/portage/emaint + "${EPREFIX}/usr/bin/${python}" -O -m compileall -q -f -d "${d}" "${D%/}${d}" || die + done + local targets=() use doc && targets+=( install_docbook ) use epydoc && targets+=( install_epydoc ) |