Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rope/
Date: Mon, 18 Oct 2021 20:40:39
Message-Id: 1634589627.f8147e2da0f3f00e3e1c2f30878a11f03c7af62f.mgorny@gentoo
1 commit: f8147e2da0f3f00e3e1c2f30878a11f03c7af62f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 18 20:19:47 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 18 20:40:27 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8147e2d
7
8 dev-python/rope: Bump to 0.21.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.21.0.ebuild | 41 ++++++++++++++++++++++++++++++++++++++
14 2 files changed, 42 insertions(+)
15
16 diff --git a/dev-python/rope/Manifest b/dev-python/rope/Manifest
17 index ed86b3bd2fd..262ca59ec71 100644
18 --- a/dev-python/rope/Manifest
19 +++ b/dev-python/rope/Manifest
20 @@ -1,3 +1,4 @@
21 DIST rope-0.19.0.tar.gz 252902 BLAKE2B 41760dc29d26558bdf5f296238b7d59ca949530826953fe5592b763b8d24fb49a90a56b9c7d0e3475daf145185987116a7dd0cbfba74829abfa4bf6a57c79937 SHA512 fd41777d76861837479bf0777ea42cc052eed7ba396bc4531a0c7f101b05b1c5a57c300950b7a3c8a2902e28ff049d146646f83f8a8a447ab9ccd7cd8aa48110
22 DIST rope-0.20.0.tar.gz 257356 BLAKE2B 054ab1fd1b8ede2576c83eada588fb04827cfef570b2cd30461e1b12b3a42d601aa1e60bf1428a54b4d74127a561fce3f34f064b8018943fd1e6fe5c03764a5a SHA512 d84e2da66712da927b6dcf0ea40c50627002baebfd93585dbecda32e6ce0682fdf13577769b12890d31c4f1022795ab98c2dba25aa23a8b434762dbbcab974b8
23 DIST rope-0.20.1.tar.gz 257811 BLAKE2B 58f11c02e68e08c532d08a4b36c08316afb42329f10ca67f7f73f0e19ef6b09aaf4b4e4fb1e90cf0af61c9779efc067e42945f9f10cf0abe4ff82b8cb3c8b5f6 SHA512 328016e711a7d684fa316b3eb8ebc233bcdf579d2545d038dedc703be82e6d5b4a8af8a9fba96569c84b9cab4450a139013ec25ae16a082c699920ea9096ce7f
24 +DIST rope-0.21.0.tar.gz 256456 BLAKE2B f9ed997933794caaeaee7c9951ea46c1fc50983f93433b227151366f720198f96966faa28993d2a8a54e667a34cc318c322068bc47fd38789c9604aea9586c53 SHA512 b1b882087b235849b04beeb85c253eecdcc06e0d75ba54975db9c4e60e68178f7acb87a58a9a24dc942994cfbfc3662e05000d00965278697b0db412411b4c44
25
26 diff --git a/dev-python/rope/rope-0.21.0.ebuild b/dev-python/rope/rope-0.21.0.ebuild
27 new file mode 100644
28 index 00000000000..b734b2e0002
29 --- /dev/null
30 +++ b/dev-python/rope/rope-0.21.0.ebuild
31 @@ -0,0 +1,41 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +PYTHON_COMPAT=( python3_{8..10} )
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 +# Dependency for docbuild documentation which is not noted in
50 +# setup.py, using standard docutils builds docs successfully.
51 +BDEPEND="
52 + doc? ( dev-python/docutils[${PYTHON_USEDEP}] )
53 + test? ( dev-python/pytest-timeout[${PYTHON_USEDEP}] )"
54 +
55 +distutils_enable_tests pytest
56 +
57 +python_compile_all() {
58 + if use doc; then
59 + pushd docs > /dev/null || die
60 + mkdir build || die
61 + local i
62 + for i in ./*.rst; do
63 + rst2html.py $i > ./build/${i/rst/html} || die
64 + done
65 + popd > /dev/null || die
66 + fi
67 +}
68 +
69 +python_install_all() {
70 + use doc && local HTML_DOCS=( docs/build/. )
71 + distutils-r1_python_install_all
72 +}