Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libsignon-glib/
Date: Sun, 20 Dec 2015 18:08:19
Message-Id: 1450634868.ccff46f20332325b8b9aaaff445039f9000767d9.kensington@gentoo
1 commit: ccff46f20332325b8b9aaaff445039f9000767d9
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 20 18:03:51 2015 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 20 18:07:48 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccff46f2
7
8 net-libs/libsignon-glib: version bump
9
10 Package-Manager: portage-2.2.26
11
12 net-libs/libsignon-glib/Manifest | 1 +
13 net-libs/libsignon-glib/libsignon-glib-1.13.ebuild | 78 ++++++++++++++++++++++
14 2 files changed, 79 insertions(+)
15
16 diff --git a/net-libs/libsignon-glib/Manifest b/net-libs/libsignon-glib/Manifest
17 index 48c9856..ef6cea7 100644
18 --- a/net-libs/libsignon-glib/Manifest
19 +++ b/net-libs/libsignon-glib/Manifest
20 @@ -1 +1,2 @@
21 DIST libsignon-glib-1.12.tar.xz 42384 SHA256 bd7e3be291e3173f20dda5376e1387be5d1705b12a00885e93f2cc900a9b4463 SHA512 5d5a3918898dce9d8b10597ac95428bef4753a1c626b6e7fef54e9024327b0849ddb628b25801504c336cf6fe2ebc16e5264bb576ecab16457ccf17918f042cf WHIRLPOOL 5766ad1fe50a6637d2f8e5fe6b092599112c9b6fb56dd44502568d41d61d3208d8d5a00ce1c698848f3fbeb0eb0a1ee82bcbebaff74428a97f634589e56d9def
22 +DIST libsignon-glib-1.13.tar.gz 51601 SHA256 8e0e450e719c16f79d3c3aadb98656ed5967a2f2cd24c1d9cd5747e670a087bc SHA512 aaae6a37a113685eb36ddccd497e387617cf0900506638cbafbac282c4d63ade41f4c915ad6f04214c58af580b70d9062ecf3e1618b6f5fe07dad50c5dc125a6 WHIRLPOOL 8f0d1d51588e42c9fac51883a9ecb08b6ad4949fc8f335c2259f967ea8f3555b04b3ca46f323b20591a2bc85dc1b5bba3968fec1be3e4dfd7a9464e2c5d6880e
23
24 diff --git a/net-libs/libsignon-glib/libsignon-glib-1.13.ebuild b/net-libs/libsignon-glib/libsignon-glib-1.13.ebuild
25 new file mode 100644
26 index 0000000..36b0e0b
27 --- /dev/null
28 +++ b/net-libs/libsignon-glib/libsignon-glib-1.13.ebuild
29 @@ -0,0 +1,78 @@
30 +# Copyright 1999-2015 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=5
35 +
36 +PYTHON_COMPAT=( python{2_7,3_3,3_4} )
37 +inherit autotools python-r1 vcs-snapshot
38 +
39 +DESCRIPTION="GLib binding for the D-Bus API provided by signond"
40 +HOMEPAGE="https://01.org/gsso/"
41 +SRC_URI="https://gitlab.com/accounts-sso/libsignon-glib/repository/archive.tar.gz?ref=VERSION_1.13 -> ${P}.tar.gz"
42 +
43 +SLOT="0"
44 +LICENSE="LGPL-2.1"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="debug doc python test"
47 +
48 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
49 +
50 +RDEPEND="
51 + dev-libs/glib:2
52 + net-libs/signond
53 +"
54 +DEPEND="${RDEPEND}
55 + dev-util/gdbus-codegen
56 + python? ( ${PYTHON_DEPS} )
57 + doc? ( dev-util/gtk-doc )
58 +"
59 +
60 +DOCS=( AUTHORS NEWS README )
61 +
62 +# needs more love
63 +RESTRICT="test"
64 +
65 +src_prepare() {
66 + if ! use doc; then
67 + epatch "${FILESDIR}/${PN}-1.12-doc-disable.patch"
68 + fi
69 +
70 + eautoreconf
71 +}
72 +
73 +src_configure() {
74 + myconfigure() {
75 + local myeconfargs=(
76 + $(use_enable debug)
77 + $(use_enable doc gtk-doc)
78 + $(use_enable python)
79 + $(use_enable test tests)
80 + )
81 +
82 + econf "${myeconfargs[@]}"
83 + }
84 +
85 + if use python; then
86 + python_copy_sources
87 + python_foreach_impl run_in_build_dir myconfigure
88 + else
89 + myconfigure
90 + fi
91 +}
92 +
93 +src_compile() {
94 + # fails to compile with more than one thread
95 + MAKEOPTS="${MAKEOPTS} -j1"
96 + default
97 + if use python; then
98 + python_foreach_impl run_in_build_dir default
99 + fi
100 +}
101 +
102 +src_install() {
103 + default
104 + if use python; then
105 + python_foreach_impl run_in_build_dir default
106 + fi
107 +}