Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/argh/
Date: Wed, 18 May 2022 10:47:05
Message-Id: 1652870807.6d888fd8c081295cc9e3806c10e77cbffc42dbae.andrewammerlaan@gentoo
1 commit: 6d888fd8c081295cc9e3806c10e77cbffc42dbae
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 18 10:33:14 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Wed May 18 10:46:47 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d888fd8
7
8 dev-python/argh: update EAPI 7 -> 8
9
10 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
11
12 dev-python/argh/argh-0.26.2-r3.ebuild | 29 +++++++++++++++++++++++++++++
13 1 file changed, 29 insertions(+)
14
15 diff --git a/dev-python/argh/argh-0.26.2-r3.ebuild b/dev-python/argh/argh-0.26.2-r3.ebuild
16 new file mode 100644
17 index 000000000000..c5f41e33c34b
18 --- /dev/null
19 +++ b/dev-python/argh/argh-0.26.2-r3.ebuild
20 @@ -0,0 +1,29 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +PYTHON_COMPAT=( python3_{8..11} pypy3 )
27 +DISTUTILS_USE_PEP517=setuptools
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="A simple argparse wrapper"
32 +HOMEPAGE="https://pythonhosted.org/argh/"
33 +SRC_URI="mirror://pypi/a/${PN}/${P}.tar.gz"
34 +
35 +SLOT="0"
36 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
37 +LICENSE="LGPL-3"
38 +
39 +BDEPEND="
40 + test? (
41 + dev-python/iocapture[${PYTHON_USEDEP}]
42 + dev-python/mock[${PYTHON_USEDEP}]
43 + )"
44 +
45 +PATCHES=(
46 + "${FILESDIR}/${P}-fix-py3.9-msgs.patch"
47 +)
48 +
49 +distutils_enable_tests pytest