diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-03-08 18:15:15 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-03-08 18:15:15 +0000 |
| commit | 38e23e89fe2b880cb81fadb0fdf0c81106ff068b (patch) | |
| tree | 0855fd6ac78e34b69f345217f12a90ce3bc38e1f /dev-python/pytest-subtests | |
| parent | 29d308db3d57a7b53af49edbca93ff4f770c73a2 (diff) | |
| download | baldeagleos-repo-38e23e89fe2b880cb81fadb0fdf0c81106ff068b.tar.gz baldeagleos-repo-38e23e89fe2b880cb81fadb0fdf0c81106ff068b.tar.xz baldeagleos-repo-38e23e89fe2b880cb81fadb0fdf0c81106ff068b.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pytest-subtests')
| -rw-r--r-- | dev-python/pytest-subtests/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pytest-subtests/pytest-subtests-0.12.1.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/pytest-subtests/Manifest b/dev-python/pytest-subtests/Manifest index 307cb06f77de..9e875f194fcc 100644 --- a/dev-python/pytest-subtests/Manifest +++ b/dev-python/pytest-subtests/Manifest @@ -1,2 +1,3 @@ DIST pytest-subtests-0.11.0.tar.gz 12763 BLAKE2B b1e1373d197798a9c27ed65569a681e9ea8dd36014cf6ea57a1d44ed888dca21bd8c5afffeb7f590a501d83d1bc0a8e1fe06b13832173e6937b722163614f21e SHA512 cab486252148e457e234e0dadacefa5ff38cf67df48d9c8bd61aa546a4a1e712b70dca0a270dffceede6be0f8a6324e8c21beaa4d1528b39f12bba72e077ef1d DIST pytest-subtests-0.12.0.tar.gz 15251 BLAKE2B d7a526a4af21828d4ad8364b0cf50dc5ae071806b49dfd13068f679b43dfef6367f32e61bad0547100408d0d6fd58d6a33ee96220d234116535b840da1b659c4 SHA512 4ff64e29b5c7f76a239ac3f365450a60d3ebe3ee9d01781c4f79f100b1590d24a867c503567d0bbf60e397bc1cc3dff091afbee823aa9399b7cc14a6e60bc0b8 +DIST pytest-subtests-0.12.1.tar.gz 15303 BLAKE2B 68ce29fd067836cb32b43f260c98b0a8d1827a1bf6f3f61bc98eb69a5259dad725379bece5fe745e86561cab7e58042aff7da51d39e99fd09bbf0127d04d8cca SHA512 5eb4ff950171f8e008b3879453b55bab1ebc82ec60ca4da839158ad6e195c03f1a5d6b6ce2ac263a3ecaa2f684955e4fcc7abf5e429de9ffd898586b758e6cd4 diff --git a/dev-python/pytest-subtests/pytest-subtests-0.12.1.ebuild b/dev-python/pytest-subtests/pytest-subtests-0.12.1.ebuild new file mode 100644 index 000000000000..120621c0abbd --- /dev/null +++ b/dev-python/pytest-subtests/pytest-subtests-0.12.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Unittest subTest() support and subtests fixture" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-subtests/ + https://pypi.org/project/pytest-subtests/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/pytest-7[${PYTHON_USEDEP}] +" +# pytest-xdist is used to test compatibility +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,pytest_subtests.plugin + epytest +} |
