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/sarge/
Date: Sun, 30 Jan 2022 13:09:46
Message-Id: 1643548168.9e21defd04f22d51f7e27287c92b1faa227e2e53.mgorny@gentoo
1 commit: 9e21defd04f22d51f7e27287c92b1faa227e2e53
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 30 12:45:36 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 30 13:09:28 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e21defd
7
8 dev-python/sarge: Switch to PEP 517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/sarge/sarge-0.1.7-r1.ebuild | 28 ++++++++++++++++++++++++++++
13 1 file changed, 28 insertions(+)
14
15 diff --git a/dev-python/sarge/sarge-0.1.7-r1.ebuild b/dev-python/sarge/sarge-0.1.7-r1.ebuild
16 new file mode 100644
17 index 000000000000..57cad45bee8e
18 --- /dev/null
19 +++ b/dev-python/sarge/sarge-0.1.7-r1.ebuild
20 @@ -0,0 +1,28 @@
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="wrapper for subprocess which provides command pipeline functionality"
32 +HOMEPAGE="
33 + https://docs.red-dove.com/sarge/
34 + https://pypi.org/project/sarge/
35 + https://github.com/vsajip/sarge/
36 +"
37 +SRC_URI="
38 + https://github.com/vsajip/sarge/archive/${PV}.tar.gz
39 + -> ${P}.gh.tar.gz
40 +"
41 +
42 +LICENSE="BSD"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
45 +
46 +python_test() {
47 + "${EPYTHON}" test_sarge.py -v || die "Tests failed with ${EPYTHON}"
48 +}