From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinxcontrib-asyncio/
Date: Fri, 28 May 2021 21:48:34 +0000 (UTC) [thread overview]
Message-ID: <1622238484.95f24cca2723012d25589febc993a7a45f030e1f.mgorny@gentoo> (raw)
commit: 95f24cca2723012d25589febc993a7a45f030e1f
Author: Zamarin Arthur <arthurzam <AT> gmail <DOT> com>
AuthorDate: Fri May 28 15:39:25 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri May 28 21:48:04 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95f24cca
dev-python/sphinxcontrib-asyncio: EAPI=7, fix sphinx >= 4.0
- fix for `dev-python/sphinx` >= 4.0. Now successfully generates self docs
- bump to `EAPI=7`
- use `distutils_enable_sphinx` for docs
- bump to python 3.9
Signed-off-by: Zamarin Arthur <arthurzam <AT> gmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../sphinxcontrib-asyncio-0.2.0-r2.ebuild | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/dev-python/sphinxcontrib-asyncio/sphinxcontrib-asyncio-0.2.0-r2.ebuild b/dev-python/sphinxcontrib-asyncio/sphinxcontrib-asyncio-0.2.0-r2.ebuild
index 1fd70333189..7b80ce7fde6 100644
--- a/dev-python/sphinxcontrib-asyncio/sphinxcontrib-asyncio-0.2.0-r2.ebuild
+++ b/dev-python/sphinxcontrib-asyncio/sphinxcontrib-asyncio-0.2.0-r2.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
DESCRIPTION="sphinx extension to support coroutines in markup"
@@ -13,17 +13,18 @@ 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 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
-IUSE="doc"
-DEPEND="
- dev-python/setuptools[${PYTHON_USEDEP}]
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
-"
RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]"
-python_compile_all() {
- use doc && emake -C docs html
+distutils_enable_sphinx docs
+
+src_prepare() {
+ # fix for sphinx >= 4.0
+ sed -e 's/PyModulelevel/PyFunction/g' \
+ -e 's/PyClassmember/PyClassMethod/g' \
+ -i sphinxcontrib/asyncio.py || die
+ default
}
python_install() {
@@ -32,7 +33,6 @@ python_install() {
}
python_install_all() {
- use doc && local HTML_DOCS=( docs/_build/html/. )
distutils-r1_python_install_all
# clean up pth files bug #623852
find "${ED}" -name '*.pth' -delete || die
next reply other threads:[~2021-05-28 21:48 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-28 21:48 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-03-17 15:25 [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinxcontrib-asyncio/ Michał Górny
2022-09-26 7:33 Arthur Zamarin
2022-07-10 19:06 Michał Górny
2022-07-10 16:56 Sam James
2022-06-05 18:22 Michał Górny
2022-04-26 17:01 Michał Górny
2022-04-26 16:56 Arthur Zamarin
2022-04-19 20:44 Michał Górny
2022-01-29 13:38 James Le Cuirot
2021-08-28 8:16 Arthur Zamarin
2021-05-28 21:48 Michał Górny
2020-12-13 23:23 Sam James
2020-12-04 12:38 Michał Górny
2020-12-03 17:31 Michał Górny
2020-07-11 22:43 Sam James
2020-07-04 12:36 Mart Raudsepp
2020-06-17 20:36 Sergei Trofimovich
2020-06-17 18:08 Sergei Trofimovich
2020-05-31 22:49 Matt Turner
2020-05-16 19:47 Sergei Trofimovich
2020-05-13 23:03 Sergei Trofimovich
2020-05-03 12:59 Agostino Sarubbo
2020-05-03 10:12 Agostino Sarubbo
2020-04-04 10:52 Sergei Trofimovich
2020-03-29 21:21 Sergei Trofimovich
2020-03-28 23:40 Sergei Trofimovich
2020-03-26 7:53 Sergei Trofimovich
2020-02-06 6:18 Michał Górny
2019-12-30 21:54 Piotr Karbowski
2019-07-31 14:32 Mikle Kolyada
2019-07-14 12:27 Michał Górny
2019-04-27 11:49 Anthony G. Basile
2019-03-16 23:07 Anthony G. Basile
2018-03-10 14:56 Pacho Ramos
2018-02-17 13:41 Michał Górny
2017-10-04 8:57 Michał Górny
2017-08-02 4:06 Sebastien Fabbro
2017-02-13 9:06 Zac Medico
2016-07-30 14:55 Alex Brandt
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=1622238484.95f24cca2723012d25589febc993a7a45f030e1f.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