guru/dev-python/pytest-cython/pytest-cython-0.2.1.ebuild
Anna (cybertailor) Vyalkova 12088906c5
*/*: drop dead py3.9 impl
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2023-05-02 00:45:35 +05:00

41 lines
786 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..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
}