diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-11-18 16:10:36 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-11-18 16:47:34 +0100 |
commit | 712b9d6f93d82522978e65ac497553901671fc8a (patch) | |
tree | cfae84afc57d0d5570f5b6227be47cfad9dc05f1 /dev-python/pytest-order | |
parent | dev-python/pygments: Bump to 2.17.0 (diff) | |
download | gentoo-712b9d6f93d82522978e65ac497553901671fc8a.tar.gz gentoo-712b9d6f93d82522978e65ac497553901671fc8a.tar.bz2 gentoo-712b9d6f93d82522978e65ac497553901671fc8a.zip |
dev-python/pytest-order: Bump to 1.2.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pytest-order')
-rw-r--r-- | dev-python/pytest-order/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pytest-order/pytest-order-1.2.0.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/pytest-order/Manifest b/dev-python/pytest-order/Manifest index f5d10edcee2d..7f3fa8d69e4a 100644 --- a/dev-python/pytest-order/Manifest +++ b/dev-python/pytest-order/Manifest @@ -1 +1,2 @@ DIST pytest-order-1.1.0.tar.gz 43385 BLAKE2B e0bb40d89dbbb382dec2828d024b9a9a8353c87a89d0d9fce517df2be248dc3d9f24672a91f6a9dd82e473d41fb677cc13ef1201563e25402288d5144a8742c0 SHA512 0ce0e0b0437031e672acb838f9e2bb40c2ee8afcc8463c779959309ace125b3a4c92efcf5e156c97037fa6b8d51c255e7cf272427e44587608c2a370289dd3c3 +DIST pytest-order-1.2.0.tar.gz 44307 BLAKE2B 82611b713c9ae064c41e966d503c649c130d5a1df520594f513e9ab3d1cf6890fba65afa860822aedcee1a95617d3cd9010f5189d158cd76b2a4b9d25dd7d916 SHA512 f615dd57546e90c614af35fd79e7e579d48a5e709af3324f476d347e191606b81698bde619a2d0c7181e6f3b1a3c41121c1b06b5de87e66ac2caa77b5ea11ad9 diff --git a/dev-python/pytest-order/pytest-order-1.2.0.ebuild b/dev-python/pytest-order/pytest-order-1.2.0.ebuild new file mode 100644 index 000000000000..02e3cb2bcb36 --- /dev/null +++ b/dev-python/pytest-order/pytest-order-1.2.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 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_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="pytest plugin to run your tests in a specific order" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-order/ + https://pypi.org/project/pytest-order/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/pytest-6.4.2[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # these require pytest-dependency + tests/test_dependency.py::test_order_dependencies_no_auto_mark + tests/test_dependency.py::test_order_dependencies_auto_mark + tests/test_order_group_scope_dep.py::test_class_group_scope_module_scope + tests/test_order_group_scope_named_dep.py::test_class_group_scope_module_scope +) + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_order.plugin,xdist.plugin,pytest_mock + epytest +} |