summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2014-05-18 14:24:02 +0000
committerMike Gilbert <floppym@gentoo.org>2014-05-18 14:24:02 +0000
commit8afa923ab4eef9da10eb4f88888f6834f5b340b8 (patch)
tree09f74fb907c49b4bbd402d624a04aae28f705c6f /dev-python/pypy
parentAdd missing inherits and eautoreconf, fixes bug #510034 and bug #510548; repo... (diff)
downloadgentoo-2-8afa923ab4eef9da10eb4f88888f6834f5b340b8.tar.gz
gentoo-2-8afa923ab4eef9da10eb4f88888f6834f5b340b8.tar.bz2
gentoo-2-8afa923ab4eef9da10eb4f88888f6834f5b340b8.zip
Remove cffi temporary files during installation.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'dev-python/pypy')
-rw-r--r--dev-python/pypy/ChangeLog5
-rw-r--r--dev-python/pypy/pypy-2.3.ebuild6
2 files changed, 9 insertions, 2 deletions
diff --git a/dev-python/pypy/ChangeLog b/dev-python/pypy/ChangeLog
index 79fa4a321b25..00afbe3d59fd 100644
--- a/dev-python/pypy/ChangeLog
+++ b/dev-python/pypy/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/pypy
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pypy/ChangeLog,v 1.65 2014/05/16 21:50:11 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pypy/ChangeLog,v 1.66 2014/05/18 14:24:02 floppym Exp $
+
+ 18 May 2014; Mike Gilbert <floppym@gentoo.org> pypy-2.3.ebuild:
+ Remove cffi temporary files during installation.
16 May 2014; Michał Górny <mgorny@gentoo.org> -pypy-2.0.2.ebuild:
Remove old (slotted) version.
diff --git a/dev-python/pypy/pypy-2.3.ebuild b/dev-python/pypy/pypy-2.3.ebuild
index 99913cdd2cd5..b1aa2d1689db 100644
--- a/dev-python/pypy/pypy-2.3.ebuild
+++ b/dev-python/pypy/pypy-2.3.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/dev-python/pypy/pypy-2.3.ebuild,v 1.1 2014/05/15 01:00:04 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pypy/pypy-2.3.ebuild,v 1.2 2014/05/18 14:24:02 floppym Exp $
EAPI=5
@@ -169,6 +169,10 @@ src_install() {
"${PYTHON}" -c "import _tkinter" || die "Failed to import _tkinter (cffi)"
fi
+ # Cleanup temporary objects
+ find "${ED%/}${INSDESTTREE}" -name "_cffi_*.[co]" -delete || die
+ find "${ED%/}${INSDESTTREE}" -type d -empty -delete || die
+
# compile the installed modules
python_optimize "${ED%/}${INSDESTTREE}"
}