diff options
Diffstat (limited to 'dev-python/execnet')
-rw-r--r-- | dev-python/execnet/Manifest | 2 | ||||
-rw-r--r-- | dev-python/execnet/execnet-1.8.1.ebuild | 48 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/execnet/Manifest b/dev-python/execnet/Manifest index f9cfeb9a246e..655fd8e02dd9 100644 --- a/dev-python/execnet/Manifest +++ b/dev-python/execnet/Manifest @@ -1,3 +1,5 @@ DIST execnet-1.8.0.tar.gz 173765 BLAKE2B c6334a98b0e9dc7eb5e83fef05b795371edd0f85a6cbad9dc80d14f2e944204812c58419afebe5e70514f41d5ee7507b6a224a94e8cee2544607bc28ef5b175d SHA512 a0ca76002270daa5cbfa00563a51a3412008f893f755a1eb84f53e228dd61a82bdc94fe6152e30d471b4caff3059c662bb9de82100ec2c96df4d014836452698 +DIST execnet-1.8.1.tar.gz 173811 BLAKE2B 1d6277177908ccffe95973d34962856f6ef0a6d16c1e046f47a7ab0667b5e5c2867405a7a8bf36fb7be8e2fa0fd75b68375abdd9b70a1a1aaa641bdefadcd32d SHA512 183c89961b8b5db4eca5b64ff6b179f9faa19d26f04ad07740c818a471aedb02b2e7837fb7cedb6b1e4a538b0bd62cc4eff602dffe4c3c35bf826aa5a627afb2 EBUILD execnet-1.8.0.ebuild 1381 BLAKE2B 82bcf0a4966d9eaf5407940b7c614ff0ab21cefef474e7628d88c263de8f67e3a35c239b3d605c029a311909ac57faf8f158cbeeb578cd50f5acd3a39ec3baf8 SHA512 d29b6cfc9d9274ea99bbc3febeb7f7763612b4e870bbdae96ba54607736b8731d6ed98bd7751c5a4977e74295ff18568d811bfbb7e728ee9d0e32e50d1b41573 +EBUILD execnet-1.8.1.ebuild 1389 BLAKE2B fd133c769ca253de323b5ac08e8c254b1047174f9b2ae8006a4c1934d8402138fad9c873724172bf1a012a4f10e3ab9aa51091fbbf28e87650f6366af0d06311 SHA512 800df19a8356c6c0011bc4aca52241e6d3be2a479c55d1147d561ec34256e1a0b33214d59443fd09061820c3e4d061cff86e8b5f9594b3440369b7c6df1e7f0d MISC metadata.xml 441 BLAKE2B be64fae1f1acc10cff3492e6c2cd802f9f3bee83d646868d3dbe2336b35c791f8ec0be4aad6e89aaad167f03163740cdde543c5af6dc71c0780754f97a76f4af SHA512 9f17e1724f03b55e0313dd4b7528ef1f190258bd39efe35e144ad1807f4037a08e4302f749153f511c1bd0ab01a885e3700eb3ead4764d44161c0f7080a55673 diff --git a/dev-python/execnet/execnet-1.8.1.ebuild b/dev-python/execnet/execnet-1.8.1.ebuild new file mode 100644 index 000000000000..8990f1adf6e0 --- /dev/null +++ b/dev-python/execnet/execnet-1.8.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Rapid multi-Python deployment" +HOMEPAGE="https://codespeak.net/execnet/ + https://pypi.org/project/execnet/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=">=dev-python/apipkg-1.4[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}]" + +distutils_enable_sphinx doc +distutils_enable_tests pytest + +python_prepare_all() { + sed -i -r 's:(,[[:space:]]*|)"eventlet":: ; s:(,[[:space:]]*|)"gevent"(,|)::' \ + testing/conftest.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + local deselect=( + # needs python2.7 with apipkg? + 'testing/test_termination.py::test_close_initiating_remote_no_error[python2.7]' + # tries to run python2 + testing/test_channel.py::TestStringCoerce::test_3to2 + testing/test_gateway.py::TestStringCoerce::test_3to2 + # does not like Gentoo defaults + testing/test_gateway.py::TestPopenGateway::test_dont_write_bytecode + # almost all tests call py2, not worth filtering for the rest + testing/test_serializer.py + ) + + pytest -vv ${deselect[@]/#/--deselect } || + die "Tests failed with ${EPYTHON}" +} |