dev-python/pycups: enable py3.11

Fedora do it, so we can too.

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2022-10-25 19:11:15 +02:00
parent b8856ea998
commit 3c22ac6970

View File

@@ -4,8 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
DESCRIPTION="Python bindings for the CUPS API"
@@ -20,10 +19,8 @@ IUSE="examples"
RDEPEND="net-print/cups"
DEPEND="${RDEPEND}"
PATCHES=(
# https://github.com/OpenPrinting/pycups/commit/8cbf6d40a0132764ad51e7416aa7034966875091
"${FILESDIR}/${P}-py3.10.patch"
)
# https://github.com/OpenPrinting/pycups/commit/8cbf6d40a0132764ad51e7416aa7034966875091
PATCHES=( "${FILESDIR}/${P}-py3.10.patch" )
python_install_all() {
if use examples; then