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