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/raet/
Date: Thu, 31 Mar 2022 02:03:35
Message-Id: 1648692200.6736748d52120902faf8fdf67507619a5f7780d1.chutzpah@gentoo
1 commit: 6736748d52120902faf8fdf67507619a5f7780d1
2 Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 31 01:59:43 2022 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 31 02:03:20 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6736748d
7
8 dev-python/raet: Fix brokenness with a revision bump
9
10 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
11
12 dev-python/raet/raet-0.6.8-r4.ebuild | 41 ++++++++++++++++++++++++++++++++++++
13 1 file changed, 41 insertions(+)
14
15 diff --git a/dev-python/raet/raet-0.6.8-r4.ebuild b/dev-python/raet/raet-0.6.8-r4.ebuild
16 new file mode 100644
17 index 000000000000..0d65a49ec907
18 --- /dev/null
19 +++ b/dev-python/raet/raet-0.6.8-r4.ebuild
20 @@ -0,0 +1,41 @@
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="Reliable Asynchronous Event Transport Protocol"
30 +HOMEPAGE="https://github.com/RaetProtocol/raet"
31 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
32 +
33 +LICENSE="Apache-2.0"
34 +SLOT="0"
35 +KEYWORDS="~amd64"
36 +IUSE="test"
37 +RESTRICT="!test? ( test )"
38 +
39 +RDEPEND=">=dev-python/six-1.6.1[${PYTHON_USEDEP}]
40 + >=dev-python/libnacl-1.4.3[${PYTHON_USEDEP}]
41 + >=dev-python/ioflo-2.0[${PYTHON_USEDEP}]"
42 +BDEPEND="${RDEPEND}
43 + test? (
44 + >=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
45 + )"
46 +
47 +PATCHES=(
48 + "${FILESDIR}/raet-0.6.8-msgpack-1.0.patch"
49 + "${FILESDIR}/raet-0.6.8-py310.patch"
50 +)
51 +
52 +python_prepare_all() {
53 + distutils-r1_python_prepare_all
54 + sed -e "/setuptools_git/d" -i setup.py || die
55 +}
56 +
57 +python_test() {
58 + pushd "${BUILD_DIR}"/lib || die
59 + ${EPYTHON} ${PN}/test/__init__.py || die "tests failed for ${EPYTHON}"
60 + popd || die
61 +}