dev-python/gssapi: Require Cython < 3

The package builds non-functional extension and fails to import
when build with Cython 3.  Force Cython 0 and revbump to fix any systems
that may have built it against Cython 3.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-06-14 17:43:06 +02:00
parent 1823c43f81
commit fe034ff95f

View File

@@ -10,7 +10,10 @@ PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
DESCRIPTION="Low and high level wrappers around the GSSAPI C libraries"
HOMEPAGE="https://github.com/pythongssapi/python-gssapi https://pypi.org/project/gssapi/"
HOMEPAGE="
https://github.com/pythongssapi/python-gssapi/
https://pypi.org/project/gssapi/
"
SRC_URI="
https://github.com/pythongssapi/python-gssapi/releases/download/v${PV}/python-${P}.tar.gz
-> ${P}.gh.tar.gz
@@ -27,7 +30,7 @@ RDEPEND="
"
BDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
<dev-python/cython-3[${PYTHON_USEDEP}]
virtual/krb5
test? (
dev-python/k5test[${PYTHON_USEDEP}]