From 148c71ac2f8ae1eb4e791d7294019cd2d945ba9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 29 Jan 2022 22:21:10 +0100 Subject: [PATCH] dev-python/pyparted: Switch to PEP 517 build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pyparted/pyparted-3.11.7-r1.ebuild | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 dev-python/pyparted/pyparted-3.11.7-r1.ebuild 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 0000000000000..83b0589069d4e --- /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