summaryrefslogtreecommitdiff
path: root/dev-libs
diff options
context:
space:
mode:
authorCrucible <crucible@localhost>2026-09-27 12:24:23 -0500
committerCrucible <crucible@localhost>2026-09-27 12:24:23 -0500
commit18a2245b637f88ed99cb70e5d207d4423848c8e4 (patch)
treefda8f0351a1fd5180aa9aaad1567eba8f360757c /dev-libs
parentaba64ab3634d0abde4e8efa812a0c5a4ee412f3a (diff)
downloadsrcux-18a2245b637f88ed99cb70e5d207d4423848c8e4.tar.gz
srcux-18a2245b637f88ed99cb70e5d207d4423848c8e4.tar.xz
srcux-18a2245b637f88ed99cb70e5d207d4423848c8e4.zip
Publish srcux candidate 0000000497-20260927-122227
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/expat/Manifest1
-rw-r--r--dev-libs/expat/expat-2.8.4.ebuild101
-rw-r--r--dev-libs/libdex/libdex-1.2.0.ebuild21
3 files changed, 16 insertions, 107 deletions
diff --git a/dev-libs/expat/Manifest b/dev-libs/expat/Manifest
index d8873b03998c..3755617a6bee 100644
--- a/dev-libs/expat/Manifest
+++ b/dev-libs/expat/Manifest
@@ -1,2 +1 @@
-DIST expat-2.8.4.tar.xz 519688 BLAKE2B bec06d3c3179115692edb5e9366412361abae5355b131a005ef91aaa041bf4ebf74a86cc2fac29c44730a07cba6fbda988a6bfdafafc9eeba25a00fb98e43d24 SHA512 00a34340b4fdc3baee6dbd83df3e41710ebffb38dc23664406be187a73f1e948451568fea07b6f33532b6b6244650808ce157255bcf6216d98267535cc97f3cd
DIST expat-2.8.5.tar.xz 528380 BLAKE2B 7d10459714722c6e4e858da92d3f7def6950240275ad5054b97f5d7612524f2813b8add75d6693698c8e7cdb4a64f73750346783e438ff6271dbc80643d51ee7 SHA512 ad3d4198a70682c7c8b2149cb7c743585cc9470ea2e4bd81ec7c0aff9545d9010b51df5cfcd0714335c7ef1578537cbd2a5580f649246b4ea78ee5e3466808a3
diff --git a/dev-libs/expat/expat-2.8.4.ebuild b/dev-libs/expat/expat-2.8.4.ebuild
deleted file mode 100644
index 3526fc8e1260..000000000000
--- a/dev-libs/expat/expat-2.8.4.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-AUTOTOOLS_AUTO_DEPEND=no
-inherit autotools multilib-minimal
-
-DESCRIPTION="Stream-oriented XML parser library"
-HOMEPAGE="https://libexpat.github.io/"
-SRC_URI="https://github.com/libexpat/libexpat/releases/download/R_${PV//\./_}/expat-${PV}.tar.xz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
-IUSE="examples static-libs test unicode"
-RESTRICT="!test? ( test )"
-BDEPEND="unicode? ( ${AUTOTOOLS_DEPEND} )"
-
-DOCS=( README.md )
-
-QA_CONFIG_IMPL_DECL_SKIP=(
- # https://bugs.gentoo.org/906384
- arc4random
- arc4random_buf
-)
-
-src_prepare() {
- default
-
- # fix interpreter to be a recent/good shell
- sed -i -e "1s:/bin/sh:${BASH}:" conftools/get-version.sh || die
- if use unicode; then
- cp -R "${S}" "${S}"w || die
- pushd "${S}"w >/dev/null
- find -name Makefile.am \
- -exec sed \
- -e 's,libexpat\.la,libexpatw.la,' \
- -e 's,libexpat_la,libexpatw_la,' \
- -i {} + || die
- eautoreconf
- popd >/dev/null
- fi
-}
-
-multilib_src_configure() {
- local myconf="$(use_with test tests) $(use_enable static-libs static) --without-docbook"
-
- mkdir -p "${BUILD_DIR}"w || die
-
- if use unicode; then
- pushd "${BUILD_DIR}"w >/dev/null
- CPPFLAGS="${CPPFLAGS} -DXML_UNICODE" ECONF_SOURCE="${S}"w econf ${myconf}
- popd >/dev/null
- fi
-
- ECONF_SOURCE="${S}" econf ${myconf}
-}
-
-multilib_src_compile() {
- emake
-
- if use unicode; then
- pushd "${BUILD_DIR}"w >/dev/null
- emake -C lib
- popd >/dev/null
- fi
-}
-
-multilib_src_install() {
- emake install DESTDIR="${D}"
-
- if use unicode; then
- pushd "${BUILD_DIR}"w >/dev/null
- emake -C lib install DESTDIR="${D}"
- popd >/dev/null
-
- pushd "${ED}"/usr/$(get_libdir)/pkgconfig >/dev/null
- cp expat.pc expatw.pc
- sed -i -e '/^Libs/s:-lexpat:&w:' expatw.pc || die
- popd >/dev/null
- fi
-}
-
-multilib_src_install_all() {
- einstalldocs
-
- doman doc/xmlwf.1
-
- # Note: Use of HTML_DOCS would add unwanted "doc" subfolder
- docinto html
- dodoc doc/*.{css,html}
-
- if use examples; then
- docinto examples
- dodoc examples/*.c
- docompress -x usr/share/doc/${PF}/examples
- fi
-
- find "${D}" -name '*.la' -type f -delete || die
-}
diff --git a/dev-libs/libdex/libdex-1.2.0.ebuild b/dev-libs/libdex/libdex-1.2.0.ebuild
index 54f2b3531015..1b15ae1bfdfb 100644
--- a/dev-libs/libdex/libdex-1.2.0.ebuild
+++ b/dev-libs/libdex/libdex-1.2.0.ebuild
@@ -3,7 +3,8 @@
EAPI=8
-inherit gnome.org linux-info meson vala virtualx
+PYTHON_COMPAT=( python3_{13..14} )
+inherit gnome.org linux-info meson python-r1 vala virtualx
DESCRIPTION="Dex provides Future-based programming for GLib-based applications"
HOMEPAGE="https://gitlab.gnome.org/GNOME/libdex"
@@ -12,9 +13,10 @@ LICENSE="LGPL-2.1+"
SLOT="0/1"
KEYWORDS="~amd64 ~arm64 ~loong ~x86"
-IUSE="+eventfd gtk-doc +introspection +liburing sysprof test vala"
+IUSE="+eventfd gtk-doc +introspection +liburing python sysprof test vala"
REQUIRED_USE="
gtk-doc? ( introspection )
+ python? ( ${PYTHON_REQUIRED_USE} )
vala? ( introspection )
"
RESTRICT="!test? ( test )"
@@ -23,6 +25,8 @@ RDEPEND="
>=dev-libs/glib-2.87:2
liburing? ( >=sys-libs/liburing-0.7:= )
introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= )
+ python? ( ${PYTHON_DEPS}
+ dev-python/pygobject:3[${PYTHON_USEDEP}] )
sysprof? ( dev-util/sysprof-capture:4 )
elibc_musl? ( sys-libs/libucontext )
"
@@ -32,6 +36,7 @@ BDEPEND="
dev-util/glib-utils
virtual/pkgconfig
gtk-doc? ( dev-util/gi-docgen )
+ test? ( dev-util/gdbus-codegen )
"
pkg_setup() {
@@ -57,11 +62,16 @@ src_configure() {
$(meson_use test tests)
$(meson_feature liburing)
$(meson_feature eventfd)
+ $(meson_use python pygobject)
-Dgdbus=enabled
)
meson_src_configure
}
+src_test() {
+ virtx dbus-run-session meson test -C "${BUILD_DIR}" --print-errorlogs || die
+}
+
src_install() {
meson_src_install
@@ -69,8 +79,9 @@ src_install() {
mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die
mv "${ED}"/usr/share/doc/${PN}-1 "${ED}"/usr/share/gtk-doc/html/ || die
fi
-}
-src_test() {
- virtx dbus-run-session meson test -C "${BUILD_DIR}" --print-errorlogs || die
+ if use python; then
+ python_moduleinto gi/overrides/
+ python_foreach_impl python_optimize
+ fi
}