summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/service_identity/service_identity-18.1.0.ebuild')
-rw-r--r--dev-python/service_identity/service_identity-18.1.0.ebuild24
1 files changed, 2 insertions, 22 deletions
diff --git a/dev-python/service_identity/service_identity-18.1.0.ebuild b/dev-python/service_identity/service_identity-18.1.0.ebuild
index e582acd01e68..73195bd293e5 100644
--- a/dev-python/service_identity/service_identity-18.1.0.ebuild
+++ b/dev-python/service_identity/service_identity-18.1.0.ebuild
@@ -15,7 +15,6 @@ S=${WORKDIR}/${P/_/-}
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc"
# TODO: upstream made pyopenssl optional
RDEPEND="
@@ -24,26 +23,7 @@ RDEPEND="
>=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}]
dev-python/attrs[${PYTHON_USEDEP}]"
BDEPEND="
- dev-python/setuptools[${PYTHON_USEDEP}]
- doc? ( $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') )"
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+distutils_enable_sphinx docs
distutils_enable_tests pytest
-
-python_check_deps() {
- use doc || return 0
-
- has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
-}
-
-python_prepare_all() {
- # Prevent un-needed download during build
- sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/conf.py || die
- distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
- if use doc; then
- emake -C docs html
- HTML_DOCS=( docs/_build/html/. )
- fi
-}