diff options
author | Matt Turner <mattst88@gentoo.org> | 2023-01-02 22:55:04 -0500 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2023-01-03 09:07:47 -0500 |
commit | c05c3ab4183256e5dfbe1e8df0476bcf336e985a (patch) | |
tree | 8f89b5ef524a1e9ddcd605dc1eb0e903c1bea7ef /dev-libs/libgweather | |
parent | dev-libs/glib: Drop old versions (diff) | |
download | gentoo-c05c3ab4183256e5dfbe1e8df0476bcf336e985a.tar.gz gentoo-c05c3ab4183256e5dfbe1e8df0476bcf336e985a.tar.bz2 gentoo-c05c3ab4183256e5dfbe1e8df0476bcf336e985a.zip |
dev-libs/libgweather: Drop old versions
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-libs/libgweather')
-rw-r--r-- | dev-libs/libgweather/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libgweather/files/4.0.0-autoskip-network-test.patch | 29 | ||||
-rw-r--r-- | dev-libs/libgweather/files/4.0.0-vapigen.patch | 29 | ||||
-rw-r--r-- | dev-libs/libgweather/libgweather-4.0.0-r1.ebuild | 81 |
4 files changed, 0 insertions, 140 deletions
diff --git a/dev-libs/libgweather/Manifest b/dev-libs/libgweather/Manifest index 8f4b3928c4f9..83fe75d2fee1 100644 --- a/dev-libs/libgweather/Manifest +++ b/dev-libs/libgweather/Manifest @@ -1,2 +1 @@ -DIST libgweather-4.0.0.tar.xz 4722620 BLAKE2B f2500d065fe9607b740c2f6c87378d5fc86c15951b2880f89c3ac22021d085eed601b645dcf1c9864fe1fa47860aa14ed1ab858263a7634c3b7615231d3ee6d1 SHA512 1441b8996a53b277e9453d3fcf32448800c963f40c32542f9055362bc3188dcf2e706466133d53b3f1b6343dc97b15cf5eabe16b950e7c9451cb79eeef87a9c3 DIST libgweather-4.2.0.tar.xz 2752164 BLAKE2B 9cc51363d6a2a09497269760701e0e0c1beb68c0096262fb6e2885414f838b41c151df7b057def457fdd49f9036d853ab624a9683a5cf57bbdefaed5376fe69f SHA512 cd95c6714575c0afc52455bb99c9116af27716868648debe0e5309904cfaf7516cf2379e415b3d9dd57b5dd223bae8e8acbaf705a3867dad8f75aec22eea908e diff --git a/dev-libs/libgweather/files/4.0.0-autoskip-network-test.patch b/dev-libs/libgweather/files/4.0.0-autoskip-network-test.patch deleted file mode 100644 index 3f27906de012..000000000000 --- a/dev-libs/libgweather/files/4.0.0-autoskip-network-test.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 87c0d202977c212a6b7fd360ceaa295e422de87d Mon Sep 17 00:00:00 2001 -From: Mart Raudsepp <leio@gentoo.org> -Date: Sun, 30 Aug 2020 10:35:13 +0300 -Subject: [PATCH] tests: Skip metar tests when METAR_SOURCES couldn't be - resolved - ---- - libgweather/tests/metar.c | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/libgweather/tests/metar.c b/libgweather/tests/metar.c -index 7d6c7c04..0b3025a2 100644 ---- a/libgweather/tests/metar.c -+++ b/libgweather/tests/metar.c -@@ -142,6 +142,11 @@ test_metar_weather_stations (void) - g_test_message ("SSL/TLS failure, please check your glib-networking installation"); - g_test_failed (); - return; -+ } else if (msg->status_code == SOUP_STATUS_CANT_RESOLVE) { -+ g_test_skip ("Could not resolve " METAR_SOURCES " - network sandboxed?"); -+ g_object_unref (session); -+ g_object_unref (msg); -+ return; - } - #if SOUP_CHECK_VERSION(2, 99, 2) - g_assert_no_error (error); --- -2.34.1 - diff --git a/dev-libs/libgweather/files/4.0.0-vapigen.patch b/dev-libs/libgweather/files/4.0.0-vapigen.patch deleted file mode 100644 index d5c4ca12623e..000000000000 --- a/dev-libs/libgweather/files/4.0.0-vapigen.patch +++ /dev/null @@ -1,29 +0,0 @@ -https://gitlab.gnome.org/GNOME/libgweather/-/merge_requests/176 - -From 98b505675f631c1fabbbcbcee2523f8dde8e7e3d Mon Sep 17 00:00:00 2001 -From: Matt Turner <mattst88@gmail.com> -Date: Sun, 20 Mar 2022 12:19:59 -0700 -Subject: [PATCH] meson: Use dependency() for finding vapigen - -This allows the vapigen binary to be chosen by overriding the VAPIGEN -environment variable. ---- - libgweather/meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/libgweather/meson.build b/libgweather/meson.build -index 08311af4..7148f5ca 100644 ---- a/libgweather/meson.build -+++ b/libgweather/meson.build -@@ -211,7 +211,7 @@ g_ir_scanner = find_program('g-ir-scanner', required: get_option('introspection' - build_gir = get_option('introspection') and g_ir_scanner.found() and not meson.is_cross_build() - - enable_vala = get_option('enable_vala') --vapigen = find_program('vapigen', required: enable_vala == 'true') -+vapigen = dependency('vapigen', required: enable_vala == 'true') - if enable_vala == 'auto' or enable_vala == 'true' - build_vapi = vapigen.found() and get_option('introspection') - if enable_vala == 'true' and not build_vapi --- -2.34.1 - diff --git a/dev-libs/libgweather/libgweather-4.0.0-r1.ebuild b/dev-libs/libgweather/libgweather-4.0.0-r1.ebuild deleted file mode 100644 index 8f5a335babca..000000000000 --- a/dev-libs/libgweather/libgweather-4.0.0-r1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{8..10} ) - -inherit gnome.org gnome2-utils meson python-any-r1 vala xdg - -DESCRIPTION="Location and timezone database and weather-lookup library" -HOMEPAGE="https://wiki.gnome.org/Projects/LibGWeather" - -LICENSE="GPL-2+" -SLOT="4/4-0" # subslot = 4-(libgweather-4 soname suffix) - -IUSE="gtk-doc +introspection test +vala" -RESTRICT="!test? ( test )" -REQUIRED_USE="vala? ( introspection )" - -KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~x86-solaris" - -RDEPEND=" - >=dev-libs/glib-2.68.0:2 - >=net-libs/libsoup-2.44:2.4 - >=dev-libs/libxml2-2.6.0:2 - sci-geosciences/geocode-glib:0 - - introspection? ( >=dev-libs/gobject-introspection-1.54:= ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-util/glib-utils - gtk-doc? ( - >=dev-util/gi-docgen-2021.6 - app-text/docbook-xml-dtd:4.3 - ) - >=sys-devel/gettext-0.19.8 - virtual/pkgconfig - ${PYTHON_DEPS} - $(python_gen_any_dep 'dev-python/pygobject[${PYTHON_USEDEP}]') - vala? ( $(vala_depend) ) -" - -PATCHES=( - "${FILESDIR}"/4.0.0-autoskip-network-test.patch - "${FILESDIR}"/4.0.0-vapigen.patch -) - -python_check_deps() { - has_version -b "dev-python/pygobject[${PYTHON_USEDEP}]" -} - -pkg_setup() { - python-any-r1_pkg_setup -} - -src_prepare() { - default - gnome2_environment_reset - use vala && vala_setup -} - -src_configure() { - local emesonargs=( - $(meson_use vala enable_vala) - $(meson_use gtk-doc gtk_doc) - $(meson_use introspection) - $(meson_use test tests) - -Dsoup2=true - ) - meson_src_configure -} - -pkg_postinst() { - xdg_pkg_postinst - gnome2_schemas_update -} - -pkg_postrm() { - xdg_pkg_postrm - gnome2_schemas_update -} |