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 72877138334 for ; Sat, 3 Aug 2019 20:36:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C97FEE0871; Sat, 3 Aug 2019 20:36:46 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 A568CE0871 for ; Sat, 3 Aug 2019 20:36:46 +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 CB3FD3493FF for ; Sat, 3 Aug 2019 20:36:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 83FC6758 for ; Sat, 3 Aug 2019 20:36:42 +0000 (UTC) From: "Alexey Shvetsov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexey Shvetsov" Message-ID: <1564864564.b7e3e4dfec7e50e381412c2dcd2d627f59563fc1.alexxy@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libsignon-glib/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libsignon-glib/libsignon-glib-1.14-r1.ebuild X-VCS-Directories: net-libs/libsignon-glib/ X-VCS-Committer: alexxy X-VCS-Committer-Name: Alexey Shvetsov X-VCS-Revision: b7e3e4dfec7e50e381412c2dcd2d627f59563fc1 X-VCS-Branch: master Date: Sat, 3 Aug 2019 20:36:42 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 545a697a-32f3-4f30-9682-47111db0e79c X-Archives-Hash: d0d3ef185f0e8d1288d065872d165da8 commit: b7e3e4dfec7e50e381412c2dcd2d627f59563fc1 Author: Alexey Shvetsov gentoo org> AuthorDate: Sat Aug 3 20:36:04 2019 +0000 Commit: Alexey Shvetsov gentoo org> CommitDate: Sat Aug 3 20:36:04 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7e3e4df net-libs/libsignon-glib: Works with py3.7 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Alexey Shvetsov gentoo.org> .../libsignon-glib/libsignon-glib-1.14-r1.ebuild | 88 ++++++++++++++++++++++ 1 file changed, 88 insertions(+) diff --git a/net-libs/libsignon-glib/libsignon-glib-1.14-r1.ebuild b/net-libs/libsignon-glib/libsignon-glib-1.14-r1.ebuild new file mode 100644 index 00000000000..bd73aa4de09 --- /dev/null +++ b/net-libs/libsignon-glib/libsignon-glib-1.14-r1.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) +inherit autotools python-r1 vcs-snapshot xdg-utils + +DESCRIPTION="GLib binding for the D-Bus API provided by signond" +HOMEPAGE="https://01.org/gsso/" +SRC_URI="https://gitlab.com/accounts-sso/libsignon-glib/repository/archive.tar.gz?ref=VERSION_${PV} -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="debug doc +introspection python test" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} introspection )" + +RDEPEND=" + dev-libs/glib:2 + net-libs/signond + introspection? ( dev-libs/gobject-introspection:= ) + python? ( + ${PYTHON_DEPS} + dev-python/pygobject:3[${PYTHON_USEDEP}] + ) +" +DEPEND="${RDEPEND} + dev-util/glib-utils + dev-util/gdbus-codegen + doc? ( dev-util/gtk-doc ) +" + +DOCS=( AUTHORS NEWS README.md ) + +# needs more love +RESTRICT="test" + +PATCHES=( "${FILESDIR}/${P}-default-opts.patch" ) + +src_prepare() { + default + + if ! use doc; then + eapply "${FILESDIR}/${PN}-1.12-doc-disable.patch" + fi + + eautoreconf +} + +src_configure() { + xdg_environment_reset + + myconfigure() { + local myeconfargs=( + $(use_enable debug) + $(use_enable doc gtk-doc) + $(use_enable introspection) + $(use_enable python) + $(use_enable test tests) + ) + + econf "${myeconfargs[@]}" + } + + if use python; then + python_copy_sources + python_foreach_impl run_in_build_dir myconfigure + else + myconfigure + fi +} + +src_compile() { + default + if use python; then + python_foreach_impl run_in_build_dir default + fi +} + +src_install() { + default + if use python; then + python_foreach_impl run_in_build_dir default + fi + find "${D}" -name '*.la' -delete || die +}