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/wurlitzer/
Date: Wed, 31 Mar 2021 10:14:53
Message-Id: 1617185674.076f5fc2bda60a99fd000dda1f98e906c2abc354.mgorny@gentoo
1 commit: 076f5fc2bda60a99fd000dda1f98e906c2abc354
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 31 08:08:34 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 31 10:14:34 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=076f5fc2
7
8 dev-python/wurlitzer: Bump to 2.1.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/wurlitzer/Manifest | 1 +
13 dev-python/wurlitzer/wurlitzer-2.1.0.ebuild | 30 +++++++++++++++++++++++++++++
14 2 files changed, 31 insertions(+)
15
16 diff --git a/dev-python/wurlitzer/Manifest b/dev-python/wurlitzer/Manifest
17 index 123051f4796..19b28ae0e46 100644
18 --- a/dev-python/wurlitzer/Manifest
19 +++ b/dev-python/wurlitzer/Manifest
20 @@ -1 +1,2 @@
21 DIST wurlitzer-2.0.1.tar.gz 10638 BLAKE2B e5350a3920ae072f93a0043ec368766d8e190558b3e897e68b272b06d0d6ff7907f2aeecfd41a99b54804a596ad9f7d7062995a5c465724a2b87419ee801daa3 SHA512 06f67b666c2a364b5ee497fa2f0ab8640aeb2953b678e35b13e1558ab29bc5554f479731f9942d8f033275f5151bb9f86408e0f04b1120bae0f29b27649d783c
22 +DIST wurlitzer-2.1.0.tar.gz 8788 BLAKE2B 9a9e9696446fe31f0ff392eee011f341ee24c102e4e6bac195586b764386d1a835567560306cd3cb6e942b539a57ffa15aa9b3a20fac9224311ed7301130c84d SHA512 cc7291786b0505627129619094218f51c0679c0c3550645af3b94bdd3f10afd5fc8402d89dcb599d874a5c9e4f4966dc49a6f98a1ab0e2bb9adbc3f95d4fcc6a
23
24 diff --git a/dev-python/wurlitzer/wurlitzer-2.1.0.ebuild b/dev-python/wurlitzer/wurlitzer-2.1.0.ebuild
25 new file mode 100644
26 index 00000000000..823423a2e8e
27 --- /dev/null
28 +++ b/dev-python/wurlitzer/wurlitzer-2.1.0.ebuild
29 @@ -0,0 +1,30 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( python3_{7..9} )
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Capture C-level stdout/stderr in Python"
40 +HOMEPAGE="
41 + https://github.com/minrk/wurlitzer/
42 + https://pypi.org/project/wurlitzer/"
43 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 +
45 +LICENSE="MIT"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +
49 +distutils_enable_tests pytest
50 +
51 +src_prepare() {
52 + # things usually work better without typos
53 + sed -i -e 's:unitest:unittest:' test.py || die
54 + distutils-r1_src_prepare
55 +}
56 +
57 +python_test() {
58 + epytest test.py
59 +}