Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pythondialog/
Date: Fri, 01 Apr 2022 07:41:37
Message-Id: 1648798871.b06e17f68ef0ba06f10e7da0e93f22b118639d21.arthurzam@gentoo
1 commit: b06e17f68ef0ba06f10e7da0e93f22b118639d21
2 Author: Miezhiko <Miezhiko <AT> gmail <DOT> com>
3 AuthorDate: Thu Mar 31 12:12:36 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 1 07:41:11 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b06e17f6
7
8 dev-python/pythondialog: update to 3.5.3 set max python version to 3.10, update EAPI to 8
9
10 Signed-off-by: Miezhiko <Miezhiko <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/24828
12 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
13
14 dev-python/pythondialog/Manifest | 1 +
15 dev-python/pythondialog/pythondialog-3.5.3.ebuild | 32 +++++++++++++++++++++++
16 2 files changed, 33 insertions(+)
17
18 diff --git a/dev-python/pythondialog/Manifest b/dev-python/pythondialog/Manifest
19 index a0f7d8de19fa..0dd3311eaa32 100644
20 --- a/dev-python/pythondialog/Manifest
21 +++ b/dev-python/pythondialog/Manifest
22 @@ -1 +1,2 @@
23 DIST python3-pythondialog-3.5.1.tar.bz2 1418034 BLAKE2B 28dbb76a213d702abd6fb4571ddd28acea0bd9757424e99432aa58c1336fce2aa9b248e4de0631fe34c7ac52b928c8b3dc65afc42a826cc268ca4247be4dafb8 SHA512 f032e425ce1ebac53ade1401e48625b5869497367f788831d08fd22eb3b3b14fa5aebd26fd3681b47222ef0247ebb5c1ead127f111ca296197e258650dd675ad
24 +DIST python3-pythondialog-3.5.3.tar.bz2 1428518 BLAKE2B 032735d2df318b4e94c138475148c71ab8322c52181550ea13ddd27ac63d715cb59124a2fc1f09f7d835d4453583c449c665f5efd16a2418fe3ca3348f53ed8e SHA512 69ae3e3894dbd56136989699fee7a7f459ce9a024e0e06d22193f5fd306f0f2bf2f4d300460f7de7898db347acdf6111652878948a78468a1aa23158c5f7ae98
25
26 diff --git a/dev-python/pythondialog/pythondialog-3.5.3.ebuild b/dev-python/pythondialog/pythondialog-3.5.3.ebuild
27 new file mode 100644
28 index 000000000000..731f6758d226
29 --- /dev/null
30 +++ b/dev-python/pythondialog/pythondialog-3.5.3.ebuild
31 @@ -0,0 +1,32 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DISTUTILS_USE_PEP517=setuptools
38 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="A Python module for making simple text/console-mode user interfaces"
43 +HOMEPAGE="http://pythondialog.sourceforge.net/"
44 +SRC_URI="mirror://sourceforge/pythondialog/${PV}/python3-${P}.tar.bz2"
45 +
46 +LICENSE="LGPL-2"
47 +SLOT="0"
48 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
49 +
50 +RDEPEND="dev-util/dialog"
51 +
52 +distutils_enable_sphinx doc
53 +
54 +python_prepare_all() {
55 + distutils-r1_python_prepare_all
56 + sed -e "/^ 'sphinx.ext.intersphinx',/d" -i doc/conf.py || die
57 +}
58 +
59 +python_install_all() {
60 + dodoc -r examples
61 + docompress -x /usr/share/doc/${PF}/examples
62 + distutils-r1_python_install_all
63 +}