Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/rest/, profiles/
Date: Wed, 28 Sep 2022 00:30:53
Message-Id: 1664325039.3cc70d97e21976a8fa5cae8ee9d1988df0cf739b.mattst88@gentoo
1 commit: 3cc70d97e21976a8fa5cae8ee9d1988df0cf739b
2 Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
3 AuthorDate: Sat Sep 24 18:46:13 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 28 00:30:39 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cc70d97
7
8 net-libs/rest: Version bump to 0.9.1
9
10 Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de>
11 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
12
13 net-libs/rest/Manifest | 1 +
14 net-libs/rest/rest-0.9.1.ebuild | 59 +++++++++++++++++++++++++++++++++++++++++
15 profiles/package.mask | 1 +
16 3 files changed, 61 insertions(+)
17
18 diff --git a/net-libs/rest/Manifest b/net-libs/rest/Manifest
19 index 5b3ce5ca09e0..6331c5e23274 100644
20 --- a/net-libs/rest/Manifest
21 +++ b/net-libs/rest/Manifest
22 @@ -1 +1,2 @@
23 DIST rest-0.8.1.tar.xz 333376 BLAKE2B 595576f29ebe35121b7a896086abd3411ac3b2d324d2e50d646274c4060cfaffbd3b701eaae80afdc60d52c77bb5076135064648536378f2562f27c79c5738b7 SHA512 824a341db3827e4360abe03e33735918c68913c70d797699ef74271080a1985872006ec70fd994dc8fa3fbfef417e6fe979883c11286512d0ce623b8368e40c3
24 +DIST rest-0.9.1.tar.xz 71136 BLAKE2B 696a43db8a05d90cd2cb86cb2ffe22a817c7b0565c1e90e2508b0dffd3824fa46afef78c039d8911dc50f93c0afe1efbc783676c677b71bb7a2b5ad9ac5a1a26 SHA512 7fb219f571aec2b8d09d71e257e2b230bfb5c862e7e425fd540c96f6e2a22457df7d3df32838d71beec00ba54c7adbd0301d744bb0497c46b3a1413949304462
25
26 diff --git a/net-libs/rest/rest-0.9.1.ebuild b/net-libs/rest/rest-0.9.1.ebuild
27 new file mode 100644
28 index 000000000000..dfbc3e3bca1f
29 --- /dev/null
30 +++ b/net-libs/rest/rest-0.9.1.ebuild
31 @@ -0,0 +1,59 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +inherit gnome.org meson vala
38 +
39 +DESCRIPTION="Helper library for RESTful services"
40 +HOMEPAGE="https://wiki.gnome.org/Projects/Librest"
41 +
42 +LICENSE="LGPL-2.1"
43 +SLOT="1.0" # librest_soversion
44 +KEYWORDS="~amd64"
45 +IUSE="gtk-doc +introspection test vala"
46 +REQUIRED_USE="
47 + gtk-doc? ( introspection )
48 + vala? ( introspection )
49 +"
50 +RESTRICT="!test? ( test )"
51 +
52 +RDEPEND="
53 + >=dev-libs/glib-2.44.0:2
54 + >=net-libs/libsoup-2.99.2:3.0
55 + dev-libs/json-glib:0[introspection?]
56 + dev-libs/libxml2:2
57 + app-misc/ca-certificates
58 + introspection? ( >=dev-libs/gobject-introspection-1.74.0:= )
59 +"
60 +DEPEND="${RDEPEND}"
61 +BDEPEND="
62 + dev-util/glib-utils
63 + gtk-doc? ( >=dev-util/gi-docgen-2021.6 )
64 + vala? ( $(vala_depend) )
65 +"
66 +
67 +src_prepare() {
68 + default
69 + vala_setup
70 +
71 + # The only two tests from the rest-extras suite (flickr and lastfm) require
72 + # network access
73 + if has network-sandbox ${FEATURES}; then
74 + sed -i -e '/flickr/d' -e '/lastfm/d' tests/meson.build
75 + fi
76 +}
77 +
78 +src_configure() {
79 + local emesonargs=(
80 + -Dca_certificates=true
81 + -Dca_certificates_path="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt
82 + $(meson_use introspection)
83 + $(meson_use vala vapi)
84 + -Dexamples=false
85 + $(meson_use gtk-doc gtk_doc)
86 + -Dsoup2=false
87 + $(meson_use test tests)
88 + )
89 + meson_src_configure
90 +}
91
92 diff --git a/profiles/package.mask b/profiles/package.mask
93 index c6e9d675e9b2..073599afc688 100644
94 --- a/profiles/package.mask
95 +++ b/profiles/package.mask
96 @@ -558,6 +558,7 @@ sys-devel/automake:1.11
97 # Migration to it is expected for GNOME 42, NOT to be unmasked with GNOME 41.
98 >=gnome-extra/gnome-calculator-43
99 net-libs/libsoup:3.0
100 +net-libs/rest:1.0
101 net-libs/webkit-gtk:4.1
102 sci-geosciences/geocode-glib:2