dev-python/icoextract: enable py3.11

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2023-02-24 20:20:47 +02:00
parent e295d682bb
commit 5e22e9924a
No known key found for this signature in database
GPG Key ID: A12750536B5E7010

View File

@ -1,10 +1,10 @@
# Copyright 2022 Gentoo Authors # Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=8 EAPI=8
DISTUTILS_USE_PEP517=setuptools DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..10} ) PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1 inherit distutils-r1
DESCRIPTION="Extract icons from Windows PE files (.exe/.dll)" DESCRIPTION="Extract icons from Windows PE files (.exe/.dll)"
@ -32,6 +32,7 @@ BDEPEND="
distutils_enable_tests unittest distutils_enable_tests unittest
src_test() { src_test() {
export PATH="${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH}"
emake -C tests emake -C tests
distutils-r1_src_test distutils-r1_src_test
} }