commit: 1182b3f591cacb3555cd8b1783ddb6b8c0ad357e Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Mar 2 08:05:50 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Mar 2 08:40:15 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1182b3f5
app-arch/vimball: add Python 3.9, use d_e_t pytest Signed-off-by: Sam James <sam <AT> gentoo.org> app-arch/vimball/vimball-0.5.1.ebuild | 13 ++++--------- app-arch/vimball/vimball-9999.ebuild | 13 ++++--------- 2 files changed, 8 insertions(+), 18 deletions(-) diff --git a/app-arch/vimball/vimball-0.5.1.ebuild b/app-arch/vimball/vimball-0.5.1.ebuild index 2ad50ff8856..1c9ba30f2f5 100644 --- a/app-arch/vimball/vimball-0.5.1.ebuild +++ b/app-arch/vimball/vimball-0.5.1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) + +PYTHON_COMPAT=( python3_{7,8,9} ) DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 @@ -19,11 +20,5 @@ HOMEPAGE="https://github.com/radhermit/vimball" LICENSE="MIT" SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )" -python_test() { - esetup.py test -} +distutils_enable_tests pytest diff --git a/app-arch/vimball/vimball-9999.ebuild b/app-arch/vimball/vimball-9999.ebuild index b5126bad3cf..ee51ee89990 100644 --- a/app-arch/vimball/vimball-9999.ebuild +++ b/app-arch/vimball/vimball-9999.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) + +PYTHON_COMPAT=( python3_{7,8,9} ) DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 @@ -19,11 +20,5 @@ HOMEPAGE="https://github.com/radhermit/vimball" LICENSE="MIT" SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )" -python_test() { - esetup.py test -} +distutils_enable_tests pytest