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/blessed/
Date: Thu, 20 Jan 2022 23:26:13
Message-Id: 1642721146.fc069f6a7cb2bf12b64d844d29a14126b9222bf7.mgorny@gentoo
1 commit: fc069f6a7cb2bf12b64d844d29a14126b9222bf7
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 20 22:55:33 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 20 23:25:46 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc069f6a
7
8 dev-python/blessed: Bump to 1.19.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/blessed/Manifest | 1 +
13 dev-python/blessed/blessed-1.19.1.ebuild | 48 ++++++++++++++++++++++++++++++++
14 2 files changed, 49 insertions(+)
15
16 diff --git a/dev-python/blessed/Manifest b/dev-python/blessed/Manifest
17 index c188407131af..aabdb4a53ae5 100644
18 --- a/dev-python/blessed/Manifest
19 +++ b/dev-python/blessed/Manifest
20 @@ -1 +1,2 @@
21 DIST blessed-1.19.0.tar.gz 6653907 BLAKE2B ba9c1247562baed398d6570fa97deeaefc325c502e0aed5907ffaf9802978933e9a5bd6c08b4d4c4a449533272005e3272f70dac5852da1c45c6c9644aee9a56 SHA512 a64d8d542a1a12b710375592c17d06f28a7c68d76952479738873fb956013f7c65820e797116b6151c2a338cd27cfe91b4ad1a318365357060f38d1ec0adf91e
22 +DIST blessed-1.19.1.tar.gz 6653802 BLAKE2B 5755efde3c203ab21a8994e29c55cdaace1cca772c9cdee4343562bb8ee4f9ffdee97d9131646d8385ef7e46664d23723ba46a3807d85623d9512ca40c7c4002 SHA512 0d899c42d7c6246362081bdc5d7dd2fcb13209fe0cee7e5a4fa342bdaf16a5cc21ab7e402bc5287ab1239f7e3afb02381e0e57e2d6111b80fe3c52b92cfa0f84
23
24 diff --git a/dev-python/blessed/blessed-1.19.1.ebuild b/dev-python/blessed/blessed-1.19.1.ebuild
25 new file mode 100644
26 index 000000000000..bae365cce1aa
27 --- /dev/null
28 +++ b/dev-python/blessed/blessed-1.19.1.ebuild
29 @@ -0,0 +1,48 @@
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=( pypy3 python3_{8..10} )
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Library for making terminal apps using colors, keyboard input and positioning"
40 +HOMEPAGE="https://github.com/jquast/blessed"
41 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 +
43 +SLOT="0"
44 +LICENSE="MIT"
45 +KEYWORDS="~amd64 ~x86"
46 +
47 +RDEPEND="
48 + dev-python/six[${PYTHON_USEDEP}]
49 + dev-python/wcwidth[${PYTHON_USEDEP}]
50 +"
51 +BDEPEND="
52 + test? (
53 + dev-python/mock[${PYTHON_USEDEP}]
54 + )
55 +"
56 +
57 +distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
58 +distutils_enable_tests pytest
59 +
60 +python_prepare_all() {
61 + # Skip those extensions as they don't have a Gentoo package
62 + # Remove calls to scripts that generate rst files because they
63 + # are not present in the tarball
64 + sed -e '/sphinxcontrib.manpage/d' -e '/sphinx_paramlinks/d' \
65 + -e '/^for script in/,/runpy.run_path/d' \
66 + -i docs/conf.py || die
67 + # Requires pytest-xdist and has no value for us
68 + sed -i '/^looponfailroots =/d' tox.ini || die
69 + distutils-r1_python_prepare_all
70 +}
71 +
72 +python_test() {
73 + # COLORTERM must not be truecolor
74 + # See https://github.com/jquast/blessed/issues/162
75 + # Ignore coverage options
76 + COLORTERM= epytest --override-ini="addopts="
77 +}