commit: 148c71ac2f8ae1eb4e791d7294019cd2d945ba9b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 29 21:21:10 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 29 21:28:11 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=148c71ac
dev-python/pyparted: Switch to PEP 517 build
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pyparted/pyparted-3.11.7-r1.ebuild | 31 +++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/dev-python/pyparted/pyparted-3.11.7-r1.ebuild
b/dev-python/pyparted/pyparted-3.11.7-r1.ebuild
new file mode 100644
index 000000000000..83b0589069d4
--- /dev/null
+++ b/dev-python/pyparted/pyparted-3.11.7-r1.ebuild
@@ -0,0 +1,31 @@
+# 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="Python bindings for sys-block/parted"
+HOMEPAGE="https://github.com/dcantrell/pyparted/"
+SRC_URI="https://github.com/dcantrell/pyparted/archive/v${PV}.tar.gz ->
${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+DEPEND="
+ >=sys-block/parted-3.2
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/decorator[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? ( dev-python/six[${PYTHON_USEDEP}] )
+ virtual/pkgconfig
+"
+
+distutils_enable_tests unittest