public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jaraco-packaging/
Date: Mon, 25 Nov 2019 12:35:30 +0000 (UTC)	[thread overview]
Message-ID: <1574685311.f7595ec5e0419cc5f2373a3395e5182baa9f7320.mgorny@gentoo> (raw)

commit:     f7595ec5e0419cc5f2373a3395e5182baa9f7320
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 25 12:25:05 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Nov 25 12:35:11 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7595ec5

dev-python/jaraco-packaging: Use distutils_enable_sphinx

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../jaraco-packaging-6.2-r1.ebuild                 | 30 ++++------------------
 1 file changed, 5 insertions(+), 25 deletions(-)

diff --git a/dev-python/jaraco-packaging/jaraco-packaging-6.2-r1.ebuild b/dev-python/jaraco-packaging/jaraco-packaging-6.2-r1.ebuild
index e3e5f83ada4..79852d7bffa 100644
--- a/dev-python/jaraco-packaging/jaraco-packaging-6.2-r1.ebuild
+++ b/dev-python/jaraco-packaging/jaraco-packaging-6.2-r1.ebuild
@@ -11,11 +11,13 @@ MY_PN="${PN/-/.}"
 DESCRIPTION="Tools to supplement packaging Python releases"
 HOMEPAGE="https://github.com/jaraco/jaraco.packaging"
 SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE="doc test"
+IUSE="test"
+RESTRICT="!test? ( test )"
 
 RDEPEND="
 	dev-python/importlib_metadata[${PYTHON_USEDEP}]
@@ -24,28 +26,14 @@ RDEPEND="
 "
 DEPEND="
 	dev-python/setuptools[${PYTHON_USEDEP}]
-	doc? (
-		$(python_gen_any_dep '
-			>=dev-python/rst-linker-1.9[${PYTHON_USEDEP}]
-			dev-python/sphinx[${PYTHON_USEDEP}]
-		')
-	)
 	test? (
 		${RDEPEND}
 		>=dev-python/pytest-2.8[${PYTHON_USEDEP}]
 	)
 "
 
-RESTRICT="!test? ( test )"
-
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-python_check_deps() {
-	use doc || return 0
-
-	has_version ">=dev-python/rst-linker-1.9[${PYTHON_USEDEP}]" && \
-		has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
-}
+distutils_enable_sphinx docs \
+	">=dev-python/rst-linker-1.9"
 
 python_prepare_all() {
 	# avoid a setuptools_scm dependency
@@ -56,14 +44,6 @@ python_prepare_all() {
 	distutils-r1_python_prepare_all
 }
 
-python_compile_all() {
-	if use doc; then
-		cd docs || die
-		sphinx-build . _build/html || die
-		HTML_DOCS=( docs/_build/html/. )
-	fi
-}
-
 python_test() {
 	# Skip one test which requires network access
 	# Override pytest options to skip flake8


             reply	other threads:[~2019-11-25 12:35 UTC|newest]

Thread overview: 83+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-25 12:35 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-05-13 16:31 [gentoo-commits] repo/gentoo:master commit in: dev-python/jaraco-packaging/ Arthur Zamarin
2022-03-20 18:36 Michał Górny
2022-03-20 18:34 Sam James
2022-03-18 13:18 Michał Górny
2022-03-15 14:14 Michał Górny
2022-03-15 11:44 Jakov Smolić
2022-02-11  9:42 Michał Górny
2022-02-04 18:52 Michał Górny
2022-02-04 18:32 Michał Górny
2022-02-04 18:32 Michał Górny
2022-02-04 12:04 Michał Górny
2022-01-19 22:45 James Le Cuirot
2021-05-06 14:44 Michał Górny
2021-04-18  7:05 Michał Górny
2021-04-18  1:41 Sam James
2021-03-15  8:34 Michał Górny
2021-03-02  8:25 Michał Górny
2021-03-02  1:34 Sam James
2021-01-05 21:27 Michał Górny
2021-01-05 21:00 Sam James
2020-12-29 19:48 Michał Górny
2020-11-22 16:22 Louis Sautier
2020-10-18  6:25 Michał Górny
2020-10-17 23:49 Sam James
2020-10-16 12:00 Michał Górny
2020-09-20 15:38 Michał Górny
2020-09-04 22:45 Louis Sautier
2020-05-13 11:30 Agostino Sarubbo
2020-05-11 15:32 Mart Raudsepp
2020-05-08  9:36 Sergei Trofimovich
2020-05-04 16:51 Agostino Sarubbo
2020-05-03 15:13 Agostino Sarubbo
2020-05-03 10:25 Agostino Sarubbo
2020-03-25 11:46 Michał Górny
2020-03-25 11:46 Michał Górny
2020-02-28 13:09 Louis Sautier
2020-02-28 13:09 Louis Sautier
2019-12-04  6:48 Aaron Bauman
2019-11-25  8:09 Patrick McLean
2019-11-22  0:20 Patrick McLean
2019-08-10  9:08 Sergei Trofimovich
2019-08-02 14:00 Louis Sautier
2019-08-02  8:36 Mikle Kolyada
2019-08-02  8:36 Mikle Kolyada
2019-08-02  8:36 Mikle Kolyada
2019-08-02  8:36 Mikle Kolyada
2019-08-01  6:34 Sergei Trofimovich
2019-08-01  6:28 Sergei Trofimovich
2019-07-31 17:44 Sergei Trofimovich
2019-07-29 13:36 Louis Sautier
2019-07-29 13:36 Louis Sautier
2019-07-03 23:36 Louis Sautier
2019-07-03 23:36 Louis Sautier
2019-03-03 11:00 Mikle Kolyada
2018-12-11 12:50 Louis Sautier
2018-07-30 21:57 Mikle Kolyada
2018-07-16 19:57 Michał Górny
2018-06-26 14:29 Louis Sautier
2018-06-26 14:29 Louis Sautier
2018-06-25 10:40 Jason Zaman
2018-06-18 10:34 Louis Sautier
2018-06-08 12:05 Michał Górny
2018-04-09 20:22 Stephen Klimaszewski
2018-03-21 19:41 Markus Meier
2018-03-15  1:03 Matt Turner
2018-02-22 20:49 Michał Górny
2017-12-27 20:37 Sergei Trofimovich
2017-12-27 20:06 Sergei Trofimovich
2017-12-23 21:58 Sergei Trofimovich
2017-12-21 22:34 Sergei Trofimovich
2017-12-17 21:33 Sergei Trofimovich
2017-12-16 21:56 Mike Gilbert
2017-11-23 22:31 Matt Turner
2017-11-10  1:08 Matt Turner
2017-08-06 12:45 Sergei Trofimovich
2017-08-05 19:25 Sergei Trofimovich
2017-07-14 21:35 Alexis Ballier
2017-06-17 17:24 Agostino Sarubbo
2017-06-17 15:36 Agostino Sarubbo
2017-06-15 20:52 Sergei Trofimovich
2017-06-14 19:49 Markus Meier
2017-05-15  9:09 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1574685311.f7595ec5e0419cc5f2373a3395e5182baa9f7320.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox