dev-python/pytest-cython: add 0.2.1, drop old

Closes: https://bugs.gentoo.org/842717
Closes: https://bugs.gentoo.org/897556
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2023-02-27 04:01:59 +05:00
parent c74340034f
commit b10b5a33d1
4 changed files with 41 additions and 60 deletions

View File

@@ -0,0 +1,40 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} pypy3 )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
inherit distutils-r1 pypi
DESCRIPTION="Plugin for testing Cython extension modules"
HOMEPAGE="
https://pypi.org/project/pytest-cython/
https://github.com/lgpage/pytest-cython
"
SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64"
RDEPEND="
dev-python/py[${PYTHON_USEDEP}]
>=dev-python/pytest-4.6.0[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/cython[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
distutils_enable_sphinx docs \
dev-python/myst_parser \
dev-python/sphinx-py3doc-enhanced-theme
python_test() {
epytest tests
}