Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/revelation/
Date: Mon, 02 May 2022 01:02:53
Message-Id: 1651453012.35891ce3b0970a37ac5ae46297717fb92ab92331.sam@gentoo
1 commit: 35891ce3b0970a37ac5ae46297717fb92ab92331
2 Author: Jay Faulkner <jay <AT> jvf <DOT> cc>
3 AuthorDate: Sun May 1 23:59:46 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon May 2 00:56:52 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35891ce3
7
8 x11-misc/revelation: version bump to 0.55
9
10 - Updated to EAPI 8
11 - New version includes meson fix, no need for patch
12 - New dependency: defusedxml, per
13 https://github.com/mikelolasagasti/revelation/commit/edb67aa58d42a2075d2d8c132817eacfdb39a916
14
15 Package-Manager: Portage-3.0.30, Repoman-3.0.3
16 Signed-off-by: Jay Faulkner <jay <AT> jvf.cc>
17 Closes: https://github.com/gentoo/gentoo/pull/25185
18 Signed-off-by: Sam James <sam <AT> gentoo.org>
19
20 x11-misc/revelation/Manifest | 1 +
21 x11-misc/revelation/revelation-0.5.5.ebuild | 56 +++++++++++++++++++++++++++++
22 2 files changed, 57 insertions(+)
23
24 diff --git a/x11-misc/revelation/Manifest b/x11-misc/revelation/Manifest
25 index 9780704989a4..62230acdf449 100644
26 --- a/x11-misc/revelation/Manifest
27 +++ b/x11-misc/revelation/Manifest
28 @@ -1 +1,2 @@
29 DIST revelation-0.5.4.tar.xz 282600 BLAKE2B 519b01252b82acf0e927a9d19783792f83822cc1f1a4c3be4af3678d5446f8012d993e12397f44aae616aca88257970de7391a1269e24cc1ebc08275d0c962ed SHA512 bd536f6c03e443d91a20606765b661dc54f3e4c1f45d060d3829a894a31e553a61785bb31d7508267abd66e057fc1d93f1716ed1b553566d92a2580ad696606f
30 +DIST revelation-0.5.5.tar.xz 282252 BLAKE2B 7c4c430d24d79b820139dd2b4989dc2d78c967b16c864149d2aafa9e91ddc26a3351f42b5782812202f77a36529c46d9515cc1aea73346c7e8e017079b810a7d SHA512 17bfeda87e27c00f12bc068446d053cee394282e5eabea6d075ac262b5f400f31520d2f9b29f99097d1d6ad72bbcf5d2d9d4da2a0eba2806ff0adbf1bb47bb0f
31
32 diff --git a/x11-misc/revelation/revelation-0.5.5.ebuild b/x11-misc/revelation/revelation-0.5.5.ebuild
33 new file mode 100644
34 index 000000000000..372a596dec9d
35 --- /dev/null
36 +++ b/x11-misc/revelation/revelation-0.5.5.ebuild
37 @@ -0,0 +1,56 @@
38 +# Copyright 1999-2022 Gentoo Authors
39 +# Distributed under the terms of the GNU General Public License v2
40 +
41 +EAPI=8
42 +
43 +PYTHON_COMPAT=( python3_{8..9} )
44 +
45 +inherit gnome2-utils python-single-r1 meson xdg
46 +
47 +DESCRIPTION="A password manager for GNOME"
48 +HOMEPAGE="https://revelation.olasagasti.info/ https://github.com/mikelolasagasti/revelation"
49 +SRC_URI="https://github.com/mikelolasagasti/revelation/releases/download/${P}/${P}.tar.xz"
50 +
51 +LICENSE="GPL-2+"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~x86"
54 +
55 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
56 +
57 +# Upstream does not provide any test suite.
58 +RESTRICT="test"
59 +
60 +RDEPEND="${PYTHON_DEPS}
61 + $(python_gen_cond_dep '
62 + dev-python/pycryptodome[${PYTHON_USEDEP}]
63 + dev-python/pygobject[${PYTHON_USEDEP}]
64 + dev-libs/libpwquality[python,${PYTHON_USEDEP}]
65 + ')
66 + x11-libs/gtk+:3
67 + dev-libs/glib
68 + dev-libs/gobject-introspection
69 +"
70 +
71 +DEPEND="${RDEPEND}"
72 +
73 +src_prepare() {
74 + find -name '*.py' -exec \
75 + sed -i -e 's:Cryptodome:Crypto:' meson.build {} + || die
76 + default
77 +}
78 +
79 +src_install() {
80 + meson_src_install
81 + python_fix_shebang "${ED}"
82 + python_optimize
83 +}
84 +
85 +pkg_postinst() {
86 + xdg_pkg_postinst
87 + gnome2_schemas_update
88 +}
89 +
90 +pkg_postrm() {
91 + xdg_pkg_postrm
92 + gnome2_schemas_update
93 +}