From d97953e6ff67978da9554e7b4601aedceb21e215 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Tue, 12 Apr 2022 21:03:09 +0000 Subject: Adding metadata --- dev-python/pytest-cases/Manifest | 2 + dev-python/pytest-cases/metadata.xml | 17 ++++++++ dev-python/pytest-cases/pytest-cases-3.6.11.ebuild | 50 ++++++++++++++++++++++ dev-python/pytest-cases/pytest-cases-3.6.9.ebuild | 44 +++++++++++++++++++ 4 files changed, 113 insertions(+) create mode 100644 dev-python/pytest-cases/Manifest create mode 100644 dev-python/pytest-cases/metadata.xml create mode 100644 dev-python/pytest-cases/pytest-cases-3.6.11.ebuild create mode 100644 dev-python/pytest-cases/pytest-cases-3.6.9.ebuild (limited to 'dev-python/pytest-cases') diff --git a/dev-python/pytest-cases/Manifest b/dev-python/pytest-cases/Manifest new file mode 100644 index 000000000000..79003e686d89 --- /dev/null +++ b/dev-python/pytest-cases/Manifest @@ -0,0 +1,2 @@ +DIST pytest-cases-3.6.11.tar.gz 1082043 BLAKE2B 396f7fa414729a49a8fb668126b959d13e5d10133ea0a47073cc42b8ce0a38c07df2e98c216e4904205696cf511a96d98e248e8f97a9324ee950e4399c1de746 SHA512 ee81d520eba8ab995bb4c32ba082a0107183d1d2892a29c3dc19d52a5324b1a73da2dbc97c202fdf6e6e17ac766f1d0383e87ee81ad22e49f7720a5e6417d0da +DIST pytest-cases-3.6.9.tar.gz 1080527 BLAKE2B 9209c62eb5aebe496cfcad825c5eddf90881d6a23794e88fca34921ebc8a6036072a70cb693dd0dcd5d13d4ae67a192c52e6f770ae6c44c8a19265ecca55f552 SHA512 13d5ebdff00d14a39063d6dd4f41ff130b11fac9a073141d0f7acbb316a7b39730afaf1930bd18205ac068dabd236a37ff6bafda960c5f793eb723235eced6d3 diff --git a/dev-python/pytest-cases/metadata.xml b/dev-python/pytest-cases/metadata.xml new file mode 100644 index 000000000000..4fbac7824d5e --- /dev/null +++ b/dev-python/pytest-cases/metadata.xml @@ -0,0 +1,17 @@ + + + + + cyber+gentoo@sysrq.in + Anna + + + pytest-cases + smarie/python-pytest-cases + https://smarie.github.io/python-pytest-cases/ + + sylvain.marie@schneider-electric.com + Sylvain Marie + + + diff --git a/dev-python/pytest-cases/pytest-cases-3.6.11.ebuild b/dev-python/pytest-cases/pytest-cases-3.6.11.ebuild new file mode 100644 index 000000000000..3f312b3dce19 --- /dev/null +++ b/dev-python/pytest-cases/pytest-cases-3.6.11.ebuild @@ -0,0 +1,50 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) +DISTUTILS_USE_PEP517=setuptools +DOCS_BUILDER="mkdocs" +DOCS_DEPEND="dev-python/mkdocs-material" +DOCS_DIR="docs" +inherit distutils-r1 docs + +DESCRIPTION="Separate test code from test cases in pytest" +HOMEPAGE="https://pypi.org/project/pytest-cases/ https://github.com/smarie/python-pytest-cases" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/decopatch[${PYTHON_USEDEP}] + >=dev-python/makefun-1.9.5[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-harvest[${PYTHON_USEDEP}] + dev-python/pytest-steps[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + tests/pytest_extension/doc/test_doc_fixture_graph_union.py::test_closure + tests/pytest_extension/fixtures/fixture_unions/test_fixture_closure_edits.py::test_super_closure_edits2 + tests/pytest_extension/fixtures/fixture_unions/test_fixtures_union_2hard.py::test_super_closure +) + +distutils_enable_tests pytest + +python_prepare_all() { + sed "/pytest-runner/d" -i setup.cfg || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + docs_compile +} diff --git a/dev-python/pytest-cases/pytest-cases-3.6.9.ebuild b/dev-python/pytest-cases/pytest-cases-3.6.9.ebuild new file mode 100644 index 000000000000..9498462ab4a8 --- /dev/null +++ b/dev-python/pytest-cases/pytest-cases-3.6.9.ebuild @@ -0,0 +1,44 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) +DISTUTILS_USE_PEP517=setuptools +DOCS_BUILDER="mkdocs" +DOCS_DEPEND="dev-python/mkdocs-material" +DOCS_DIR="docs" +inherit distutils-r1 docs + +DESCRIPTION="Separate test code from test cases in pytest" +HOMEPAGE="https://pypi.org/project/pytest-cases/ https://github.com/smarie/python-pytest-cases" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/decopatch[${PYTHON_USEDEP}] + >=dev-python/makefun-1.9.5[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-harvest[${PYTHON_USEDEP}] + dev-python/pytest-steps[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + sed "/pytest-runner/d" -i setup.cfg || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + docs_compile +} -- cgit v1.3