commit:     28a5bea7ac38529818e81e18f77cb40f4d0fa037
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Thu Jan 15 16:56:25 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 15 19:28:49 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28a5bea7

app-text/poppler: requires python at build time

Encountered a build failure with dev-lang/python-exec[-native-symlinks]

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45388
Closes: https://github.com/gentoo/gentoo/pull/45388
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/poppler/poppler-25.12.0.ebuild | 6 ++++--
 app-text/poppler/poppler-26.01.0.ebuild | 4 +++-
 app-text/poppler/poppler-9999.ebuild    | 4 +++-
 3 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/app-text/poppler/poppler-25.12.0.ebuild 
b/app-text/poppler/poppler-25.12.0.ebuild
index bd11be0aa664..4ec257d294a1 100644
--- a/app-text/poppler/poppler-25.12.0.ebuild
+++ b/app-text/poppler/poppler-25.12.0.ebuild
@@ -1,9 +1,10 @@
-# Copyright 2005-2025 Gentoo Authors
+# Copyright 2005-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit cmake flag-o-matic toolchain-funcs xdg-utils
+PYTHON_COMPAT=( python3_{11..14} )
+inherit cmake flag-o-matic python-any-r1 toolchain-funcs xdg-utils
 
 if [[ ${PV} == *9999* ]] ; then
        inherit git-r3
@@ -66,6 +67,7 @@ DEPEND="${COMMON_DEPEND}
        )
 "
 BDEPEND="
+       ${PYTHON_DEPS}
        >=dev-util/glib-utils-2.64
        virtual/pkgconfig
 "

diff --git a/app-text/poppler/poppler-26.01.0.ebuild 
b/app-text/poppler/poppler-26.01.0.ebuild
index d723716b3352..b06a28783f13 100644
--- a/app-text/poppler/poppler-26.01.0.ebuild
+++ b/app-text/poppler/poppler-26.01.0.ebuild
@@ -3,7 +3,8 @@
 
 EAPI=8
 
-inherit cmake flag-o-matic toolchain-funcs xdg-utils
+PYTHON_COMPAT=( python3_{11..14} )
+inherit cmake flag-o-matic python-any-r1 toolchain-funcs xdg-utils
 
 if [[ ${PV} == *9999* ]] ; then
        inherit git-r3
@@ -55,6 +56,7 @@ DEPEND="${COMMON_DEPEND}
        test? ( qt6? ( dev-qt/qtbase:6[widgets] ) )
 "
 BDEPEND="
+       ${PYTHON_DEPS}
        >=dev-util/glib-utils-2.64
        virtual/pkgconfig
 "

diff --git a/app-text/poppler/poppler-9999.ebuild 
b/app-text/poppler/poppler-9999.ebuild
index 03f24cbf62d7..1f544780d681 100644
--- a/app-text/poppler/poppler-9999.ebuild
+++ b/app-text/poppler/poppler-9999.ebuild
@@ -3,7 +3,8 @@
 
 EAPI=8
 
-inherit cmake flag-o-matic toolchain-funcs xdg-utils
+PYTHON_COMPAT=( python3_{11..14} )
+inherit cmake flag-o-matic python-any-r1 toolchain-funcs xdg-utils
 
 if [[ ${PV} == *9999* ]] ; then
        inherit git-r3
@@ -55,6 +56,7 @@ DEPEND="${COMMON_DEPEND}
        test? ( qt6? ( dev-qt/qtbase:6[widgets] ) )
 "
 BDEPEND="
+       ${PYTHON_DEPS}
        >=dev-util/glib-utils-2.64
        virtual/pkgconfig
 "

Reply via email to