diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-03-07 19:02:13 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-03-07 19:02:13 +0000 |
| commit | 76d0e0d7d89199ae1e8da17500460a22ddfee935 (patch) | |
| tree | 04e54e73529def4f99a6c511b42648c206b2104d /dev-python/pytest-subtests | |
| parent | a35c8d9ce7b60a748d248eeb61092abb433d11a1 (diff) | |
| download | baldeagleos-repo-76d0e0d7d89199ae1e8da17500460a22ddfee935.tar.gz baldeagleos-repo-76d0e0d7d89199ae1e8da17500460a22ddfee935.tar.xz baldeagleos-repo-76d0e0d7d89199ae1e8da17500460a22ddfee935.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.0.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/pytest-subtests/Manifest b/dev-python/pytest-subtests/Manifest index 33abed93f3b6..307cb06f77de 100644 --- a/dev-python/pytest-subtests/Manifest +++ b/dev-python/pytest-subtests/Manifest @@ -1 +1,2 @@ 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 diff --git a/dev-python/pytest-subtests/pytest-subtests-0.12.0.ebuild b/dev-python/pytest-subtests/pytest-subtests-0.12.0.ebuild new file mode 100644 index 000000000000..b32eb5d6e060 --- /dev/null +++ b/dev-python/pytest-subtests/pytest-subtests-0.12.0.ebuild @@ -0,0 +1,41 @@ +# 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-8.1[${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 +} |
