From 0727330e5e1d9eb27de65a96daf20dd1f238e352 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Mon, 2 Mar 2020 20:35:57 +0100 Subject: [PATCH] dev-vcs/git-repo-updater: Add DISTUTILS_USE_SETUPTOOLS=rdepend Also replaced deployed distutils_enable_tests it does exactly the same as the code that was there but it is shorter Package-Manager: Portage-2.3.91, Repoman-2.3.20 Signed-off-by: Andrew Ammerlaan --- .../git-repo-updater/git-repo-updater-0.5.1.ebuild | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/dev-vcs/git-repo-updater/git-repo-updater-0.5.1.ebuild b/dev-vcs/git-repo-updater/git-repo-updater-0.5.1.ebuild index 23a9d55a8b..e7c418b140 100644 --- a/dev-vcs/git-repo-updater/git-repo-updater-0.5.1.ebuild +++ b/dev-vcs/git-repo-updater/git-repo-updater-0.5.1.ebuild @@ -2,8 +2,11 @@ # Distributed under the terms of the GNU General Public License v2 EAPI="7" + PYTHON_COMPAT=( python3_{6,7} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + inherit distutils-r1 DESCRIPTION="Easily update multiple git repositories at once" @@ -13,20 +16,11 @@ SRC_URI="https://github.com/earwig/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND=" >=dev-python/colorama-0.3.9[${PYTHON_USEDEP}] >=dev-python/git-python-2.1.8[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}] " -DEPEND="${RDEPEND} - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - ) -" -python_test() { - pytest -vv gitup/test || die -} +distutils_enable_tests pytest