diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-11-25 22:12:52 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-11-25 22:13:05 +0100 |
commit | bc75c1b85ce23605a5fdb28e106944e931cca4ef (patch) | |
tree | 2310375f98872e093e49b19fb14230efeef9db4f /dev-python/pypy3 | |
parent | dev-python/pytest-httpx: Remove old (diff) | |
download | gentoo-bc75c1b85ce23605a5fdb28e106944e931cca4ef.tar.gz gentoo-bc75c1b85ce23605a5fdb28e106944e931cca4ef.tar.bz2 gentoo-bc75c1b85ce23605a5fdb28e106944e931cca4ef.zip |
dev-python/pypy3: Remove test support for the time being
Tests still require Python 2, pypy[-full-stdlib] is insufficient
and they are failing anyway.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pypy3')
-rw-r--r-- | dev-python/pypy3/pypy3-7.3.10_rc3.ebuild | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/dev-python/pypy3/pypy3-7.3.10_rc3.ebuild b/dev-python/pypy3/pypy3-7.3.10_rc3.ebuild index ae5eeb7df0a2..c6b9c98cbd92 100644 --- a/dev-python/pypy3/pypy3-7.3.10_rc3.ebuild +++ b/dev-python/pypy3/pypy3-7.3.10_rc3.ebuild @@ -3,8 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python2_7 ) -inherit pax-utils python-any-r1 toolchain-funcs +inherit pax-utils python-utils-r1 toolchain-funcs PYPY_PV=${PV%_p*} MY_P=pypy3.9-v${PYPY_PV/_rc/rc} @@ -26,7 +25,7 @@ LICENSE="MIT" # also check pypy/interpreter/pycode.py -> pypy_incremental_magic SLOT="0/pypy39-pp73-336" KEYWORDS="" -IUSE="+ensurepip gdbm +jit ncurses sqlite test tk" +IUSE="+ensurepip gdbm +jit ncurses sqlite tk" # many tests are failing upstream # see https://buildbot.pypy.org/summary?branch=py3.9 RESTRICT="test" @@ -48,16 +47,8 @@ RDEPEND=" " DEPEND=" ${RDEPEND} - test? ( - ${PYTHON_DEPS} - !!dev-python/pytest-forked - ) " -pkg_setup() { - use test && python-any-r1_pkg_setup -} - src_prepare() { local PATCHES=( "${WORKDIR}/${PATCHSET}" @@ -147,17 +138,6 @@ src_compile() { find -type d -empty -delete || die } -src_test() { - # (unset) - local -x PYTHONDONTWRITEBYTECODE= - local -x COLUMNS=80 - - # Test runner requires Python 2 too. However, it spawns PyPy3 - # internally so that we end up testing the correct interpreter. - # (--deselect for failing doctests) - "${EPYTHON}" ./pypy/test_all.py --pypy=./pypy3.9-c -vv lib-python || die -} - src_install() { einfo "Installing PyPy ..." dodir /usr/bin |