From d8072e77705ce9b4a8810dd92ecc7967788de222 Mon Sep 17 00:00:00 2001 From: Daniele Rondina Date: Sun, 14 Dec 2025 02:55:36 +0000 Subject: [PATCH] Bump dev-python/libxml2-python-2.15.1 --- dev-python/libxml2-python/Manifest | 1 + .../libxml2-python-2.15.1.ebuild | 51 +++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 dev-python/libxml2-python/Manifest create mode 100644 dev-python/libxml2-python/libxml2-python-2.15.1.ebuild diff --git a/dev-python/libxml2-python/Manifest b/dev-python/libxml2-python/Manifest new file mode 100644 index 0000000000..9801d02491 --- /dev/null +++ b/dev-python/libxml2-python/Manifest @@ -0,0 +1 @@ +DIST libxml2-2.15.1.tar.xz 2004588 BLAKE2B 73c4d17adacda67d71c5a120c7de2324df1db35963cadbe18166dafe122e1f10dcab9d4fed0e128c077a5ca31432bfaf72f742c42680251660d397ab8bc3538b SHA512 429c7d0dc3cbcb8de1bf6eb588fb8025fee009c9b25e87c96ecc5de57cc12b558b0ab8141f333d73ca687109335f297c9f9776abbb9da9afc9d8e79041c86b7f diff --git a/dev-python/libxml2-python/libxml2-python-2.15.1.ebuild b/dev-python/libxml2-python/libxml2-python-2.15.1.ebuild new file mode 100644 index 0000000000..5b457a1580 --- /dev/null +++ b/dev-python/libxml2-python/libxml2-python-2.15.1.ebuild @@ -0,0 +1,51 @@ +# Distributed under the terms of the GNU General Public License v2 +# Autogen by MARK Devkit + +EAPI=7 +PYTHON_COMPAT=( python3+ ) +inherit distutils-r1 meson + +DESCRIPTION="Python binding of XML C parser and toolkit" +HOMEPAGE="https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home" +SRC_URI="https://download.gnome.org/sources/libxml2/2.15/libxml2-2.15.1.tar.xz -> libxml2-2.15.1.tar.xz" +SLOT="2" +KEYWORDS="*" +IUSE="+icu +lzma readline static-libs" +RDEPEND="=dev-libs/libxml2-2.15.1:=[lzma?,icu?,readline?,static-libs?] + +" +DEPEND="${RDEPEND} + app-doc/doxygen[dot] + +" +S="${WORKDIR}/libxml2-2.15.1" +src_prepare() { + default + sed -e "/^dir_doc/ s/meson.project_name()$/\'${PF}\'/" -i meson.build || die +} +src_configure() { + local emesonargs=( + -Ddefault_library=$(usex static-libs both shared) + -Ddocs=disabled + $(meson_feature icu) + $(meson_feature readline) + $(meson_feature readline history) + -Dpython=enabled + -Dschematron=enabled + -Dlegacy=disabled + ) + meson_src_configure + export S="${S}/python" + distutils-r1_src_configure +} +src_compile() { + meson_src_compile +} +src_install() { + meson_src_install + # Remove files supplied by libxml2 library + rm -r "${ED}"/usr/{lib64,bin,include} || die +} + + +# vim: filetype=ebuild