From f1a1ce103ab659640dd4a20901f2d2e7a72b6336 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 15 Aug 2015 07:42:19 +0200 Subject: dev-python/pypy*: Fix USE=-ncurses and USE=-gdbm Fix USE=-ncurses (and USE=-gdbm in pypy-2.6.0) not to try to regenerate cffi modules for the two. Bug: https://bugs.gentoo.org/show_bug.cgi?id=557540#c3 Package-Manager: portage-2.2.20 --- dev-python/pypy3/pypy3-2.4.0.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dev-python/pypy3') diff --git a/dev-python/pypy3/pypy3-2.4.0.ebuild b/dev-python/pypy3/pypy3-2.4.0.ebuild index 20b01f34f5f5..0c369adb0be0 100644 --- a/dev-python/pypy3/pypy3-2.4.0.ebuild +++ b/dev-python/pypy3/pypy3-2.4.0.ebuild @@ -197,11 +197,13 @@ src_install() { # Generate cffi cache # Please keep in sync with pypy/tool/release/package.py! - "${PYTHON}" -c "import _curses" || die "Failed to import _curses (cffi)" "${PYTHON}" -c "import syslog" || die "Failed to import syslog (cffi)" if use gdbm; then "${PYTHON}" -c "import _gdbm" || die "Failed to import gdbm (cffi)" fi + if use ncurses; then + "${PYTHON}" -c "import _curses" || die "Failed to import _curses (cffi)" + fi if use sqlite; then "${PYTHON}" -c "import _sqlite3" || die "Failed to import _sqlite3 (cffi)" fi -- cgit v1.2.3-65-gdbad