public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libsignon-glib/
Date: Thu,  4 Aug 2016 20:03:20 +0000 (UTC)	[thread overview]
Message-ID: <1470340989.fa6edab6ffc6a5e964e6fa3e6b83c7bef51b95ef.kensington@gentoo> (raw)

commit:     fa6edab6ffc6a5e964e6fa3e6b83c7bef51b95ef
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  4 20:01:57 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Aug  4 20:03:09 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa6edab6

net-libs/libsignon-glib: revision bump with various fixes

This introduces an introspection USE flag which eliminates an automagic
dependency.

The python USE flag requires the new introspection USE flag to be enabled,
as they are introspection bindings and build but do not run without the backing
introspection files.

This revision bump also corrects the python dependencies, prunes an unused
libtool file, and switches to EAPI 6.

Package-Manager: portage-2.3.0

 .../libsignon-glib/libsignon-glib-1.13-r1.ebuild   | 88 ++++++++++++++++++++++
 1 file changed, 88 insertions(+)

diff --git a/net-libs/libsignon-glib/libsignon-glib-1.13-r1.ebuild b/net-libs/libsignon-glib/libsignon-glib-1.13-r1.ebuild
new file mode 100644
index 0000000..0ca692f
--- /dev/null
+++ b/net-libs/libsignon-glib/libsignon-glib-1.13-r1.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+inherit autotools eutils 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_1.13 -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc +introspection python test"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE} python? ( 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/gdbus-codegen
+	doc? ( dev-util/gtk-doc )
+"
+
+DOCS=( AUTHORS NEWS README )
+
+# needs more love
+RESTRICT="test"
+
+src_prepare() {
+	default
+
+	if ! use doc; then
+		epatch "${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() {
+	# fails to compile with more than one thread
+	MAKEOPTS="${MAKEOPTS} -j1"
+	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
+	prune_libtool_files
+}


             reply	other threads:[~2016-08-04 20:03 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-04 20:03 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-20 12:57 [gentoo-commits] repo/gentoo:master commit in: net-libs/libsignon-glib/ Andreas Sturmlechner
2022-08-01  2:14 Sam James
2021-10-02  9:52 Andreas Sturmlechner
2021-09-30 17:24 Andreas Sturmlechner
2021-09-12 11:28 Yixun Lan
2021-02-12 12:01 Andreas Sturmlechner
2020-10-27  0:30 Andreas Sturmlechner
2020-09-06 16:46 Andreas Sturmlechner
2019-09-02 13:24 Agostino Sarubbo
2019-09-02 10:15 Agostino Sarubbo
2019-09-01 22:18 Aaron Bauman
2019-08-04 22:07 Andreas Sturmlechner
2019-08-04 12:17 Michael Palimaka
2019-08-04 11:51 Michael Palimaka
2019-08-03 20:36 Alexey Shvetsov
2018-10-09  8:04 Andreas Sturmlechner
2018-10-09  8:04 Andreas Sturmlechner
2018-01-27  0:28 Michael Palimaka
2017-12-25  2:23 Michael Palimaka
2017-12-25  2:23 Michael Palimaka
2017-12-25  2:23 Michael Palimaka
2017-10-28 20:52 Andreas Sturmlechner
2016-08-18 13:09 Michael Palimaka
2016-08-18 13:09 Michael Palimaka
2016-07-06 13:52 Michael Palimaka
2016-03-27 17:44 David Seifert
2016-03-27 17:10 Michael Palimaka
2015-12-20 18:08 Michael Palimaka
2015-09-25 19:22 Michael Palimaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1470340989.fa6edab6ffc6a5e964e6fa3e6b83c7bef51b95ef.kensington@gentoo \
    --to=kensington@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox