commit:     ff3bd31b2d8f7d8e7ad23681e3f2766f53d369f3
Author:     Richard Fröhning <misanthropos <AT> gmx <DOT> net>
AuthorDate: Wed Oct  7 07:40:25 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Oct  7 07:40:25 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff3bd31b

x11-misc/revelation: re-add last-rited package

A password manager for GNOME
 - new maintainer,
 - ported to meson, hence dropped KEYWORDS,
 - python3 support.

Signed-off-by: Richard Fröhning <misanthropos <AT> gmx.net>
Closes: https://github.com/gentoo/gentoo/pull/17750
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 x11-misc/revelation/Manifest                |  1 +
 x11-misc/revelation/metadata.xml            | 12 +++++++
 x11-misc/revelation/revelation-0.5.4.ebuild | 50 +++++++++++++++++++++++++++++
 3 files changed, 63 insertions(+)

diff --git a/x11-misc/revelation/Manifest b/x11-misc/revelation/Manifest
new file mode 100644
index 00000000000..9780704989a
--- /dev/null
+++ b/x11-misc/revelation/Manifest
@@ -0,0 +1 @@
+DIST revelation-0.5.4.tar.xz 282600 BLAKE2B 
519b01252b82acf0e927a9d19783792f83822cc1f1a4c3be4af3678d5446f8012d993e12397f44aae616aca88257970de7391a1269e24cc1ebc08275d0c962ed
 SHA512 
bd536f6c03e443d91a20606765b661dc54f3e4c1f45d060d3829a894a31e553a61785bb31d7508267abd66e057fc1d93f1716ed1b553566d92a2580ad696606f

diff --git a/x11-misc/revelation/metadata.xml b/x11-misc/revelation/metadata.xml
new file mode 100644
index 00000000000..2a6c92d969d
--- /dev/null
+++ b/x11-misc/revelation/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>[email protected]</email>
+    <name>Richard Fröhning</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>[email protected]</email>
+    <name>Proxy Maintainers</name>
+  </maintainer>
+</pkgmetadata>

diff --git a/x11-misc/revelation/revelation-0.5.4.ebuild 
b/x11-misc/revelation/revelation-0.5.4.ebuild
new file mode 100644
index 00000000000..0f47118e8de
--- /dev/null
+++ b/x11-misc/revelation/revelation-0.5.4.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_8 )
+
+inherit gnome2-utils python-single-r1 meson xdg
+
+DESCRIPTION="A password manager for GNOME"
+HOMEPAGE="https://revelation.olasagasti.info/ 
https://github.com/mikelolasagasti/revelation";
+SRC_URI="https://github.com/mikelolasagasti/revelation/releases/download/${P}/${P}.tar.xz";
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Upstream does not provide any test suite.
+RESTRICT="test"
+
+RDEPEND="${PYTHON_DEPS}
+       $(python_gen_cond_dep '
+               dev-python/pycryptodomex[${PYTHON_USEDEP}]
+               dev-python/pygobject[${PYTHON_USEDEP}]
+               dev-libs/libpwquality[python,${PYTHON_USEDEP}]
+       ')
+       x11-libs/gtk+:3
+       dev-libs/glib
+       dev-libs/gobject-introspection
+"
+
+DEPEND="${RDEPEND}"
+
+src_install() {
+       meson_src_install
+       python_fix_shebang "${ED}"
+       python_optimize
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+       gnome2_schemas_update
+}
+
+pkg_postrm() {
+       xdg_pkg_postrm
+       gnome2_schemas_update
+}

Reply via email to