Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libsignon-glib/, net-libs/libsignon-glib/files/
Date: Sat, 07 Sep 2019 11:58:16
Message-Id: 1567857476.2c92c882e9de1f3b789cdc643fe2a8ab8dd496ab.asturm@gentoo
1 commit: 2c92c882e9de1f3b789cdc643fe2a8ab8dd496ab
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 7 11:53:14 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 7 11:57:56 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c92c882
7
8 net-libs/libsignon-glib: Drop 1.14
9
10 Package-Manager: Portage-2.3.75, Repoman-2.3.17
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 net-libs/libsignon-glib/Manifest | 1 -
14 .../files/libsignon-glib-1.12-doc-disable.patch | 25 ------
15 .../files/libsignon-glib-1.14-default-opts.patch | 45 -----------
16 net-libs/libsignon-glib/libsignon-glib-1.14.ebuild | 88 ----------------------
17 4 files changed, 159 deletions(-)
18
19 diff --git a/net-libs/libsignon-glib/Manifest b/net-libs/libsignon-glib/Manifest
20 index eb7a3d38b72..1e8120260bb 100644
21 --- a/net-libs/libsignon-glib/Manifest
22 +++ b/net-libs/libsignon-glib/Manifest
23 @@ -1,2 +1 @@
24 -DIST libsignon-glib-1.14.tar.gz 54019 BLAKE2B 9ffdb96a374ef0848c1b70cb369a533ea826b24856a32b4b454a0fd8982533041fcc88382fdf1eee6857aa36ec8d076885fc769a058e148e91da54dbddaf7125 SHA512 c2277933d6ec2c3288ce510c853da7719116dac15d60c7114fcdcb87d04e7f70390d066938dea6aa0f819fbd70158fb875c5be5684c47fd27c0b6c55e9467a1d
25 DIST libsignon-glib-2.1.tar.gz 52440 BLAKE2B edc27f5f09c3f6d05f32ff6b560934dc003072940b44932fd90021511510fb56beaec7f25dd051b3c1d12d10942f292cc906a9fc4b74bb7f2daf8b885f15e644 SHA512 45d8e26263a16b98517cda0fff8e46fb1ffcc4bb833a6364454f120eb9819b48ee04bdb338bf5e9f0b0fe344af5940f35ed56f0765ca3605dead5b3755657dcf
26
27 diff --git a/net-libs/libsignon-glib/files/libsignon-glib-1.12-doc-disable.patch b/net-libs/libsignon-glib/files/libsignon-glib-1.12-doc-disable.patch
28 deleted file mode 100644
29 index 1ef64e60416..00000000000
30 --- a/net-libs/libsignon-glib/files/libsignon-glib-1.12-doc-disable.patch
31 +++ /dev/null
32 @@ -1,25 +0,0 @@
33 -diff -Naur libsignon-glib-1.12.old/configure.ac libsignon-glib-1.12/configure.ac
34 ---- libsignon-glib-1.12.old/configure.ac 2014-12-09 11:52:37.000000000 +0300
35 -+++ libsignon-glib-1.12/configure.ac 2015-08-27 13:00:54.501123031 +0300
36 -@@ -100,9 +100,6 @@
37 - Makefile
38 - libsignon-glib/Makefile
39 - libsignon-glib.pc
40 -- docs/Makefile
41 -- docs/reference/Makefile
42 -- docs/reference/version.xml
43 - tests/Makefile
44 - pygobject/Makefile
45 - ])
46 -diff -Naur libsignon-glib-1.12.old/Makefile.am libsignon-glib-1.12/Makefile.am
47 ---- libsignon-glib-1.12.old/Makefile.am 2014-12-09 11:52:37.000000000 +0300
48 -+++ libsignon-glib-1.12/Makefile.am 2015-08-27 13:00:42.101237854 +0300
49 -@@ -2,7 +2,7 @@
50 - DISTCHECK_CONFIGURE_FLAGS = \
51 - --enable-gtk-doc \
52 - --enable-introspection=yes
53 --SUBDIRS = libsignon-glib docs
54 -+SUBDIRS = libsignon-glib
55 -
56 - if ENABLE_PYTHON
57 - SUBDIRS += pygobject
58
59 diff --git a/net-libs/libsignon-glib/files/libsignon-glib-1.14-default-opts.patch b/net-libs/libsignon-glib/files/libsignon-glib-1.14-default-opts.patch
60 deleted file mode 100644
61 index 5dcf8cc4569..00000000000
62 --- a/net-libs/libsignon-glib/files/libsignon-glib-1.14-default-opts.patch
63 +++ /dev/null
64 @@ -1,45 +0,0 @@
65 -From 4982923fdc7be9978d3b089fb443bcb0e20243eb Mon Sep 17 00:00:00 2001
66 -From: Alberto Mardegan <alberto.mardegan@×××××××××.com>
67 -Date: Tue, 21 Jun 2016 13:35:03 +0300
68 -Subject: [PATCH] Build: fix value of default options in configure.ac
69 -
70 -GLib assertions where always disabled, even if the --disable-*
71 -parameters where not passed to configure.ac.
72 -
73 -Quick reference:
74 -http://www.robster.org.uk/2011/02/07/autofoo-ac_arg_enable/
75 ----
76 - configure.ac | 9 ++++++---
77 - 1 file changed, 6 insertions(+), 3 deletions(-)
78 -
79 -diff --git a/configure.ac b/configure.ac
80 -index 364f9f2..3cde223 100644
81 ---- a/configure.ac
82 -+++ b/configure.ac
83 -@@ -63,17 +63,20 @@ AM_CONDITIONAL([ENABLE_TESTS], [test "x$have_check" = "xyes"])
84 - GTK_DOC_CHECK([1.14], [--flavour no-tmpl])
85 -
86 - AC_ARG_ENABLE([cast-checks],
87 -- [AS_HELP_STRING([--disable-cast-checks], [compile with GLib cast checks disabled])])
88 -+ [AS_HELP_STRING([--disable-cast-checks], [compile with GLib cast checks disabled])],
89 -+ [], [enable_cast_checks=yes])
90 - AS_IF([test "x$enable_cast_checks" = "xno"],
91 - [CFLAGS="$CFLAGS -DG_DISABLE_CAST_CHECKS"])
92 -
93 - AC_ARG_ENABLE([asserts],
94 -- [AS_HELP_STRING([--disable-asserts], [compile with GLib assertions disabled])])
95 -+ [AS_HELP_STRING([--disable-asserts], [compile with GLib assertions disabled])],
96 -+ [], [enable_asserts=yes])
97 - AS_IF([test "x$enable_asserts" = "xno"],
98 - [CFLAGS="$CFLAGS -DG_DISABLE_ASSERTS"])
99 -
100 - AC_ARG_ENABLE([checks],
101 -- [AS_HELP_STRING([--disable-checks], [compile with GLib checks disabled])])
102 -+ [AS_HELP_STRING([--disable-checks], [compile with GLib checks disabled])],
103 -+ [], [enable_checks=yes])
104 - AS_IF([test "x$checks" = "xno"],
105 - [CFLAGS="$CFLAGS -DG_DISABLE_CHECKS"])
106 -
107 ---
108 -libgit2 0.26.0
109 -
110
111 diff --git a/net-libs/libsignon-glib/libsignon-glib-1.14.ebuild b/net-libs/libsignon-glib/libsignon-glib-1.14.ebuild
112 deleted file mode 100644
113 index 7d1ab6d192a..00000000000
114 --- a/net-libs/libsignon-glib/libsignon-glib-1.14.ebuild
115 +++ /dev/null
116 @@ -1,88 +0,0 @@
117 -# Copyright 1999-2019 Gentoo Authors
118 -# Distributed under the terms of the GNU General Public License v2
119 -
120 -EAPI=6
121 -
122 -PYTHON_COMPAT=( python{2_7,3_5,3_6} )
123 -inherit autotools python-r1 vcs-snapshot xdg-utils
124 -
125 -DESCRIPTION="GLib binding for the D-Bus API provided by signond"
126 -HOMEPAGE="https://01.org/gsso/"
127 -SRC_URI="https://gitlab.com/accounts-sso/libsignon-glib/repository/archive.tar.gz?ref=VERSION_${PV} -> ${P}.tar.gz"
128 -
129 -LICENSE="LGPL-2.1"
130 -SLOT="0"
131 -KEYWORDS="amd64 arm64 x86"
132 -IUSE="debug doc +introspection python test"
133 -
134 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} introspection )"
135 -
136 -RDEPEND="
137 - dev-libs/glib:2
138 - net-libs/signond
139 - introspection? ( dev-libs/gobject-introspection:= )
140 - python? (
141 - ${PYTHON_DEPS}
142 - dev-python/pygobject:3[${PYTHON_USEDEP}]
143 - )
144 -"
145 -DEPEND="${RDEPEND}
146 - dev-util/glib-utils
147 - dev-util/gdbus-codegen
148 - doc? ( dev-util/gtk-doc )
149 -"
150 -
151 -DOCS=( AUTHORS NEWS README.md )
152 -
153 -# needs more love
154 -RESTRICT="test"
155 -
156 -PATCHES=( "${FILESDIR}/${P}-default-opts.patch" )
157 -
158 -src_prepare() {
159 - default
160 -
161 - if ! use doc; then
162 - eapply "${FILESDIR}/${PN}-1.12-doc-disable.patch"
163 - fi
164 -
165 - eautoreconf
166 -}
167 -
168 -src_configure() {
169 - xdg_environment_reset
170 -
171 - myconfigure() {
172 - local myeconfargs=(
173 - $(use_enable debug)
174 - $(use_enable doc gtk-doc)
175 - $(use_enable introspection)
176 - $(use_enable python)
177 - $(use_enable test tests)
178 - )
179 -
180 - econf "${myeconfargs[@]}"
181 - }
182 -
183 - if use python; then
184 - python_copy_sources
185 - python_foreach_impl run_in_build_dir myconfigure
186 - else
187 - myconfigure
188 - fi
189 -}
190 -
191 -src_compile() {
192 - default
193 - if use python; then
194 - python_foreach_impl run_in_build_dir default
195 - fi
196 -}
197 -
198 -src_install() {
199 - default
200 - if use python; then
201 - python_foreach_impl run_in_build_dir default
202 - fi
203 - find "${D}" -name '*.la' -delete || die
204 -}