summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-11-25 13:25:23 +0100
committerMichał Górny <mgorny@gentoo.org>2019-11-25 13:35:19 +0100
commit4f35947dee4e5b3dd50f3590244d5b2db0f7082c (patch)
tree1e5d92b9b98ce66dfac8443594d4be44c4759ef5 /dev-python/urllib3/urllib3-1.24.2.ebuild
parentdev-python/tempora: Use distutils_enable_sphinx (diff)
downloadgentoo-4f35947dee4e5b3dd50f3590244d5b2db0f7082c.tar.gz
gentoo-4f35947dee4e5b3dd50f3590244d5b2db0f7082c.tar.bz2
gentoo-4f35947dee4e5b3dd50f3590244d5b2db0f7082c.zip
dev-python/urllib3: Use distutils_enable_sphinx
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/urllib3/urllib3-1.24.2.ebuild')
-rw-r--r--dev-python/urllib3/urllib3-1.24.2.ebuild18
1 files changed, 2 insertions, 16 deletions
diff --git a/dev-python/urllib3/urllib3-1.24.2.ebuild b/dev-python/urllib3/urllib3-1.24.2.ebuild
index b1598117c52..cf59c0ffa92 100644
--- a/dev-python/urllib3/urllib3-1.24.2.ebuild
+++ b/dev-python/urllib3/urllib3-1.24.2.ebuild
@@ -15,9 +15,8 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="doc test"
+IUSE="test"
RESTRICT="!test? ( test )"
-#RESTRICT="test"
RDEPEND="
>=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}]
@@ -37,15 +36,9 @@ DEPEND="
dev-python/pytest[${PYTHON_USEDEP}]
>=www-servers/tornado-4.2.1[$(python_gen_usedep python{2_7,3_{5,6,7}})]
)
- doc? (
- $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]')
- )
"
-python_check_deps() {
- use doc || return 0
- has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
-}
+distutils_enable_sphinx docs
python_prepare_all() {
# skip appengine tests
@@ -54,13 +47,6 @@ python_prepare_all() {
distutils-r1_python_prepare_all
}
-python_compile_all() {
- if use doc; then
- emake -C docs SPHINXOPTS= html
- HTML_DOCS=( docs/_build/html/. )
- fi
-}
-
python_test() {
# FIXME: get tornado ported
case ${EPYTHON} in