From c5a9b07f13fb47e9869f0433ea92068acfe47038 Mon Sep 17 00:00:00 2001 From: Crucible Date: Tue, 29 Sep 2026 03:05:07 -0500 Subject: Publish srcux candidate 0000000520-20260929-030310 --- dev-python/dbus-python/Manifest | 1 + dev-python/dbus-python/dbus-python-1.5.0.ebuild | 93 +++++++++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 dev-python/dbus-python/dbus-python-1.5.0.ebuild (limited to 'dev-python/dbus-python') diff --git a/dev-python/dbus-python/Manifest b/dev-python/dbus-python/Manifest index 3ae74e8aa36b..8f8826d66ed8 100644 --- a/dev-python/dbus-python/Manifest +++ b/dev-python/dbus-python/Manifest @@ -1 +1,2 @@ DIST dbus-python-1.4.0.tar.xz 168268 BLAKE2B 17ed4ed1d6f76acf4dc55dc9d281081d0bb412811f0b340edd8c2ef767802dd0386ffa39cdbc7a61870b916b20c89bee0d6a5b6b8e9355c84d2fdc846575e465 SHA512 defd5fba8348635ce52654b7e93e6cacf52966f6facfb7bb04fc77f2f82129e0b7673d4f3d483ef3321985172987d8c3265b27b9200c68c39c729567ffa21456 +DIST dbus_python-1.5.0.tar.gz 203989 BLAKE2B 1c11bfc701acbe80573117c69f221b17e95210a8711e2cc6d36ce3f441a30953fc3ea10ce384ddce82f06d74b4294b6c7608e4ec46a02aca28467dfa23a69ea6 SHA512 f2de006030df74490df808ed5fe3041a1a0a97ff3ee3d38ecf9e8bd271487d7eca6c1dcd134c646aad0dd4bab7329d7b308ed3045d7e7d8fb3a5e36e1c5507ce diff --git a/dev-python/dbus-python/dbus-python-1.5.0.ebuild b/dev-python/dbus-python/dbus-python-1.5.0.ebuild new file mode 100644 index 000000000000..f79c626e941c --- /dev/null +++ b/dev-python/dbus-python/dbus-python-1.5.0.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{13..14} ) +PYTHON_REQ_USE="threads(+)" + +inherit meson pypi python-r1 + +DESCRIPTION="Python bindings for the D-Bus messagebus" +HOMEPAGE=" + https://www.freedesktop.org/wiki/Software/DBusBindings/ + https://dbus.freedesktop.org/doc/dbus-python/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="doc examples test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +DEPEND=" + ${PYTHON_DEPS} + >=sys-apps/dbus-1.8 + >=dev-libs/glib-2.40 +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + virtual/pkgconfig + doc? ( + $(python_gen_any_dep ' + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] + ') + ) + test? ( + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/tap-py[${PYTHON_USEDEP}] + ) +" + +python_check_deps() { + python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" \ + "dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]" +} + +src_configure() { + use doc && python_setup + local SPHINX_IMPL=${EPYTHON} + + python_configure() { + local emesonargs=( + -Ddoc=disabled + $(meson_feature test tests) + ) + if use doc && [[ ${EPYTHON} == ${SPHINX_IMPL} ]]; then + emesonargs+=( + -Ddoc=enabled + ) + fi + + meson_src_configure + } + + python_foreach_impl python_configure +} + +src_compile() { + python_foreach_impl meson_src_compile +} + +src_test() { + unset DBUS_SESSION_BUS_ADDRESS + python_foreach_impl meson_src_test +} + +src_install() { + python_install() { + meson_src_install + python_optimize + } + + python_foreach_impl python_install + + if use doc; then + mv "${ED}"/usr/share/doc/dbus-python{,-${PV}} || die + fi + use examples && dodoc -r examples +} -- cgit v1.3