commit:     bd83553f3cc9371477eb3b7cc18cb2b831cd4f4a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 25 18:52:30 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Oct 25 19:03:13 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd83553f

media-gfx/exiv2: Support python3_11, update EAPI 7 -> 8

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-gfx/exiv2/exiv2-0.27.5-r1.ebuild | 33 ++++++++++++++++-----------------
 1 file changed, 16 insertions(+), 17 deletions(-)

diff --git a/media-gfx/exiv2/exiv2-0.27.5-r1.ebuild 
b/media-gfx/exiv2/exiv2-0.27.5-r1.ebuild
index 0b3c07acc565..76dad821c808 100644
--- a/media-gfx/exiv2/exiv2-0.27.5-r1.ebuild
+++ b/media-gfx/exiv2/exiv2-0.27.5-r1.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-if [[ ${PV} = *9999 ]]; then
+if [[ ${PV} = *9999* ]]; then
        EGIT_REPO_URI="https://github.com/Exiv2/exiv2.git";
        inherit git-r3
 else
@@ -12,7 +12,7 @@ else
        S="${WORKDIR}/${P}-Source"
 fi
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 inherit cmake-multilib python-any-r1
 
 DESCRIPTION="EXIF, IPTC and XMP metadata C++ library and command line utility"
@@ -24,16 +24,6 @@ SLOT="0/27.5"
 IUSE="+bmff doc examples nls +png test webready +xmp"
 RESTRICT="!test? ( test )"
 
-BDEPEND="
-       doc? (
-               ${PYTHON_DEPS}
-               app-doc/doxygen
-               dev-libs/libxslt
-               media-gfx/graphviz
-               virtual/pkgconfig
-       )
-       nls? ( sys-devel/gettext )
-"
 RDEPEND="
        >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
        nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
@@ -45,13 +35,22 @@ RDEPEND="
        xmp? ( dev-libs/expat[${MULTILIB_USEDEP}] )
 "
 DEPEND="${DEPEND}
-       test? ( dev-cpp/gtest )"
+       test? ( dev-cpp/gtest )
+"
+BDEPEND="
+       doc? (
+               ${PYTHON_DEPS}
+               app-doc/doxygen
+               dev-libs/libxslt
+               media-gfx/graphviz
+               virtual/pkgconfig
+       )
+       nls? ( sys-devel/gettext )
+"
 
 DOCS=( README.md doc/ChangeLog doc/cmd.txt )
 
-PATCHES=(
-       "${FILESDIR}"/${PN}-0.27.5-musl-tests.patch
-)
+PATCHES=( "${FILESDIR}"/${PN}-0.27.5-musl-tests.patch )
 
 pkg_setup() {
        use doc && python-any-r1_pkg_setup

Reply via email to