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@riseup.net>
This commit is contained in:
Andrew Ammerlaan
2020-03-02 20:35:57 +01:00
parent 8a66925d41
commit 0727330e5e

View File

@@ -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