commit:     f23f0ff365a79946ae69c850e3c77d2a1383710d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  6 04:02:07 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Apr  6 04:53:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f23f0ff3

dev-python/execnet: Bump to 2.1.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/execnet/Manifest             |  1 +
 dev-python/execnet/execnet-2.1.0.ebuild | 37 +++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/dev-python/execnet/Manifest b/dev-python/execnet/Manifest
index 5f52b581b9e2..cd53dabb27b1 100644
--- a/dev-python/execnet/Manifest
+++ b/dev-python/execnet/Manifest
@@ -1 +1,2 @@
 DIST execnet-2.0.2.tar.gz 161098 BLAKE2B 
2a0a4d3071a0436d7c6ec450f1b502047e6a367985771aa58050e149ea060e8a573844bd2380c66be914dd00e3f9491b126e84089006787c61c043116f9e5981
 SHA512 
9e2e7ff4e04f50b12a3dd47d3326a3ea229f64926e8598bdce6ea25bd57afb41e96249e1c9f7333927a38a2793f67cac77965c922980055ed758dee361bf2ce4
+DIST execnet-2.1.0.tar.gz 166475 BLAKE2B 
b1149df5e0073ad9e02520bd74a19a3e527a488088d785b902fab2e7d008fe01195134d2742d6443a52645338b79bc69283ad3402495d64089885793446c4aad
 SHA512 
efd63147748d2f26fd75034b2a0a90c7aa10ac647468ceb27c845c3b66dfa6ffda8b8bd3b5d40ce34f429fb151bfd9fe5c2c6ebc20027789de555232851b5525

diff --git a/dev-python/execnet/execnet-2.1.0.ebuild 
b/dev-python/execnet/execnet-2.1.0.ebuild
new file mode 100644
index 000000000000..c954dbc26c01
--- /dev/null
+++ b/dev-python/execnet/execnet-2.1.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Rapid multi-Python deployment"
+HOMEPAGE="
+       https://codespeak.net/execnet/
+       https://github.com/pytest-dev/execnet/
+       https://pypi.org/project/execnet/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+BDEPEND="
+       dev-python/hatch-vcs[${PYTHON_USEDEP}]
+"
+
+distutils_enable_sphinx doc
+distutils_enable_tests pytest
+
+python_test() {
+       # the test suite checks if bytecode writing can be disabled/enabled
+       local -x PYTHONDONTWRITEBYTECODE=
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       # some tests are implicitly run against both sys.executable
+       # and pypy3, which is redundant and results in pypy3 bytecode being
+       # written to cpython install dirs
+       epytest testing -k "not pypy3"
+}

Reply via email to