commit: 6a54174fb9c096a24fdc5b5c63f1f5d6e5b74ca5
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 23 18:25:21 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr 23 19:30:04 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a54174f
dev-python/nox: Bump to 2023.04.22
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/nox/Manifest | 1 +
dev-python/nox/nox-2023.04.22.ebuild | 47 ++++++++++++++++++++++++++++++++++++
2 files changed, 48 insertions(+)
diff --git a/dev-python/nox/Manifest b/dev-python/nox/Manifest
index bd4764d4b225..57649a8c2fb8 100644
--- a/dev-python/nox/Manifest
+++ b/dev-python/nox/Manifest
@@ -1 +1,2 @@
DIST nox-2022.11.21.gh.tar.gz 3983862 BLAKE2B
9c365dae5415de4c43c262a1ec9c9007b686838f8aff92a049b1602efe320b7644677646ee72c0e5754efc79d6e38cd46b59ff2851b39b4bf05d3166625000d4
SHA512
7f725425acd7d1ef55e04c5330c1f4fd2f2f5107c24b4bb7f7e2711cf6a5c1b8f2777a4902ee31d4a56898a953f3da6a9ed340d652fbc63cba33f5f763702b78
+DIST nox-2023.04.22.gh.tar.gz 3985377 BLAKE2B
7365141bf1c299f6e560dbf42a2927f98e5bf7121ed0dc1dbdc739de847caafdc0834fdc2f2473f20b97d25a4d1d01aced8400e85ec6c027494b8d93077d9a0b
SHA512
7425588b0ae87d66211a4fec1d204122a2adb114ddca866d2e66e1caff930f593af1540e5c88806894400ea8aba92037d3f458a98df05d6ac70662705426ee6e
diff --git a/dev-python/nox/nox-2023.04.22.ebuild
b/dev-python/nox/nox-2023.04.22.ebuild
new file mode 100644
index 000000000000..d9e7ee5f2a0a
--- /dev/null
+++ b/dev-python/nox/nox-2023.04.22.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( pypy3 python3_{9..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Flexible test automation for Python"
+HOMEPAGE="
+ https://github.com/wntrblm/nox/
+ https://pypi.org/project/nox/
+"
+SRC_URI="
+ https://github.com/wntrblm/nox/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}]
+ >=dev-python/colorlog-2.6.1[${PYTHON_USEDEP}]
+ >=dev-python/packaging-20.9[${PYTHON_USEDEP}]
+ >=dev-python/virtualenv-14[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/py[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ # broken with >=dev-python/tox-4
+ # https://github.com/wntrblm/nox/issues/673
+ rm nox/tox_to_nox.* tests/test_tox_to_nox.py || die
+ sed -i -e '/tox-to-nox/d' pyproject.toml || die
+ # remove upper bounds from dependencies
+ sed -i -e 's:<[0-9.]*,::' pyproject.toml || die
+ distutils-r1_src_prepare
+}