From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7E330138334 for ; Tue, 24 Jul 2018 12:20:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DD869E0874; Tue, 24 Jul 2018 12:20:15 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 926F2E0874 for ; Tue, 24 Jul 2018 12:20:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6FEAA335C7A for ; Tue, 24 Jul 2018 12:20:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0C8E538C for ; Tue, 24 Jul 2018 12:20:00 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1532434793.5654b50c536b43ea8fecc2c83376c1c35c170c5e.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/dbus-python/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/dbus-python/Manifest dev-python/dbus-python/dbus-python-1.2.8.ebuild X-VCS-Directories: dev-python/dbus-python/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 5654b50c536b43ea8fecc2c83376c1c35c170c5e X-VCS-Branch: master Date: Tue, 24 Jul 2018 12:20:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: cae1f6b5-76b5-42d2-94f9-249a55350f0e X-Archives-Hash: 2a866ed932cc04438a3e48bb75fc7ec1 commit: 5654b50c536b43ea8fecc2c83376c1c35c170c5e Author: Michał Górny gentoo org> AuthorDate: Tue Jul 24 11:51:49 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Jul 24 12:19:53 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5654b50c dev-python/dbus-python: Bump to 1.2.8 (now using sphinx for docs!) dev-python/dbus-python/Manifest | 1 + dev-python/dbus-python/dbus-python-1.2.8.ebuild | 73 +++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/dev-python/dbus-python/Manifest b/dev-python/dbus-python/Manifest index 88af6bd6923..2bb62ea43d9 100644 --- a/dev-python/dbus-python/Manifest +++ b/dev-python/dbus-python/Manifest @@ -1,3 +1,4 @@ DIST dbus-python-1.2.0.tar.gz 602426 BLAKE2B 86f5ba9283256b83d268ff7c27368e587896d58f87b15aefe9d29a90530ced591a2c6814dd37b91274910ed131fe031846071311bc6cc07c11d1f9cdda9e4602 SHA512 013b23e08fa1ed43f53a756587fefbc9770f7c51e93510e555acbd77230b7200693419bba9a69680d790bbaf123f4a195afa38b3eee1143da950fee0b5130bce DIST dbus-python-1.2.4.tar.gz 612112 BLAKE2B cccd3e2f5d700c0d228e7d21fd85e2307357778371742a7fe26a0e419af41886efebb27a73f642d2ecd4603c79f4afe6e7002af95c831180e0e7844c079b2c8c SHA512 efdd9d96a8b56e813c93208d34777f1ca2db96c076d31f13afbcaec3c7770a16a623d5531fe23443130c555240949802503f171f2064d45eee97546d6251304b DIST dbus-python-1.2.6.tar.gz 778893 BLAKE2B 1587bc9b1795e5c416397468b2061c869d923aea0983e604862342b27d37b946b1fcdd3bf07a612dba30087bdc6a5fa734906188c55756edf38d50eb67b7eef6 SHA512 6f2aec81defd2528d9876ec9a83843f8767275a5d6cf1b2b7b7a094f892f552f9a7b3d7b5006465254d410e503108e10138d7dd4cb3f1a4035d7f8d58c4d0684 +DIST dbus-python-1.2.8.tar.gz 787426 BLAKE2B 186cb8b1b25b2d2d12ab24ed304819ef18f953232d321bd425e7fda632c79a5a94f7b4118cc09f1bb13a0621980af67b4b55599fbbbcaf0e95f7912f4afd0a2e SHA512 6e486fd560944fc1461a27e6798e2c348c7fdf351602c082a0614c0a6822ff147875212bdcb1f818c0ab12470cffc613c0ffbd292cd9d445d3429bee65765905 diff --git a/dev-python/dbus-python/dbus-python-1.2.8.ebuild b/dev-python/dbus-python/dbus-python-1.2.8.ebuild new file mode 100644 index 00000000000..3857687ebfe --- /dev/null +++ b/dev-python/dbus-python/dbus-python-1.2.8.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) +PYTHON_REQ_USE="threads(+)" + +inherit autotools 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/" +SRC_URI="https://dbus.freedesktop.org/releases/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=sys-apps/dbus-1.8:= + >=dev-libs/glib-2.40 + ${PYTHON_DEPS}" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') ) + test? ( dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/tappy[${PYTHON_USEDEP}] )" + +python_check_deps() { + has_version "dev-python/sphinx[${PYTHON_USEDEP}]" +} + +src_prepare() { + default + # Update py-compile, bug 529502. + eautoreconf + python_copy_sources +} + +src_configure() { + use doc && python_setup + local SPHINX_IMPL=${EPYTHON} + + configuring() { + local myconf=( + --disable-documentation + ) + [[ ${EPYTHON} == ${SPHINX_IMPL} ]] && + myconf+=( --enable-documentation ) + + econf "${myconf[@]}" + } + python_foreach_impl run_in_build_dir configuring +} + +src_compile() { + python_foreach_impl run_in_build_dir default +} + +src_test() { + unset DBUS_SESSION_BUS_ADDRESS + python_foreach_impl run_in_build_dir default +} + +src_install() { + python_foreach_impl run_in_build_dir default + find "${D}" -name "*.la" -delete || die + + use examples && dodoc -r examples +}