commit:     0727330e5e1d9eb27de65a96daf20dd1f238e352
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Mon Mar  2 19:35:57 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon Mar  2 19:35:57 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0727330e

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 <andrewammerlaan <AT> riseup.net>

 dev-vcs/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 23a9d55..e7c418b 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

Reply via email to