EAPI=7
-PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 )
inherit distutils-r1
SLOT="0"
KEYWORDS="~alpha amd64 ~arm64 ~hppa ~sparc x86"
IUSE="test"
+RESTRICT="!test? ( test )"
-CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-DEPEND="${CDEPEND}
+DEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pretend[${PYTHON_USEDEP}]
)
"
-RDEPEND="${CDEPEND}
+RDEPEND="
>=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
>=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}]
>=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' python{2_7,3_5})
"
-RESTRICT="!test? ( test )"
-
PATCHES=(
"${FILESDIR}/twine-1.15.0-tests.patch"
)
EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
inherit distutils-r1
SLOT="0"
KEYWORDS="~alpha amd64 ~arm64 x86"
IUSE="test"
+RESTRICT="!test? ( test )"
-CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-BDEPEND="${CDEPEND}
+BDEPEND="
test? (
dev-python/jaraco-envs[${PYTHON_USEDEP}]
dev-python/jaraco-functools[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)
"
-RDEPEND="${CDEPEND}
+RDEPEND="
>=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
>=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}]
>=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
>=dev-python/keyring-15.1[${PYTHON_USEDEP}]
"
-RESTRICT="!test? ( test )"
-
PATCHES=(
"${FILESDIR}/twine-3.0.0-tests.patch"
)