summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-17 16:30:36 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-17 16:30:36 +0000
commit4a2d42cd147e2502b684fb775045f78c6ef2bfa2 (patch)
treeb6d37cbb95688b95ad43d333a2d79e8573a34027 /dev-python/restrictedpython
parentStable on amd64 wrt bug #328125 (diff)
downloadgentoo-2-4a2d42cd147e2502b684fb775045f78c6ef2bfa2.tar.gz
gentoo-2-4a2d42cd147e2502b684fb775045f78c6ef2bfa2.tar.bz2
gentoo-2-4a2d42cd147e2502b684fb775045f78c6ef2bfa2.zip
Install tests, but don't optimize them.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/restrictedpython')
-rw-r--r--dev-python/restrictedpython/restrictedpython-3.6.0.ebuild11
1 files changed, 3 insertions, 8 deletions
diff --git a/dev-python/restrictedpython/restrictedpython-3.6.0.ebuild b/dev-python/restrictedpython/restrictedpython-3.6.0.ebuild
index ecd4d7a20239..a490f81ce1a5 100644
--- a/dev-python/restrictedpython/restrictedpython-3.6.0.ebuild
+++ b/dev-python/restrictedpython/restrictedpython-3.6.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/restrictedpython/restrictedpython-3.6.0.ebuild,v 1.1 2010/07/09 22:45:13 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/restrictedpython/restrictedpython-3.6.0.ebuild,v 1.2 2010/07/17 16:30:36 arfrever Exp $
EAPI="3"
PYTHON_DEPEND="2"
@@ -31,11 +31,6 @@ S="${WORKDIR}/${MY_P}"
DOCS="CHANGES.txt src/RestrictedPython/README.txt"
PYTHON_MODNAME="${MY_PN}"
-src_install() {
- distutils_src_install
-
- delete_tests() {
- rm -fr "${ED}$(python_get_sitedir)/RestrictedPython/tests"
- }
- python_execute_function delete_tests
+pkg_postinst() {
+ python_mod_optimize -x /tests/ ${MY_PN}
}