From 8fdc3a2b9cc2cfe01893b9cb3f923c210287b0f1 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sun, 14 Apr 2024 18:45:23 +0000 Subject: Adding metadata --- dev-lang/python-exec/python-exec-2.4.10.ebuild | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'dev-lang/python-exec/python-exec-2.4.10.ebuild') diff --git a/dev-lang/python-exec/python-exec-2.4.10.ebuild b/dev-lang/python-exec/python-exec-2.4.10.ebuild index eda40da3ce29..fa2433e4dfdb 100644 --- a/dev-lang/python-exec/python-exec-2.4.10.ebuild +++ b/dev-lang/python-exec/python-exec-2.4.10.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + inherit python-any-r1 DESCRIPTION="Python script wrapper" @@ -19,11 +20,13 @@ RESTRICT="!test? ( test )" RDEPEND=" dev-lang/python-exec-conf - !<=dev-lang/python-2.7.18-r3:2.7" + !<=dev-lang/python-2.7.18-r3:2.7 +" BDEPEND=" test? ( $(python_gen_any_dep 'dev-python/pytest[${PYTHON_USEDEP}]') - )" + ) +" python_check_deps() { python_has_version -b "dev-python/pytest[${PYTHON_USEDEP}]" @@ -50,6 +53,11 @@ src_configure() { econf "${myconf[@]}" } +src_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + default +} + src_install() { default -- cgit v1.3.1