commit:     f63a3a1a0e141824838672a679413e0243273a59
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  9 07:39:58 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar  9 07:57:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f63a3a1a

media-libs/jbig2dec: enable py3.11

Closes: https://bugs.gentoo.org/896998
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/jbig2dec/jbig2dec-0.19.ebuild | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/media-libs/jbig2dec/jbig2dec-0.19.ebuild 
b/media-libs/jbig2dec/jbig2dec-0.19.ebuild
index 72981df9aafa..4279502e8dfc 100644
--- a/media-libs/jbig2dec/jbig2dec-0.19.ebuild
+++ b/media-libs/jbig2dec/jbig2dec-0.19.ebuild
@@ -3,14 +3,15 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{9..10} )
-
+PYTHON_COMPAT=( python3_{9..11} )
 inherit autotools python-any-r1
 
 DESCRIPTION="A decoder implementation of the JBIG2 image compression format"
 HOMEPAGE="https://jbig2dec.com/";
-SRC_URI="https://github.com/ArtifexSoftware/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz
-       test? ( http://jbig2dec.sourceforge.net/ubc/jb2streams.zip )"
+SRC_URI="
+       https://github.com/ArtifexSoftware/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz
+       test? ( http://jbig2dec.sourceforge.net/ubc/jb2streams.zip )
+"
 
 LICENSE="AGPL-3"
 SLOT="0/$(ver_cut 1-2)" #698428
@@ -24,8 +25,7 @@ BDEPEND="
                ${PYTHON_DEPS}
        )
 "
-
-RDEPEND="png? ( media-libs/libpng:0= )"
+RDEPEND="png? ( media-libs/libpng:= )"
 DEPEND="${RDEPEND}"
 
 DOCS=( CHANGES README )
@@ -51,7 +51,6 @@ src_prepare() {
                || die "failed to modify autogen.sh"
 
        ./autogen.sh || die
-
        eautoreconf
 }
 

Reply via email to