diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-04-25 22:31:43 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-04-25 22:57:03 +0200 |
commit | f98ecf4d3a0fc35a8840d224cd8aeb0293d104b1 (patch) | |
tree | a158f2427e60750b92ca6d99a9385707e2eef146 /dev-python/pytest-helpers-namespace | |
parent | app-emacs/lsp-mode: compile clients; enable tests (diff) | |
download | gentoo-f98ecf4d3a0fc35a8840d224cd8aeb0293d104b1.tar.gz gentoo-f98ecf4d3a0fc35a8840d224cd8aeb0293d104b1.tar.bz2 gentoo-f98ecf4d3a0fc35a8840d224cd8aeb0293d104b1.zip |
dev-python/pytest-helpers-namespace: Bump to 2021.12.29
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pytest-helpers-namespace')
-rw-r--r-- | dev-python/pytest-helpers-namespace/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pytest-helpers-namespace/pytest-helpers-namespace-2021.12.29.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/pytest-helpers-namespace/Manifest b/dev-python/pytest-helpers-namespace/Manifest index a1c2731b0fc9..b097924afca5 100644 --- a/dev-python/pytest-helpers-namespace/Manifest +++ b/dev-python/pytest-helpers-namespace/Manifest @@ -1 +1,2 @@ +DIST pytest-helpers-namespace-2021.12.29.gh.tar.gz 51376 BLAKE2B cbc79e6868a18f7174b96e73e3e902ea969d5a361c141e12bf5a67eeb7c93cead61629842f8b8744e58240cd8b85f9864ed95fec7ce048446963592b41bbd7e5 SHA512 82c231ff11a36fce7b16a0ceea51c9306f7e05ca3f9e8cc7cc1c77ac9822f974d1ac893d2bf9b7154bf9593a529193daa041ccaaced6fdd9e38ba4f794f161b0 DIST pytest-helpers-namespace-2021.3.24.gh.tar.gz 25881 BLAKE2B d13e82eebf09b4acb1d8fb9d3609f8814a49bfd0df56f23fe6f3fe3fa1508c4f1ac338b3f75e1e97ae90f71cae548dd100548d23cdbaa6c4bdb76cdb6e3d4a41 SHA512 1914427a4805a168d4067cd5db5663d28e3ff680f612e70a169a7efbc6c2c7ba0e2dc74132595aa70e13b651886bd10a6947e56558edf22b871618c967537073 diff --git a/dev-python/pytest-helpers-namespace/pytest-helpers-namespace-2021.12.29.ebuild b/dev-python/pytest-helpers-namespace/pytest-helpers-namespace-2021.12.29.ebuild new file mode 100644 index 000000000000..e9838d133d9b --- /dev/null +++ b/dev-python/pytest-helpers-namespace/pytest-helpers-namespace-2021.12.29.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Provides a helpers pytest namespace" +HOMEPAGE=" + https://github.com/saltstack/pytest-helpers-namespace/ + https://pypi.org/project/pytest-helpers-namespace/ +" +SRC_URI=" + https://github.com/saltstack/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-declarative-requirements[${PYTHON_USEDEP}] + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-forked[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_helpers_namespace.plugin + epytest -p pytest_forked --forked +} |