summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-07-15 13:35:55 +0200
committerMichał Górny <mgorny@gentoo.org>2020-07-15 13:45:31 +0200
commit7bc586534f6bd2d51c4be8372f9f00785cf8fcaf (patch)
tree2a737d122ae8e859d8ddb43e6d91aa0662af05f7 /dev-python/oauth2client
parentdev-perl/Data-Hexify: -r bump for EAPI7 (diff)
downloadgentoo-7bc586534f6bd2d51c4be8372f9f00785cf8fcaf.tar.gz
gentoo-7bc586534f6bd2d51c4be8372f9f00785cf8fcaf.tar.bz2
gentoo-7bc586534f6bd2d51c4be8372f9f00785cf8fcaf.zip
dev-python/oauth2client: Add missing test dep on nose
Closes: https://bugs.gentoo.org/732348 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/oauth2client')
-rw-r--r--dev-python/oauth2client/oauth2client-4.1.3-r1.ebuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/dev-python/oauth2client/oauth2client-4.1.3-r1.ebuild b/dev-python/oauth2client/oauth2client-4.1.3-r1.ebuild
index 04d4bdfa13b7..20ee5e10c6ff 100644
--- a/dev-python/oauth2client/oauth2client-4.1.3-r1.ebuild
+++ b/dev-python/oauth2client/oauth2client-4.1.3-r1.ebuild
@@ -14,9 +14,6 @@ S="${WORKDIR}"/${P/_p/-post}
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="|| ( $(python_gen_useflags 'python*') )"
RDEPEND="
>=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}]
@@ -27,14 +24,15 @@ RDEPEND="
dev-python/keyring[${PYTHON_USEDEP}]
!<=dev-python/google-api-python-client-1.1[${PYTHON_USEDEP}]
"
-BDEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
- test? ( ${RDEPEND}
+BDEPEND="
+ test? (
dev-python/flask[${PYTHON_USEDEP}]
dev-python/sqlalchemy[${PYTHON_USEDEP}]
)
"
+distutils_enable_tests nose
+
PATCHES=(
"${FILESDIR}/oauth2client-4.1.3-py38.patch"
)