mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-16 18:43:18 -04:00
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:
40
dev-python/pytest-cython/pytest-cython-0.2.1.ebuild
Normal file
40
dev-python/pytest-cython/pytest-cython-0.2.1.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user