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/pyparted/
Date: Sat, 29 Jan 2022 21:28:18
Message-Id: 1643491691.148c71ac2f8ae1eb4e791d7294019cd2d945ba9b.mgorny@gentoo
1 commit: 148c71ac2f8ae1eb4e791d7294019cd2d945ba9b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 29 21:21:10 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 29 21:28:11 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=148c71ac
7
8 dev-python/pyparted: Switch to PEP 517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pyparted/pyparted-3.11.7-r1.ebuild | 31 +++++++++++++++++++++++++++
13 1 file changed, 31 insertions(+)
14
15 diff --git a/dev-python/pyparted/pyparted-3.11.7-r1.ebuild b/dev-python/pyparted/pyparted-3.11.7-r1.ebuild
16 new file mode 100644
17 index 000000000000..83b0589069d4
18 --- /dev/null
19 +++ b/dev-python/pyparted/pyparted-3.11.7-r1.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} )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Python bindings for sys-block/parted"
32 +HOMEPAGE="https://github.com/dcantrell/pyparted/"
33 +SRC_URI="https://github.com/dcantrell/pyparted/archive/v${PV}.tar.gz -> ${P}.tar.gz"
34 +
35 +LICENSE="GPL-2+"
36 +SLOT="0"
37 +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
38 +
39 +DEPEND="
40 + >=sys-block/parted-3.2
41 +"
42 +RDEPEND="
43 + ${DEPEND}
44 + dev-python/decorator[${PYTHON_USEDEP}]
45 +"
46 +BDEPEND="
47 + test? ( dev-python/six[${PYTHON_USEDEP}] )
48 + virtual/pkgconfig
49 +"
50 +
51 +distutils_enable_tests unittest