1 |
commit: fab29ddde241b6f4e063c5204bd1be86aac145a4 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 27 07:44:31 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 27 08:49:35 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fab29ddd |
7 |
|
8 |
dev-python/rope: Bump to 0.23.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/rope/Manifest | 1 + |
13 |
dev-python/rope/rope-0.23.0.ebuild | 42 ++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 43 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/rope/Manifest b/dev-python/rope/Manifest |
17 |
index 2609619a09f8..74237cb3fdeb 100644 |
18 |
--- a/dev-python/rope/Manifest |
19 |
+++ b/dev-python/rope/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST rope-0.22.0.tar.gz 260138 BLAKE2B 11aff47af50225d66ade44a63a2c747bc11f0adcec1abed2dff71466f088f1460b3eec541db326af545f89907eb9d4f518c24ec8a445ca07b3116573883123ec SHA512 ead82eba834890d90a6972cc432d153b977a123588621712b50decf1f1bfff03cd411e3615dff63a5272cf4a46b32791ea625f30e3dfdf9d1969081a99544396 |
22 |
+DIST rope-0.23.0.tar.gz 260990 BLAKE2B 34064f45f72d6c9c5613eb5d9480dde25aeb5426ab3ea9b56e7ba5e4da1d9930735bd87757e3e885d4504ddcb24b23aa96b0d5be7c23ca4969201aedbaa3aa24 SHA512 1ab0a36c792fdc4d0fd1e554deec0fb6d1e877d91164fb8ee2e5f99240087f8a8d4608d1975be100bca87be0321d672b91579cf36795acffc742aa021cdf5e1b |
23 |
|
24 |
diff --git a/dev-python/rope/rope-0.23.0.ebuild b/dev-python/rope/rope-0.23.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..f461efcc5f5f |
27 |
--- /dev/null |
28 |
+++ b/dev-python/rope/rope-0.23.0.ebuild |
29 |
@@ -0,0 +1,42 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Python refactoring library" |
41 |
+HOMEPAGE="https://github.com/python-rope/rope" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="LGPL-3+" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" |
47 |
+IUSE="doc" |
48 |
+ |
49 |
+BDEPEND=" |
50 |
+ doc? ( dev-python/docutils[${PYTHON_USEDEP}] ) |
51 |
+ test? ( dev-python/pytest-timeout[${PYTHON_USEDEP}] ) |
52 |
+" |
53 |
+ |
54 |
+distutils_enable_tests pytest |
55 |
+ |
56 |
+python_compile_all() { |
57 |
+ if use doc; then |
58 |
+ pushd docs > /dev/null || die |
59 |
+ mkdir build || die |
60 |
+ local i |
61 |
+ for i in ./*.rst; do |
62 |
+ rst2html.py $i > ./build/${i/rst/html} || die |
63 |
+ done |
64 |
+ popd > /dev/null || die |
65 |
+ fi |
66 |
+} |
67 |
+ |
68 |
+python_install_all() { |
69 |
+ use doc && local HTML_DOCS=( docs/build/. ) |
70 |
+ distutils-r1_python_install_all |
71 |
+} |