commit:     fc8ab9d17607e4565260a96800bae08e7cf94488
Author:     Johannes Willem Fernhout <hfern <AT> fernhout <DOT> info>
AuthorDate: Fri Jan  1 18:18:57 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Jan  1 18:18:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fc8ab9d1

app-admin/krapplet: new ebuild

Krapplet is a password manager based on gnome-keyring, written as a
systray applet.

Recommendations of AndrewAmmerlaan appreciated, and processed

Signed-off-by: Johannes Willem Fernhout <hfern <AT> fernhout.info>

 app-admin/krapplet/krapplet-0.1.0.ebuild | 21 ++++-----------------
 1 file changed, 4 insertions(+), 17 deletions(-)

diff --git a/app-admin/krapplet/krapplet-0.1.0.ebuild 
b/app-admin/krapplet/krapplet-0.1.0.ebuild
index c45155ad..73ea8d49 100644
--- a/app-admin/krapplet/krapplet-0.1.0.ebuild
+++ b/app-admin/krapplet/krapplet-0.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python3_{7,8,9} )
 DISTUTILS_USE_SETUPTOOLS=bdepend
 
-inherit distutils-r1 xdg-utils
+inherit distutils-r1 xdg
 
 DESCRIPTION="Krapplet (keyring applet): a password manager based on 
gnome-keyring."
 HOMEPAGE="https://gitlab.com/hfernh/krapplet https://pypi.org/project/krapplet";
@@ -16,28 +16,15 @@ LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
 
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
-
-RDEPEND=${PYTHON_DEPS}
 BDEPEND=${RDEPEND}
 
 # Upstream does not provide any test suite.
 RESTRICT="test"
 
-RDEPEND="${PYTHON_DEPS}
+RDEPEND="
        x11-libs/gtk+:3
        dev-libs/glib
        dev-libs/gobject-introspection
-       dev-python/secretstorage "
+       dev-python/secretstorage"
 
 DEPEND="${RDEPEND}"
-
-pkg_postinst() {
-       xdg_desktop_database_update
-       xdg_icon_cache_update
-}
-
-pkg_postrm() {
-       xdg_desktop_database_update
-       xdg_icon_cache_update
-}

Reply via email to