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/execnet/
Date: Thu, 28 Jan 2021 08:35:32
Message-Id: 1611822922.88abc8cf09ad3ce2f47007b8f75db13cb9f22057.mgorny@gentoo
1 commit: 88abc8cf09ad3ce2f47007b8f75db13cb9f22057
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 28 08:19:47 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 28 08:35:22 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88abc8cf
7
8 dev-python/execnet: Bump to 1.8.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/execnet/Manifest | 1 +
13 dev-python/execnet/execnet-1.8.0.ebuild | 48 +++++++++++++++++++++++++++++++++
14 2 files changed, 49 insertions(+)
15
16 diff --git a/dev-python/execnet/Manifest b/dev-python/execnet/Manifest
17 index 05a58c8dbb9..0583cb20fd2 100644
18 --- a/dev-python/execnet/Manifest
19 +++ b/dev-python/execnet/Manifest
20 @@ -1 +1,2 @@
21 DIST execnet-1.7.1.tar.gz 174157 BLAKE2B 0c2f7b8918bdd5a3cd1fdc49607e571874e20bd26a4806a6ec1a11359b912ed09244afb781670ff24fbee752516d59ab2bba7f662bbcddb802e7e6efd2c544ef SHA512 375748c03f8d955bd8fca90d5c6308073c31a978fd7a604257512e0a710f899dec5db8a91d5bb5f16de9b0656e1742da9ab513827a1a065a5125bafcf1e63a70
22 +DIST execnet-1.8.0.tar.gz 173765 BLAKE2B c6334a98b0e9dc7eb5e83fef05b795371edd0f85a6cbad9dc80d14f2e944204812c58419afebe5e70514f41d5ee7507b6a224a94e8cee2544607bc28ef5b175d SHA512 a0ca76002270daa5cbfa00563a51a3412008f893f755a1eb84f53e228dd61a82bdc94fe6152e30d471b4caff3059c662bb9de82100ec2c96df4d014836452698
23
24 diff --git a/dev-python/execnet/execnet-1.8.0.ebuild b/dev-python/execnet/execnet-1.8.0.ebuild
25 new file mode 100644
26 index 00000000000..552f79b56ca
27 --- /dev/null
28 +++ b/dev-python/execnet/execnet-1.8.0.ebuild
29 @@ -0,0 +1,48 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( python3_{7..9} pypy3 )
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Rapid multi-Python deployment"
40 +HOMEPAGE="https://codespeak.net/execnet/
41 + https://pypi.org/project/execnet/"
42 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
43 +
44 +LICENSE="MIT"
45 +SLOT="0"
46 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
47 +
48 +RDEPEND=">=dev-python/apipkg-1.4[${PYTHON_USEDEP}]"
49 +BDEPEND="
50 + dev-python/setuptools_scm[${PYTHON_USEDEP}]"
51 +
52 +distutils_enable_sphinx doc
53 +distutils_enable_tests pytest
54 +
55 +python_prepare_all() {
56 + sed -i -r 's:(,[[:space:]]*|)"eventlet":: ; s:(,[[:space:]]*|)"gevent"(,|)::' \
57 + testing/conftest.py || die
58 +
59 + distutils-r1_python_prepare_all
60 +}
61 +
62 +python_test() {
63 + local deselect=(
64 + # needs python2.7 with apipkg?
65 + 'testing/test_termination.py::test_close_initiating_remote_no_error[python2.7]'
66 + # tries to run python2
67 + testing/test_channel.py::TestStringCoerce::test_3to2
68 + testing/test_gateway.py::TestStringCoerce::test_3to2
69 + # does not like Gentoo defaults
70 + testing/test_gateway.py::TestPopenGateway::test_dont_write_bytecode
71 + # almost all tests call py2, not worth filtering for the rest
72 + testing/test_serializer.py
73 + )
74 +
75 + pytest -vv ${deselect[@]/#/--deselect } ||
76 + die "Tests failed with ${EPYTHON}"
77 +}