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/genty/
Date: Tue, 10 May 2022 10:07:06
Message-Id: 1652177212.dcc1e24dbf78bcca61ebc399bfba7aa04e9dac8a.mgorny@gentoo
1 commit: dcc1e24dbf78bcca61ebc399bfba7aa04e9dac8a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 10 09:26:51 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue May 10 10:06:52 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcc1e24d
7
8 dev-python/genty: EAPI 8, PEP517
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/genty/genty-1.3.2-r2.ebuild | 31 +++++++++++++++++++++++++++++++
13 1 file changed, 31 insertions(+)
14
15 diff --git a/dev-python/genty/genty-1.3.2-r2.ebuild b/dev-python/genty/genty-1.3.2-r2.ebuild
16 new file mode 100644
17 index 000000000000..59bb1624e3d6
18 --- /dev/null
19 +++ b/dev-python/genty/genty-1.3.2-r2.ebuild
20 @@ -0,0 +1,31 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Allows you to run a test with multiple data sets"
32 +HOMEPAGE="
33 + https://pypi.org/project/genty/
34 + https://github.com/box/genty/
35 +"
36 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
37 +
38 +SLOT="0"
39 +LICENSE="Apache-2.0"
40 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
41 +
42 +RDEPEND="
43 + dev-python/six[${PYTHON_USEDEP}]
44 +"
45 +DEPEND="
46 + test? (
47 + dev-python/mock[${PYTHON_USEDEP}]
48 + )
49 +"
50 +
51 +distutils_enable_tests unittest