diff options
Diffstat (limited to 'dev-python/pytest-skip-markers')
-rw-r--r-- | dev-python/pytest-skip-markers/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pytest-skip-markers/pytest-skip-markers-1.4.0.ebuild | 47 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/pytest-skip-markers/Manifest b/dev-python/pytest-skip-markers/Manifest index 298775f790d4..c13a4d3a3cb7 100644 --- a/dev-python/pytest-skip-markers/Manifest +++ b/dev-python/pytest-skip-markers/Manifest @@ -1,3 +1,5 @@ DIST pytest-skip-markers-1.3.0.tar.gz 79882 BLAKE2B 2c44711e6194aebf0a0299f8a50e6162a088023c2fff6bdb7c142060695a6977b1d4a5cc574199d8f11a5a94e413d7444f81d9e954327e8317ed1bcf3725a60f SHA512 bea602032a7796be7c2dad62ba750e987b77f04349c96f6f8e1f15f5d2b58c3ba1e549a775ce7e541f6041091a578def59900a726872c8aa8b31c585e3f0c3e0 +DIST pytest-skip-markers-1.4.0.gh.tar.gz 70932 BLAKE2B d1bd597de0004ca37d8582896166be8f70833b386adbb53e5f812b28ac15bca613fea5e85b21bfb3549892f45ea8bbff13e66bafb97fc5db93e2fc6226a73c85 SHA512 6cb88833fd328f8e7cc6a2d0c8a0c9106b07186b8a20164c8272d685e93c21b111d4e7885ac1739ce777a9279a59705229ea41c3c31c71ac71d1bc26c13318f2 EBUILD pytest-skip-markers-1.3.0-r2.ebuild 943 BLAKE2B 6d783799f0b7ddad87ad817746fa7787e09c841880f91714d8a05fc3a8b0e05f8ff95fc355477c02af45c758e4b55bc5db5929d18e34ec90f457d2318f3987e0 SHA512 f064e8317341fdbee6e93c9146081218bda423028d5a571074267b3533314488a325d7f61defdb37cb14e1d1a1b029e3747a35dfd466b9c1f729a934502b6cf9 +EBUILD pytest-skip-markers-1.4.0.ebuild 1106 BLAKE2B 4603604c8c457d385ca60becf9a129d096e51f55c89ea87d041c5925206dcb82e818613ae2319c8e8e9ccf4c3b5d7fe30c35c00f3c59c3771d3e888073f5476c SHA512 a52b8f3e620178c07e3b80f65d4544613fb95eb96afab2b15407ae1c0f0e3eae3ee8a7cff27c938c69880f77055fda117bb711815eee94ec9666167657948258 MISC metadata.xml 433 BLAKE2B 07de1af137dd4f1644c069f92e73f7558023095fb0e965ae3e1fe04ecf80f65fe267aa66cb54bddfe4df70c65f1bbbd87ddcb018e4e6bc52e8a83347d0720220 SHA512 842b3fedb252ab2493f2bd349fe6d1dd475bfd4b2ac6422c5dc4eea0ee422dcaebc09bf57a87b3f52260408e56b1036961af3accfcf43cc8a10c2d957ea18573 diff --git a/dev-python/pytest-skip-markers/pytest-skip-markers-1.4.0.ebuild b/dev-python/pytest-skip-markers/pytest-skip-markers-1.4.0.ebuild new file mode 100644 index 000000000000..7e0bc9688443 --- /dev/null +++ b/dev-python/pytest-skip-markers/pytest-skip-markers-1.4.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="A Pytest plugin which implements a few useful skip markers" +HOMEPAGE=" + https://pytest-skip-markers.readthedocs.io/en/latest/ + https://github.com/saltstack/pytest-skip-markers +" +SRC_URI=" + https://github.com/saltstack/pytest-skip-markers/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/pytest-7.1.0[${PYTHON_USEDEP}] + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/distro[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pyfakefs[${PYTHON_USEDEP}] + dev-python/pytest-subtests[${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=pytestskipmarkers.plugin,pyfakefs.pytest_plugin + epytest +} |