diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-03-18 08:00:16 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-03-18 08:27:09 +0100 |
commit | 709997a8baac0690cbc1edb46f943d438cba016c (patch) | |
tree | 54f2f07692f409e96dec6ddf6aaec68db5d7f89a /www-servers | |
parent | dev-python/pyopenssl: Remove old (diff) | |
download | gentoo-709997a8baac0690cbc1edb46f943d438cba016c.tar.gz gentoo-709997a8baac0690cbc1edb46f943d438cba016c.tar.bz2 gentoo-709997a8baac0690cbc1edb46f943d438cba016c.zip |
www-servers/tornado: Use distutils_enable_sphinx
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/tornado/tornado-4.5.3.ebuild | 14 | ||||
-rw-r--r-- | www-servers/tornado/tornado-5.1-r1.ebuild | 14 | ||||
-rw-r--r-- | www-servers/tornado/tornado-6.0.3.ebuild | 14 |
3 files changed, 12 insertions, 30 deletions
diff --git a/www-servers/tornado/tornado-4.5.3.ebuild b/www-servers/tornado/tornado-4.5.3.ebuild index 2daf907e25da..9de109a2f008 100644 --- a/www-servers/tornado/tornado-4.5.3.ebuild +++ b/www-servers/tornado/tornado-4.5.3.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux" -IUSE="doc examples test" +IUSE="examples test" RESTRICT="!test? ( test )" CDEPEND=" @@ -36,10 +36,6 @@ CDEPEND=" " DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] - ) test? ( ${CDEPEND} dev-python/mock[${PYTHON_USEDEP}] @@ -47,21 +43,19 @@ DEPEND=" " RDEPEND="${CDEPEND}" +distutils_enable_sphinx docs \ + dev-python/sphinx_rtd_theme + # doc without intersphinx does not build (asyncio error) #PATCHES=( # "${FILESDIR}"/4.5.1-drop-intersphinx.patch #) -python_compile_all() { - use doc && emake -C docs sphinx -} - python_test() { "${PYTHON}" -m tornado.test.runtests || die "tests failed under ${EPYTHON}" } python_install_all() { - use doc && local HTML_DOCS=( docs/build/html/. ) if use examples; then insinto /usr/share/doc/${PF}/examples doins -r demos/. diff --git a/www-servers/tornado/tornado-5.1-r1.ebuild b/www-servers/tornado/tornado-5.1-r1.ebuild index 11bf422e43d5..d2edc90b3331 100644 --- a/www-servers/tornado/tornado-5.1-r1.ebuild +++ b/www-servers/tornado/tornado-5.1-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux" -IUSE="doc examples test" +IUSE="examples test" RESTRICT="!test? ( test )" CDEPEND=" @@ -30,10 +30,6 @@ CDEPEND=" " DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] - ) test? ( ${CDEPEND} dev-python/mock[${PYTHON_USEDEP}] @@ -41,21 +37,19 @@ DEPEND=" " RDEPEND="${CDEPEND}" +distutils_enable_sphinx docs \ + dev-python/sphinx_rtd_theme + # doc without intersphinx does not build (asyncio error) #PATCHES=( # "${FILESDIR}"/4.5.1-drop-intersphinx.patch #) -python_compile_all() { - use doc && emake -C docs sphinx -} - python_test() { "${PYTHON}" -m tornado.test.runtests || die "tests failed under ${EPYTHON}" } python_install_all() { - use doc && local HTML_DOCS=( docs/build/html/. ) if use examples; then insinto /usr/share/doc/${PF}/examples doins -r demos/. diff --git a/www-servers/tornado/tornado-6.0.3.ebuild b/www-servers/tornado/tornado-6.0.3.ebuild index 6f6d43e67095..154b14a5124f 100644 --- a/www-servers/tornado/tornado-6.0.3.ebuild +++ b/www-servers/tornado/tornado-6.0.3.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="doc examples test" +IUSE="examples test" RESTRICT="!test? ( test )" CDEPEND=" @@ -24,10 +24,6 @@ CDEPEND=" " DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] - ) test? ( ${CDEPEND} dev-python/mock[${PYTHON_USEDEP}] @@ -35,21 +31,19 @@ DEPEND=" " RDEPEND="${CDEPEND}" +distutils_enable_sphinx docs \ + dev-python/sphinx_rtd_theme + # doc without intersphinx does not build (asyncio error) #PATCHES=( # "${FILESDIR}"/4.5.1-drop-intersphinx.patch #) -python_compile_all() { - use doc && emake -C docs sphinx -} - python_test() { "${PYTHON}" -m tornado.test.runtests || die "tests failed under ${EPYTHON}" } python_install_all() { - use doc && local HTML_DOCS=( docs/build/html/. ) if use examples; then insinto /usr/share/doc/${PF}/examples doins -r demos/. |