commit:     61098f776f48327a7a2fc516383d77a844f51254
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu May 11 20:12:59 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May 11 20:12:59 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61098f77

dev-libs/libxml2: disable py3.9, restore elibtoolize

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/libxml2/libxml2-2.11.3.ebuild | 8 ++++++--
 dev-libs/libxml2/libxml2-9999.ebuild   | 2 +-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/dev-libs/libxml2/libxml2-2.11.3.ebuild 
b/dev-libs/libxml2/libxml2-2.11.3.ebuild
index be0c922a2116..c04a7cb51a53 100644
--- a/dev-libs/libxml2/libxml2-2.11.3.ebuild
+++ b/dev-libs/libxml2/libxml2-2.11.3.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 # Note: Please bump in sync with dev-libs/libxslt
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 PYTHON_REQ_USE="xml(+)"
 inherit flag-o-matic python-r1 multilib-minimal
 
@@ -22,7 +22,7 @@ if [[ ${PV} == 9999 ]] ; then
        EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/libxml2";
        inherit autotools git-r3
 else
-       inherit autotools gnome.org libtool
+       inherit gnome.org libtool
        KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux 
~arm64-macos ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
 fi
 
@@ -90,6 +90,10 @@ src_prepare() {
 
        if [[ ${PV} == 9999 ]] ; then
                eautoreconf
+       else
+               # Please do not remove, as else we get references to 
PORTAGE_TMPDIR
+               # in /usr/lib/python?.?/site-packages/libxml2mod.la among 
things.
+               elibtoolize
        fi
 }
 

diff --git a/dev-libs/libxml2/libxml2-9999.ebuild 
b/dev-libs/libxml2/libxml2-9999.ebuild
index b31269fea30e..c04a7cb51a53 100644
--- a/dev-libs/libxml2/libxml2-9999.ebuild
+++ b/dev-libs/libxml2/libxml2-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 # Note: Please bump in sync with dev-libs/libxslt
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 PYTHON_REQ_USE="xml(+)"
 inherit flag-o-matic python-r1 multilib-minimal
 

Reply via email to