diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-04-14 18:45:23 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-04-14 18:45:23 +0000 |
| commit | 8fdc3a2b9cc2cfe01893b9cb3f923c210287b0f1 (patch) | |
| tree | 67723745baeb547a82176791d74b80470cdb8d29 /dev-lang/python-exec/python-exec-2.4.10.ebuild | |
| parent | 63e9c2d7721dccfc29927b157ad9c1934f727820 (diff) | |
| download | baldeagleos-repo-8fdc3a2b9cc2cfe01893b9cb3f923c210287b0f1.tar.gz baldeagleos-repo-8fdc3a2b9cc2cfe01893b9cb3f923c210287b0f1.tar.xz baldeagleos-repo-8fdc3a2b9cc2cfe01893b9cb3f923c210287b0f1.zip | |
Adding metadata
Diffstat (limited to 'dev-lang/python-exec/python-exec-2.4.10.ebuild')
| -rw-r--r-- | dev-lang/python-exec/python-exec-2.4.10.ebuild | 16 |
1 files changed, 12 insertions, 4 deletions
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 |
