1 |
commit: bb5e63eb3960a3d43db2a0361b415d72bb3245d3 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 26 07:32:55 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 26 07:33:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb5e63eb |
7 |
|
8 |
dev-python/sphinxcontrib-asyncio: fix stray pyc files |
9 |
|
10 |
Also remove useless sed call. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/866017 |
13 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
14 |
|
15 |
...io-0.3.0.ebuild => sphinxcontrib-asyncio-0.3.0-r1.ebuild} | 12 ++---------- |
16 |
1 file changed, 2 insertions(+), 10 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/sphinxcontrib-asyncio/sphinxcontrib-asyncio-0.3.0.ebuild b/dev-python/sphinxcontrib-asyncio/sphinxcontrib-asyncio-0.3.0-r1.ebuild |
19 |
similarity index 70% |
20 |
rename from dev-python/sphinxcontrib-asyncio/sphinxcontrib-asyncio-0.3.0.ebuild |
21 |
rename to dev-python/sphinxcontrib-asyncio/sphinxcontrib-asyncio-0.3.0-r1.ebuild |
22 |
index ad4309c706ff..f959456f2132 100644 |
23 |
--- a/dev-python/sphinxcontrib-asyncio/sphinxcontrib-asyncio-0.3.0.ebuild |
24 |
+++ b/dev-python/sphinxcontrib-asyncio/sphinxcontrib-asyncio-0.3.0-r1.ebuild |
25 |
@@ -26,14 +26,6 @@ RDEPEND=" |
26 |
distutils_enable_sphinx docs |
27 |
|
28 |
src_prepare() { |
29 |
- # fix for sphinx >= 4.0 |
30 |
- sed -e 's/PyModulelevel/PyFunction/g' \ |
31 |
- -e 's/PyClassmember/PyClassMethod/g' \ |
32 |
- -i sphinxcontrib/asyncio.py || die |
33 |
- default |
34 |
-} |
35 |
- |
36 |
-python_compile() { |
37 |
- distutils-r1_python_compile |
38 |
- rm "${BUILD_DIR}/install$(python_get_sitedir)"/sphinxcontrib/__init__.py || die |
39 |
+ rm sphinxcontrib/__init__.py || die |
40 |
+ distutils-r1_src_prepare |
41 |
} |