diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-07-10 23:40:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-07-10 23:40:16 +0100 |
commit | 51af5f0eb4cddbe6aa7953717873691d77aae9ff (patch) | |
tree | 1541525274162b033ebbc3ed38abaf335fbbd49a /sys-fs/pysize/pysize-0.2-r1.ebuild | |
parent | 7014a5a3ea0feffab9701fdd6b64cc7667a985af (diff) |
gentoo resync : 11.07.2019
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 |