diff options
Diffstat (limited to 'dev-python/pytest-describe')
| -rw-r--r-- | dev-python/pytest-describe/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pytest-describe/metadata.xml | 13 | ||||
| -rw-r--r-- | dev-python/pytest-describe/pytest-describe-1.0.0.ebuild | 31 |
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/pytest-describe/Manifest b/dev-python/pytest-describe/Manifest new file mode 100644 index 000000000000..682d4446bcb8 --- /dev/null +++ b/dev-python/pytest-describe/Manifest @@ -0,0 +1 @@ +DIST pytest-describe-1.0.0.tar.gz 8917 BLAKE2B 8608a00151273ebb22da6a297580295abbd64c7d9e90bfba9611eac3be64247be20ee43bb64ead1a3f74e65719112a94535506f4402cb7084802360609ab0173 SHA512 1cefa2911e598063b3b9dce381750d204c925cb0dde890b79745c8b4f1cf6d0349f85dc9eaf895000a6f15f45a84fb920f27c01b0af1959125fbe3716cbebbbc diff --git a/dev-python/pytest-describe/metadata.xml b/dev-python/pytest-describe/metadata.xml new file mode 100644 index 000000000000..ed98feb0166d --- /dev/null +++ b/dev-python/pytest-describe/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">pytest-describe</remote-id> + <remote-id type="github">ropez/pytest-describe</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/pytest-describe/pytest-describe-1.0.0.ebuild b/dev-python/pytest-describe/pytest-describe-1.0.0.ebuild new file mode 100644 index 000000000000..30f9e69afae6 --- /dev/null +++ b/dev-python/pytest-describe/pytest-describe-1.0.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Describe-style plugin for pytest" +HOMEPAGE="https://github.com/pytest-dev/pytest-describe + https://pypi.org/project/pytest-describe" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=">=dev-python/pytest-2.6.0[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( ${RDEPEND} )" + +python_test() { + # We need to disable some plugins because tests don't like unexpected + # output + PYTEST_ADDOPTS="-p no:flaky -p no:capturelog" pytest -vv || + die "Tests failed under ${EPYTHON}" +} |
