diff options
author | Justin Lecher <jlec@gentoo.org> | 2019-07-07 09:06:51 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2019-07-08 20:34:58 +0100 |
commit | 7b6255ed70d718ed032f9806fb206700477de39b (patch) | |
tree | 30c67f138a1c94d219af6f096a4bcf6970ec5eb8 /sys-fs/pysize/pysize-0.2-r1.ebuild | |
parent | dev-python/gcs-oauth2-boto-plugin: Version bump to 2.5 (diff) | |
download | gentoo-7b6255ed70d718ed032f9806fb206700477de39b.tar.gz gentoo-7b6255ed70d718ed032f9806fb206700477de39b.tar.bz2 gentoo-7b6255ed70d718ed032f9806fb206700477de39b.zip |
sys-fs/pysize: Restrict test and EAPI=7
Closes: https://bugs.gentoo.org/643440
Closes: https://bugs.gentoo.org/650112
Package-Manager: Portage-2.3.68, Repoman-2.3.12
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sys-fs/pysize/pysize-0.2-r1.ebuild')
-rw-r--r-- | sys-fs/pysize/pysize-0.2-r1.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys-fs/pysize/pysize-0.2-r1.ebuild b/sys-fs/pysize/pysize-0.2-r1.ebuild index 00d9596d3c9c..867db7463b78 100644 --- a/sys-fs/pysize/pysize-0.2-r1.ebuild +++ b/sys-fs/pysize/pysize-0.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -18,6 +18,8 @@ IUSE="gtk ncurses" REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="test" + RDEPEND=" gtk? ( dev-python/pygtk:2 ) ncurses? ( sys-libs/ncurses:0= )" @@ -49,6 +51,10 @@ python_prepare_all() { fi sed \ + -e "s:/tmp:${T}:g" \ + -i tests/tests/*.py tests/*py || die + + sed \ -e '/for ui_run in/s:ui_ascii.run:ui_ascii.run, ui_ascii.run:g' \ -i pysize/main.py || die |