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/configobj/
Date: Sat, 29 Jan 2022 12:21:27
Message-Id: 1643458880.b9be2261057a675c403e153b13cb77da5f23ae1a.mgorny@gentoo
1 commit: b9be2261057a675c403e153b13cb77da5f23ae1a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 29 12:17:39 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 29 12:21:20 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9be2261
7
8 dev-python/configobj: Switch to PEP 517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/configobj/configobj-5.0.6-r2.ebuild | 23 +++++++++++++++++++++++
13 1 file changed, 23 insertions(+)
14
15 diff --git a/dev-python/configobj/configobj-5.0.6-r2.ebuild b/dev-python/configobj/configobj-5.0.6-r2.ebuild
16 new file mode 100644
17 index 000000000000..173e79278757
18 --- /dev/null
19 +++ b/dev-python/configobj/configobj-5.0.6-r2.ebuild
20 @@ -0,0 +1,23 @@
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} )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Simple config file reader and writer"
32 +HOMEPAGE="http://www.voidspace.org.uk/python/configobj.html https://pypi.org/project/configobj/"
33 +SRC_URI="https://github.com/DiffSK/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
34 +
35 +LICENSE="BSD"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
38 +
39 +RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
40 +
41 +PATCHES=( "${FILESDIR}/${P}-fix-py2-tests.patch" )
42 +
43 +distutils_enable_tests pytest