diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-06 00:10:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-06 00:10:03 +0000 |
commit | b256b4b120d8269d4415eac0c354eb603a7bf953 (patch) | |
tree | 4a034d19dc148353dd4ed6094848d51387f8b07e /dev-python/nox/nox-2022.11.21.ebuild | |
parent | 8973f70e9a2ae4ea8a324e607ea1e8b96c7ff384 (diff) |
gentoo auto-resync : 06:01:2023 - 00:10:03
Diffstat (limited to 'dev-python/nox/nox-2022.11.21.ebuild')
-rw-r--r-- | dev-python/nox/nox-2022.11.21.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/nox/nox-2022.11.21.ebuild b/dev-python/nox/nox-2022.11.21.ebuild new file mode 100644 index 000000000000..1047e05af66b --- /dev/null +++ b/dev-python/nox/nox-2022.11.21.ebuild @@ -0,0 +1,42 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{8..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-3.0[${PYTHON_USEDEP}] + >=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}] + <dev-python/colorlog-7.0.0[${PYTHON_USEDEP}] + >=dev-python/colorlog-2.6.1[${PYTHON_USEDEP}] + >=dev-python/packaging-20.9[${PYTHON_USEDEP}] + >=dev-python/virtualenv-14[${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 + distutils-r1_src_prepare +} |