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

@@ -1,2 +1 @@
DIST pytest-cython-0.1.1.tar.gz 817776 BLAKE2B d9b812cefc45153a1ce7abb0b1be2e7fc329b88d89ed48529f62a38c402d74bb164ed6b928f291586f0064820dc52156eacdf161da3a0d65d10f5a15681a17e4 SHA512 353a6c3b67df0608b24f24e04ba5d3fa48065d3960834e32bf44f2dfcd6248cb4c86de528c15dbfd20e36811bfb0ae04670f6441afb74bcb7bd1d7af71060463
DIST pytest-cython-0.2.0.tar.gz 16201 BLAKE2B 7e32bdb0eb7b83d7d6444b8f102c25b64057e37d8f8d69bd579880f800151cee874c8e94c16b2aa12a82931666ff41112569ccd2ab225dafa95b87f89d44ddaa SHA512 0ab793c116f4b5b1dc20214d7151e71dc9b58473a19983105e9e06502568af962344853091f0f6bdeb70d6d044ba6a3add98148d4bd81eceb8e143050d288f79
DIST pytest-cython-0.2.1.tar.gz 16083 BLAKE2B 79140d313a745e47660588e4bec32777debb7b878fd085c1a4e0785b4f0a85e03ad53fafaf43ce93cdd42d02f59000dc6196c62ce803b3c5d736719ca9a43b05 SHA512 6dbceaef0220e4ccd18409a78c1901ccb647aaa1d3763863cd8cba3580c5005969cae67824f25e03b57ee4364a86e5cdff95b87e657f8501de72ba3c7f59c164

View File

@@ -1,33 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
PYTHON_COMPAT=( pypy3 python3_{8..10} pypy3 )
inherit distutils-r1
DESCRIPTION="Plugin for testing Cython extension modules"
HOMEPAGE="https://github.com/lgpage/pytest-cython"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64"
RDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme
distutils_enable_tests pytest
python_test() {
epytest -vv \
--deselect tests/test_pytest_cython.py::test_wrap_c_ext_module \
--deselect tests/test_pytest_cython.py::test_cython_ext_module \
--deselect tests/test_pytest_cython.py::test_wrap_cpp_ext_module \
--deselect tests/test_pytest_cython.py::test_pure_py_module \
|| die
}

View File

@@ -1,25 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( pypy3 python3_{8..10} pypy3 )
inherit distutils-r1
DESCRIPTION="Plugin for testing Cython extension modules"
HOMEPAGE="https://github.com/lgpage/pytest-cython"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64"
RDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
>=dev-python/pytest-4.6.0[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme
distutils_enable_tests pytest

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
}