dev-python/mini-amf: use DISTUTILS_USE_SETUPTOOLS
authorJoonas Niilola <juippis@gentoo.org>
Wed, 8 Jan 2020 12:45:16 +0000 (14:45 +0200)
committerJoonas Niilola <juippis@gentoo.org>
Wed, 8 Jan 2020 12:52:06 +0000 (14:52 +0200)
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
dev-python/mini-amf/mini-amf-0.9.1.ebuild

index 52d800a071a170dbad1e5cc453ff391b08efbdb6..2e6674bebba434889fcbeff33f1794cf86b5f4e4 100644 (file)
@@ -4,6 +4,8 @@
 EAPI=7
 
 PYTHON_COMPAT=( python2_7 python3_{6..8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
 inherit distutils-r1
 
 DESCRIPTION="Minimal AMF encoder and decoder for Python"
@@ -17,11 +19,9 @@ IUSE="doc test"
 
 RESTRICT="!test? ( test )"
 
-COMMON_DEPEND="dev-python/defusedxml[${PYTHON_USEDEP}]
+RDEPEND="dev-python/defusedxml[${PYTHON_USEDEP}]
        dev-python/six[${PYTHON_USEDEP}]"
-RDEPEND="${COMMON_DEPEND}
-       dev-python/setuptools[${PYTHON_USEDEP}]"
-DEPEND="${COMMON_DEPEND}
+DEPEND="${RDEPEND}
        test? (
                dev-python/coverage[${PYTHON_USEDEP}]
                dev-python/flake8[${PYTHON_USEDEP}]