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/treq/
Date: Mon,  9 Aug 2021 09:20:16 +0000 (UTC)	[thread overview]
Message-ID: <1628500803.fef1e07a84528d2f64bc309d570430d8e03aeb5c.mgorny@gentoo> (raw)

commit:     fef1e07a84528d2f64bc309d570430d8e03aeb5c
Author:     Arthur Zamarin <arthurzam <AT> gmail <DOT> com>
AuthorDate: Mon Aug  9 08:57:53 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Aug  9 09:20:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fef1e07a

dev-python/treq: fix doc generation

Signed-off-by: Arthur Zamarin <arthurzam <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/21924
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/treq/treq-21.5.0.ebuild | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/dev-python/treq/treq-21.5.0.ebuild b/dev-python/treq/treq-21.5.0.ebuild
index 74917bd68d0..4a466dd998f 100644
--- a/dev-python/treq/treq-21.5.0.ebuild
+++ b/dev-python/treq/treq-21.5.0.ebuild
@@ -25,20 +25,16 @@ RDEPEND="
 	>=dev-python/twisted-18.7.0[crypt,${PYTHON_USEDEP}]
 "
 BDEPEND="
-	doc? ( dev-python/sphinx
-		${RDEPEND} )
 	test? (
 		dev-python/httpbin[${PYTHON_USEDEP}]
 	)"
 
-python_compile_all() {
-	use doc && emake -C "${S}/docs" html
-}
-
-python_install_all() {
-	use doc && HTML_DOCS=( docs/_build/html/ )
+distutils_enable_sphinx docs
 
-	distutils-r1_python_install_all
+src_prepare() {
+	# fix relative path for docs generation
+	sed -e "s@('..')@('../src')@" -i docs/conf.py || die
+	distutils-r1_src_prepare
 }
 
 python_test() {


             reply	other threads:[~2021-08-09  9:20 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-09  9:20 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-02 12:06 [gentoo-commits] repo/gentoo:master commit in: dev-python/treq/ Petr Vaněk
2024-12-01  8:32 Sam James
2024-10-24  7:40 Arthur Zamarin
2024-10-24  0:12 Jakov Smolić
2024-10-21 18:41 Arthur Zamarin
2024-10-21 13:41 Sam James
2024-10-21 12:19 Michał Górny
2024-10-05  9:36 Michał Górny
2024-10-05  9:21 Arthur Zamarin
2024-09-20  5:12 Michał Górny
2024-08-13 20:41 Michał Górny
2023-11-29 10:35 Michał Górny
2023-11-29 10:33 Michał Górny
2023-11-04 17:14 Arthur Zamarin
2023-05-29 12:26 Michał Górny
2022-10-28 13:34 Sam James
2022-09-22  7:42 Agostino Sarubbo
2022-07-10 18:41 Arthur Zamarin
2022-07-04  6:57 Michał Górny
2022-05-16 13:30 Michał Górny
2022-03-14 10:32 Yixun Lan
2022-02-09  9:39 Michał Górny
2022-01-30  7:42 Michał Górny
2022-01-30  7:07 Michał Górny
2022-01-30  7:07 Michał Górny
2021-10-17  9:41 Michał Górny
2021-08-09  9:20 Michał Górny
2021-08-09  9:20 Michał Górny
2021-08-09  9:20 Michał Górny
2021-06-20 16:07 Brian Dolbec
2021-05-04 19:23 Sam James
2021-01-29 21:46 Brian Dolbec
2020-10-21 22:51 Michał Górny
2020-10-10 18:56 Brian Dolbec
2020-05-12 22:07 Brian Dolbec
2020-05-12 18:15 Brian Dolbec
2020-03-17  8:08 Michał Górny
2020-02-06  6:38 Michał Górny
2019-12-29  8:53 David Seifert
2019-05-21 15:25 Stephen Klimaszewski
2018-03-17  9:24 Pacho Ramos
2018-01-19 22:55 Brian Dolbec
2017-03-29  1:43 Brian Dolbec
2016-12-24 21:54 Brian Dolbec

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=1628500803.fef1e07a84528d2f64bc309d570430d8e03aeb5c.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