diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-06-01 12:52:02 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-06-01 12:52:02 +0000 |
| commit | df899fa791750d19ac5a7dc30a1778095d3f8d60 (patch) | |
| tree | 4aff626b567f25f42c616d1c81fdc1d243d95cab /dev-python/pytest-randomly | |
| parent | 215476f669d20b307ff052c3ff0d420102108e58 (diff) | |
| download | baldeagleos-repo-df899fa791750d19ac5a7dc30a1778095d3f8d60.tar.gz baldeagleos-repo-df899fa791750d19ac5a7dc30a1778095d3f8d60.tar.xz baldeagleos-repo-df899fa791750d19ac5a7dc30a1778095d3f8d60.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pytest-randomly')
| -rw-r--r-- | dev-python/pytest-randomly/Manifest | 3 | ||||
| -rw-r--r-- | dev-python/pytest-randomly/pytest-randomly-3.11.0.ebuild | 38 | ||||
| -rw-r--r-- | dev-python/pytest-randomly/pytest-randomly-3.12.0.ebuild | 32 |
3 files changed, 25 insertions, 48 deletions
diff --git a/dev-python/pytest-randomly/Manifest b/dev-python/pytest-randomly/Manifest index e129eead2241..083bee42815a 100644 --- a/dev-python/pytest-randomly/Manifest +++ b/dev-python/pytest-randomly/Manifest @@ -1,2 +1 @@ -DIST pytest-randomly-3.11.0.tar.gz 30822 BLAKE2B 81411f8882f786c18ded69d42296117421498515ed0808064b4da418f94be5aa6e0dedf1dabf0e87f8f508b9cc886f8b645e4b5f845009cade4f20b8f437dd95 SHA512 6c2da071492d032b60782c17aee01751fe0728f921dfd192a17d9be95330ddf6dd0c960ef93a200dbe990c8457340008c556f28aea9cbc74677984fee0618ad7 -DIST pytest-randomly-3.12.0.tar.gz 30426 BLAKE2B 22e7ac58787a98b24a672f2fc2fdba8069213008f11c66eb05320be99662311b0273b0c32079d59792964075abe6fd2f224ce03eb0d3b2dcf0a79e180f1a067e SHA512 e2241c1304b9597f93cc57d6830808f85c59ea1b4815624dcd9d088f87eb4a34d6cb6394de9c31ebedcb8280fb6ff12b110fd5a559ab28c9e0381481fce52c4d +DIST pytest-randomly-3.12.0.gh.tar.gz 30426 BLAKE2B 22e7ac58787a98b24a672f2fc2fdba8069213008f11c66eb05320be99662311b0273b0c32079d59792964075abe6fd2f224ce03eb0d3b2dcf0a79e180f1a067e SHA512 e2241c1304b9597f93cc57d6830808f85c59ea1b4815624dcd9d088f87eb4a34d6cb6394de9c31ebedcb8280fb6ff12b110fd5a559ab28c9e0381481fce52c4d diff --git a/dev-python/pytest-randomly/pytest-randomly-3.11.0.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.11.0.ebuild deleted file mode 100644 index 2bef1d1e3407..000000000000 --- a/dev-python/pytest-randomly/pytest-randomly-3.11.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# 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_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Pytest plugin to randomly order tests and control random.seed" -HOMEPAGE=" - https://pypi.python.org/pypi/pytest-randomly/ - https://github.com/pytest-dev/pytest-randomly -" -SRC_URI="https://github.com/pytest-dev/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - dev-python/factory_boy[${PYTHON_USEDEP}] - dev-python/Faker[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - - $(python_gen_cond_dep '>=dev-python/importlib_metadata-3.6.0[${PYTHON_USEDEP}]' python3_{8,9}) -" -DEPEND="${RDEPEND}" - -distutils_enable_tests pytest - -python_test() { - distutils_install_for_testing --via-root - pytest -vv || die "Testsuite failed under ${EPYTHON}" -} diff --git a/dev-python/pytest-randomly/pytest-randomly-3.12.0.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.12.0.ebuild index f039621209ee..6fff7c48adf1 100644 --- a/dev-python/pytest-randomly/pytest-randomly-3.12.0.ebuild +++ b/dev-python/pytest-randomly/pytest-randomly-3.12.0.ebuild @@ -13,26 +13,42 @@ HOMEPAGE=" https://pypi.python.org/pypi/pytest-randomly/ https://github.com/pytest-dev/pytest-randomly " -SRC_URI="https://github.com/pytest-dev/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/pytest-dev/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" RDEPEND=" + dev-python/pytest[${PYTHON_USEDEP}] + $(python_gen_cond_dep '>=dev-python/importlib_metadata-3.6.0[${PYTHON_USEDEP}]' python3_{8,9}) +" +# tests pytest-xdist integration +BDEPEND="test? ( dev-python/factory_boy[${PYTHON_USEDEP}] dev-python/Faker[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] dev-python/pytest-xdist[${PYTHON_USEDEP}] +)" - $(python_gen_cond_dep 'dev-python/numpy[${PYTHON_USEDEP}]' python3_{8..10}) - $(python_gen_cond_dep '>=dev-python/importlib_metadata-3.6.0[${PYTHON_USEDEP}]' python3_{8,9}) -" -DEPEND="${RDEPEND}" +EPYTEST_DESELECT=( + tests/test_pytest_randomly.py::test_entrypoint_injection + tests/test_pytest_randomly.py::test_it_runs_before_stepwise + tests/test_pytest_randomly.py::test_works_without_xdist + + # Output mismatch + tests/test_pytest_randomly.py::test_class_test_methods_reordered + tests/test_pytest_randomly.py::test_classes_reordered + tests/test_pytest_randomly.py::test_doctests_in_txt_files_reordered + tests/test_pytest_randomly.py::test_doctests_reordered + tests/test_pytest_randomly.py::test_files_reordered + tests/test_pytest_randomly.py::test_files_reordered_when_seed_not_reset + tests/test_pytest_randomly.py::test_test_functions_reordered + tests/test_pytest_randomly.py::test_test_functions_reordered_when_randomness_in_module +) distutils_enable_tests pytest python_test() { - distutils_install_for_testing --via-root - pytest -vv || die "Testsuite failed under ${EPYTHON}" + epytest -p no:randomly } |
