1 |
commit: 2dd75d5f604872965c9d811778ac03c0676f38d2 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 15 15:28:05 2021 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 15 15:28:05 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dd75d5f |
7 |
|
8 |
dev-libs/libgweather: Drop old versions |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
dev-libs/libgweather/Manifest | 1 - |
13 |
.../files/3.36.1-autoskip-network-test.patch | 30 ---------- |
14 |
dev-libs/libgweather/libgweather-3.36.1.ebuild | 70 ---------------------- |
15 |
3 files changed, 101 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/libgweather/Manifest b/dev-libs/libgweather/Manifest |
18 |
index c0343643d81..b3dfc073a4f 100644 |
19 |
--- a/dev-libs/libgweather/Manifest |
20 |
+++ b/dev-libs/libgweather/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
-DIST libgweather-3.36.1.tar.xz 2702144 BLAKE2B bd867461b64ef81607695ae1a3796d2b096129a9a60721c5fcb20d8c35859c0b76a985e9393c23b311f7c0fdec3e691618eab83a826b483c427287906d575251 SHA512 6c7090b0b6dfac61e73a398d34329cd706080a007694ceb3d47700b4f444982f8ca989dd6dfaefe85b79ffd5af9c423be4bf1bd8491ac0ba6bd15c150d97b26d |
23 |
DIST libgweather-3.36.2.tar.xz 2707976 BLAKE2B 0051e1fe9dccef44ff6fe46bdf8e6b23c9a772ed000daf3a0349e064819d0f17f3f7d902f9c860f0d186a67fc6c5a27b31a8b20b4fec7e738221a58830216ca5 SHA512 58012931382d87b10ace79f6e2337a9244a0877a8bc241bad5da6368f6d8eaa815f88bee25cfd49b12baa4b2399a407b905f1cf0afb98f649fda6b0dc9f61f01 |
24 |
DIST libgweather-40.0.tar.xz 2704404 BLAKE2B 27bc69c350ae91a07307d75b5ea1d03bb251f51bf87d5d54861965b61d7ed825ab708466cbe9d961c4f544b8b17ca6ed37b723c003ce2c1ef020270d6812c61d SHA512 72e295246bf03550039a70bd4bf5b8f06357a6b70e04308c197fba309e406d410a97d128d849d97a29a6a114faa1ef5452e6632870b7ea45223a0c305c228cc1 |
25 |
|
26 |
diff --git a/dev-libs/libgweather/files/3.36.1-autoskip-network-test.patch b/dev-libs/libgweather/files/3.36.1-autoskip-network-test.patch |
27 |
deleted file mode 100644 |
28 |
index d6b3d2f6131..00000000000 |
29 |
--- a/dev-libs/libgweather/files/3.36.1-autoskip-network-test.patch |
30 |
+++ /dev/null |
31 |
@@ -1,30 +0,0 @@ |
32 |
-From f2bacee194ce58aabf5a08752556177bda6ab570 Mon Sep 17 00:00:00 2001 |
33 |
-From: Mart Raudsepp <leio@g.o> |
34 |
-Date: Sun, 30 Aug 2020 10:35:13 +0300 |
35 |
-Subject: [PATCH] tests: Skip metar tests when METAR_SOURCES couldn't be |
36 |
- resolved |
37 |
- |
38 |
---- |
39 |
- libgweather/test_libgweather.c | 6 ++++++ |
40 |
- 1 file changed, 6 insertions(+) |
41 |
- |
42 |
-diff --git a/libgweather/test_libgweather.c b/libgweather/test_libgweather.c |
43 |
-index 8a21911..ef401f8 100644 |
44 |
---- a/libgweather/test_libgweather.c |
45 |
-+++ b/libgweather/test_libgweather.c |
46 |
-@@ -419,6 +419,12 @@ test_metar_weather_stations (void) |
47 |
- msg = soup_message_new ("GET", METAR_SOURCES); |
48 |
- session = soup_session_new (); |
49 |
- soup_session_send_message (session, msg); |
50 |
-+ if (msg->status_code == SOUP_STATUS_CANT_RESOLVE) { |
51 |
-+ g_test_skip ("Could not resolve " METAR_SOURCES " - network sandboxed?"); |
52 |
-+ g_object_unref (session); |
53 |
-+ g_object_unref (msg); |
54 |
-+ return; |
55 |
-+ } |
56 |
- g_assert (SOUP_STATUS_IS_SUCCESSFUL (msg->status_code)); |
57 |
- g_object_unref (session); |
58 |
- g_assert_nonnull (msg->response_body); |
59 |
--- |
60 |
-2.20.1 |
61 |
- |
62 |
|
63 |
diff --git a/dev-libs/libgweather/libgweather-3.36.1.ebuild b/dev-libs/libgweather/libgweather-3.36.1.ebuild |
64 |
deleted file mode 100644 |
65 |
index 78a29db1ef2..00000000000 |
66 |
--- a/dev-libs/libgweather/libgweather-3.36.1.ebuild |
67 |
+++ /dev/null |
68 |
@@ -1,70 +0,0 @@ |
69 |
-# Copyright 1999-2021 Gentoo Authors |
70 |
-# Distributed under the terms of the GNU General Public License v2 |
71 |
- |
72 |
-EAPI=7 |
73 |
-VALA_USE_DEPEND="vapigen" |
74 |
- |
75 |
-inherit gnome.org gnome2-utils meson vala xdg |
76 |
- |
77 |
-DESCRIPTION="Location and timezone database and weather-lookup library" |
78 |
-HOMEPAGE="https://wiki.gnome.org/Projects/LibGWeather" |
79 |
- |
80 |
-LICENSE="GPL-2+" |
81 |
-SLOT="2/3-16-2" # subslot = 3-(libgweather-3 soname suffix) w/ temporary -2 suffix for silent ABI break after 3.28 without soname bump as per distro-list |
82 |
- |
83 |
-IUSE="glade gtk-doc +introspection +vala" |
84 |
-REQUIRED_USE="vala? ( introspection )" |
85 |
- |
86 |
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x86-solaris" |
87 |
- |
88 |
-RDEPEND=" |
89 |
- >=dev-libs/glib-2.44.0:2 |
90 |
- >=x11-libs/gtk+-3.13.5:3[introspection?] |
91 |
- >=net-libs/libsoup-2.44:2.4 |
92 |
- >=dev-libs/libxml2-2.6.0:2 |
93 |
- sci-geosciences/geocode-glib |
94 |
- >=sys-libs/timezone-data-2010k |
95 |
- |
96 |
- glade? ( >=dev-util/glade-3.16:3.10 ) |
97 |
- introspection? ( >=dev-libs/gobject-introspection-1.54:= ) |
98 |
-" |
99 |
-DEPEND="${RDEPEND}" |
100 |
-BDEPEND=" |
101 |
- dev-util/glib-utils |
102 |
- gtk-doc? ( >=dev-util/gtk-doc-1.11 |
103 |
- app-text/docbook-xml-dtd:4.3 ) |
104 |
- >=sys-devel/gettext-0.19.8 |
105 |
- virtual/pkgconfig |
106 |
- $(vala_depend) |
107 |
-" |
108 |
- |
109 |
-PATCHES=( |
110 |
- "${FILESDIR}"/3.32.1-meson-tweaks.patch # Provide introspection optionality and don't build tests that aren't ran automatically |
111 |
- "${FILESDIR}"/3.36.1-tests-locale.patch # Don't fail tests when a locale is not present, https://gitlab.gnome.org/GNOME/libgweather/-/merge_requests/58 |
112 |
- "${FILESDIR}"/3.36.1-autoskip-network-test.patch |
113 |
-) |
114 |
- |
115 |
-src_prepare() { |
116 |
- xdg_src_prepare |
117 |
- vala_src_prepare |
118 |
-} |
119 |
- |
120 |
-src_configure() { |
121 |
- local emesonargs=( |
122 |
- $(meson_use glade glade_catalog) |
123 |
- $(meson_use vala enable_vala) |
124 |
- $(meson_use gtk-doc gtk_doc) |
125 |
- $(meson_use introspection) |
126 |
- ) |
127 |
- meson_src_configure |
128 |
-} |
129 |
- |
130 |
-pkg_postinst() { |
131 |
- xdg_pkg_postinst |
132 |
- gnome2_schemas_update |
133 |
-} |
134 |
- |
135 |
-pkg_postrm() { |
136 |
- xdg_pkg_postrm |
137 |
- gnome2_schemas_update |
138 |
-} |