Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/revelation/
Date: Wed, 07 Oct 2020 07:41:29
Message-Id: 1602056425.ff3bd31b2d8f7d8e7ad23681e3f2766f53d369f3.juippis@gentoo
1 commit: ff3bd31b2d8f7d8e7ad23681e3f2766f53d369f3
2 Author: Richard Fröhning <misanthropos <AT> gmx <DOT> net>
3 AuthorDate: Wed Oct 7 07:40:25 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 7 07:40:25 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff3bd31b
7
8 x11-misc/revelation: re-add last-rited package
9
10 A password manager for GNOME
11 - new maintainer,
12 - ported to meson, hence dropped KEYWORDS,
13 - python3 support.
14
15 Signed-off-by: Richard Fröhning <misanthropos <AT> gmx.net>
16 Closes: https://github.com/gentoo/gentoo/pull/17750
17 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
18
19 x11-misc/revelation/Manifest | 1 +
20 x11-misc/revelation/metadata.xml | 12 +++++++
21 x11-misc/revelation/revelation-0.5.4.ebuild | 50 +++++++++++++++++++++++++++++
22 3 files changed, 63 insertions(+)
23
24 diff --git a/x11-misc/revelation/Manifest b/x11-misc/revelation/Manifest
25 new file mode 100644
26 index 00000000000..9780704989a
27 --- /dev/null
28 +++ b/x11-misc/revelation/Manifest
29 @@ -0,0 +1 @@
30 +DIST revelation-0.5.4.tar.xz 282600 BLAKE2B 519b01252b82acf0e927a9d19783792f83822cc1f1a4c3be4af3678d5446f8012d993e12397f44aae616aca88257970de7391a1269e24cc1ebc08275d0c962ed SHA512 bd536f6c03e443d91a20606765b661dc54f3e4c1f45d060d3829a894a31e553a61785bb31d7508267abd66e057fc1d93f1716ed1b553566d92a2580ad696606f
31
32 diff --git a/x11-misc/revelation/metadata.xml b/x11-misc/revelation/metadata.xml
33 new file mode 100644
34 index 00000000000..2a6c92d969d
35 --- /dev/null
36 +++ b/x11-misc/revelation/metadata.xml
37 @@ -0,0 +1,12 @@
38 +<?xml version="1.0" encoding="UTF-8"?>
39 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
40 +<pkgmetadata>
41 + <maintainer type="person">
42 + <email>misanthropos@×××.net</email>
43 + <name>Richard Fröhning</name>
44 + </maintainer>
45 + <maintainer type="project">
46 + <email>proxy-maint@g.o</email>
47 + <name>Proxy Maintainers</name>
48 + </maintainer>
49 +</pkgmetadata>
50
51 diff --git a/x11-misc/revelation/revelation-0.5.4.ebuild b/x11-misc/revelation/revelation-0.5.4.ebuild
52 new file mode 100644
53 index 00000000000..0f47118e8de
54 --- /dev/null
55 +++ b/x11-misc/revelation/revelation-0.5.4.ebuild
56 @@ -0,0 +1,50 @@
57 +# Copyright 1999-2020 Gentoo Authors
58 +# Distributed under the terms of the GNU General Public License v2
59 +
60 +EAPI=7
61 +
62 +PYTHON_COMPAT=( python3_8 )
63 +
64 +inherit gnome2-utils python-single-r1 meson xdg
65 +
66 +DESCRIPTION="A password manager for GNOME"
67 +HOMEPAGE="https://revelation.olasagasti.info/ https://github.com/mikelolasagasti/revelation"
68 +SRC_URI="https://github.com/mikelolasagasti/revelation/releases/download/${P}/${P}.tar.xz"
69 +
70 +LICENSE="GPL-2+"
71 +SLOT="0"
72 +KEYWORDS="~amd64 ~x86"
73 +
74 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
75 +
76 +# Upstream does not provide any test suite.
77 +RESTRICT="test"
78 +
79 +RDEPEND="${PYTHON_DEPS}
80 + $(python_gen_cond_dep '
81 + dev-python/pycryptodomex[${PYTHON_USEDEP}]
82 + dev-python/pygobject[${PYTHON_USEDEP}]
83 + dev-libs/libpwquality[python,${PYTHON_USEDEP}]
84 + ')
85 + x11-libs/gtk+:3
86 + dev-libs/glib
87 + dev-libs/gobject-introspection
88 +"
89 +
90 +DEPEND="${RDEPEND}"
91 +
92 +src_install() {
93 + meson_src_install
94 + python_fix_shebang "${ED}"
95 + python_optimize
96 +}
97 +
98 +pkg_postinst() {
99 + xdg_pkg_postinst
100 + gnome2_schemas_update
101 +}
102 +
103 +pkg_postrm() {
104 + xdg_pkg_postrm
105 + gnome2_schemas_update
106 +}