Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/humanfriendly/
Date: Thu, 23 Jan 2020 09:53:43
Message-Id: 1579773198.90a99f152920e41c3e45cd3d6e4bf3dc5cbe8ba0.juippis@gentoo
1 commit: 90a99f152920e41c3e45cd3d6e4bf3dc5cbe8ba0
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Wed Jan 15 08:44:16 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 23 09:53:18 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90a99f15
7
8 dev-python/humanfriendly: Version bump 4.18 and add py3_7
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 dev-python/humanfriendly/Manifest | 1 +
15 dev-python/humanfriendly/humanfriendly-4.18.ebuild | 31 ++++++++++++++++++++++
16 2 files changed, 32 insertions(+)
17
18 diff --git a/dev-python/humanfriendly/Manifest b/dev-python/humanfriendly/Manifest
19 index ca1d68e9d3b..696f85ba420 100644
20 --- a/dev-python/humanfriendly/Manifest
21 +++ b/dev-python/humanfriendly/Manifest
22 @@ -1 +1,2 @@
23 DIST humanfriendly-4.17.tar.gz 344455 BLAKE2B 985ae142ea5378fcceb9f5f28773ac4dcaf0ea55ef1a7269fd1840a0b7119b54362aa93c330aa62e5424cc6f329e88717b45255c62b8e1d3f9ff5dd43a3c16c2 SHA512 a5786f28eaa0ff33919d9164ff30037fef5dbf60a31aece7679d1dddf3239f5a0d27209c710053cb0ac6779c1ef39102b1441fc620063283e90ef2ae11f8b621
24 +DIST humanfriendly-4.18.tar.gz 345853 BLAKE2B 9b03ea0679f787e216ee78efe8feb77f83562998813718845f4d21b7ce3f42cadff0e80b96f02da3cf6dc7f35cb0714f746940cf2ac0ec8e8981377989650c8a SHA512 01c7ee50d35154fe0b7ad39662ca6ff2dcd3e0f2a2eacc62f0184102c9db1c0fd99257273982aff56710b4e59024e8c20ee77ddd10c68e427c077ed4ca7e0022
25
26 diff --git a/dev-python/humanfriendly/humanfriendly-4.18.ebuild b/dev-python/humanfriendly/humanfriendly-4.18.ebuild
27 new file mode 100644
28 index 00000000000..f7b4b4a45d9
29 --- /dev/null
30 +++ b/dev-python/humanfriendly/humanfriendly-4.18.ebuild
31 @@ -0,0 +1,31 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python3_{6,7,8} )
38 +PYTHON_REQ_USE="threads(+)"
39 +
40 +DISTUTILS_USE_SETUPTOOLS=rdepend
41 +
42 +inherit distutils-r1
43 +
44 +DESCRIPTION="Human friendly output for text interfaces using Python"
45 +HOMEPAGE="https://pypi.org/project/humanfriendly
46 + https://github.com/xolox/python-humanfriendly
47 + https://humanfriendly.readthedocs.org"
48 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
49 +
50 +SLOT="0"
51 +LICENSE="MIT"
52 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
53 +
54 +DEPEND="test? ( dev-python/capturer[${PYTHON_USEDEP}]
55 + dev-python/coloredlogs[${PYTHON_USEDEP}] )"
56 +
57 +distutils_enable_tests pytest
58 +distutils_enable_sphinx docs
59 +
60 +python_test() {
61 + pytest -vv ${PN}/tests.py || die "Tests fail with ${EPYTHON}"
62 +}