Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ioflo/
Date: Thu, 31 Mar 2022 01:28:22
Message-Id: 1648690086.16e83ae0c72ee13e744f8967a7bf694e3659e944.chutzpah@gentoo
1 commit: 16e83ae0c72ee13e744f8967a7bf694e3659e944
2 Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 31 00:46:11 2022 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 31 01:28:06 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16e83ae0
7
8 dev-python/ioflo: update EAPI 7 -> 8, add py3.10
9
10 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
11
12 dev-python/ioflo/ioflo-2.0.2-r2.ebuild | 40 ++++++++++++++++++++++++++++++++++
13 1 file changed, 40 insertions(+)
14
15 diff --git a/dev-python/ioflo/ioflo-2.0.2-r2.ebuild b/dev-python/ioflo/ioflo-2.0.2-r2.ebuild
16 new file mode 100644
17 index 000000000000..21686b5e17be
18 --- /dev/null
19 +++ b/dev-python/ioflo/ioflo-2.0.2-r2.ebuild
20 @@ -0,0 +1,40 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +PYTHON_COMPAT=( python3_{8..10} )
27 +inherit distutils-r1
28 +
29 +DESCRIPTION="Automated Reasoning Engine and Flow Based Programming Framework"
30 +HOMEPAGE="https://github.com/ioflo/ioflo/"
31 +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
32 +
33 +LICENSE="Apache-2.0"
34 +SLOT="0"
35 +KEYWORDS="~amd64"
36 +IUSE="test"
37 +
38 +RDEPEND="
39 + $(python_gen_cond_dep '>=dev-lang/python-3.7.4' python3_7)
40 +"
41 +BDEPEND="${RDEPEND}
42 + test? (
43 + dev-python/pytest-salt-factories[${PYTHON_USEDEP}]
44 + app-admin/salt[${PYTHON_USEDEP}]
45 + )
46 +"
47 +
48 +PATCHES=(
49 + "${FILESDIR}/ioflo-1.7.8-network-test.patch"
50 + "${FILESDIR}/ioflo-2.0.2-python39.patch"
51 + "${FILESDIR}/ioflo-2.0.2-tests.patch"
52 + "${FILESDIR}/ioflo-2.0.2-py310.patch"
53 +)
54 +
55 +distutils_enable_tests pytest
56 +
57 +python_prepare_all() {
58 + sed -e 's:"setuptools_git[^"]*",::' -i setup.py || die
59 + distutils-r1_python_prepare_all
60 +}