commit:     ed6f858093781375f7d51f896629832facec75c3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 12 18:09:48 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jun 12 18:27:57 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed6f8580

dev-python/iniparse: Use PEP517 build

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/iniparse/iniparse-0.5-r1.ebuild | 32 ++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/dev-python/iniparse/iniparse-0.5-r1.ebuild 
b/dev-python/iniparse/iniparse-0.5-r1.ebuild
new file mode 100644
index 000000000000..68e15ebdd7b0
--- /dev/null
+++ b/dev-python/iniparse/iniparse-0.5-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Better INI parser for Python"
+HOMEPAGE="
+       https://github.com/candlepin/python-iniparse/
+       https://pypi.org/project/iniparse/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT PSF-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE=""
+
+RDEPEND="
+       >=dev-python/six-1.10.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       ${RDEPEND}
+"
+
+python_test() {
+       "${EPYTHON}" runtests.py || die
+}

Reply via email to