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/humanfriendly/
Date: Sat, 12 Jun 2021 06:39:15
Message-Id: 1623479948.4f993eae68bf6d36d37f049545132bc091434713.mgorny@gentoo
1 commit: 4f993eae68bf6d36d37f049545132bc091434713
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 12 06:12:13 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 12 06:39:08 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f993eae
7
8 dev-python/humanfriendly: Bump to 9.2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/humanfriendly/Manifest | 1 +
13 dev-python/humanfriendly/humanfriendly-9.2.ebuild | 35 +++++++++++++++++++++++
14 2 files changed, 36 insertions(+)
15
16 diff --git a/dev-python/humanfriendly/Manifest b/dev-python/humanfriendly/Manifest
17 index e5765ca7382..239b104a0b7 100644
18 --- a/dev-python/humanfriendly/Manifest
19 +++ b/dev-python/humanfriendly/Manifest
20 @@ -1,2 +1,3 @@
21 DIST humanfriendly-8.2.tar.gz 358747 BLAKE2B bc5824e94ea94df6ee93ea44d273ccb856f50b69e52ae6293afaedf06c9f00c67e064f0c85edd88be9954bb258334b1b9af4ab88efc5b352f3efe8d322fc55c1 SHA512 123d8592e6613a70421740648bb8998733b118927a0bd6182af848612e46eec8e35cae95168219c9b7672bed8e18e1c4a493a80248eabe47f8a4cb1813c8b591
22 DIST humanfriendly-9.1.tar.gz 359616 BLAKE2B c67ca9498ff4a0dac237c8f1c81ae88882a7ab162e2cfd663cd50a066dbcfe045424bdf4dcc1df473f5fc41f0c1b8c0f2aca9883aa21915281618ba332c579a3 SHA512 859a9ff01abe0671a23a63e73c9c09c0f92151e96ec38dd5695c75f99fa436e186835cb8a16f59b82d5216b9c427ea0abd419b470b067f8032fe984776f02a8f
23 +DIST humanfriendly-9.2.tar.gz 360080 BLAKE2B 39aa17315a87938468f2d6e94b0287f07864476c4179c40504126c65f7042c96113a9d60f481a6a03913ae5c8cfde2c87476e0d403c964aa65abceb0f55633f1 SHA512 2abb8d7d4dfb84d625e82f3475bea5045c32f548a45999dca97d39e5bc0cd704a9ab45e0b6b87c0d419b447680a3e71e2d9c8cb14ba19117c7ac9b2f56297f00
24
25 diff --git a/dev-python/humanfriendly/humanfriendly-9.2.ebuild b/dev-python/humanfriendly/humanfriendly-9.2.ebuild
26 new file mode 100644
27 index 00000000000..e7c4b6fdf3f
28 --- /dev/null
29 +++ b/dev-python/humanfriendly/humanfriendly-9.2.ebuild
30 @@ -0,0 +1,35 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( pypy3 python3_{8..9} )
37 +PYTHON_REQ_USE="threads(+)"
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Human friendly output for text interfaces using Python"
42 +HOMEPAGE="https://pypi.org/project/humanfriendly/
43 + https://github.com/xolox/python-humanfriendly/
44 + https://humanfriendly.readthedocs.io/"
45 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
46 +
47 +SLOT="0"
48 +LICENSE="MIT"
49 +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
50 +
51 +BDEPEND="
52 + test? (
53 + dev-python/capturer[${PYTHON_USEDEP}]
54 + >=dev-python/coloredlogs-15.0.1[${PYTHON_USEDEP}]
55 + dev-python/docutils[${PYTHON_USEDEP}]
56 + dev-python/mock[${PYTHON_USEDEP}]
57 + )
58 +"
59 +
60 +distutils_enable_tests pytest
61 +distutils_enable_sphinx docs
62 +
63 +python_test() {
64 + epytest humanfriendly/tests.py
65 +}