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: Mon, 14 Jun 2021 06:51:15
Message-Id: 1623653465.8fd0c6372f9fc529766c605a6d78e047042228c1.mgorny@gentoo
1 commit: 8fd0c6372f9fc529766c605a6d78e047042228c1
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 14 06:36:22 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 14 06:51:05 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fd0c637
7
8 dev-python/execnet: Bump to 1.9.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.9.0.ebuild | 46 +++++++++++++++++++++++++++++++++
14 2 files changed, 47 insertions(+)
15
16 diff --git a/dev-python/execnet/Manifest b/dev-python/execnet/Manifest
17 index e1ed4ffa04c..d24b3e3f51b 100644
18 --- a/dev-python/execnet/Manifest
19 +++ b/dev-python/execnet/Manifest
20 @@ -1,2 +1,3 @@
21 DIST execnet-1.8.0.tar.gz 173765 BLAKE2B c6334a98b0e9dc7eb5e83fef05b795371edd0f85a6cbad9dc80d14f2e944204812c58419afebe5e70514f41d5ee7507b6a224a94e8cee2544607bc28ef5b175d SHA512 a0ca76002270daa5cbfa00563a51a3412008f893f755a1eb84f53e228dd61a82bdc94fe6152e30d471b4caff3059c662bb9de82100ec2c96df4d014836452698
22 DIST execnet-1.8.1.tar.gz 173811 BLAKE2B 1d6277177908ccffe95973d34962856f6ef0a6d16c1e046f47a7ab0667b5e5c2867405a7a8bf36fb7be8e2fa0fd75b68375abdd9b70a1a1aaa641bdefadcd32d SHA512 183c89961b8b5db4eca5b64ff6b179f9faa19d26f04ad07740c818a471aedb02b2e7837fb7cedb6b1e4a538b0bd62cc4eff602dffe4c3c35bf826aa5a627afb2
23 +DIST execnet-1.9.0.tar.gz 173884 BLAKE2B 622a1f47365bdea97ba53aee908faf990ef847e3641ab0590073cdd6eac3413d1517f16e8e5b73b56884f02aebb3142691ecf6113e14f9c49c9b0fef3ee3247c SHA512 d425e7b6f3708efecb5dfa2c36a837cb55f2c32cf2ec0c1dc11cd1ca6ea614d119d04908b84dd5a3593c87db35e71fee202f843665c853ac3538479f60c83d60
24
25 diff --git a/dev-python/execnet/execnet-1.9.0.ebuild b/dev-python/execnet/execnet-1.9.0.ebuild
26 new file mode 100644
27 index 00000000000..cd56d3f62b7
28 --- /dev/null
29 +++ b/dev-python/execnet/execnet-1.9.0.ebuild
30 @@ -0,0 +1,46 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Rapid multi-Python deployment"
41 +HOMEPAGE="https://codespeak.net/execnet/
42 + https://pypi.org/project/execnet/"
43 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 +
45 +LICENSE="MIT"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
48 +
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 + epytest ${deselect[@]/#/--deselect }
76 +}