commit:     62070ec027d08c087eca4a09b4bb83df3f1dad41
Author:     Theo Anderson <telans <AT> posteo <DOT> de>
AuthorDate: Sat Dec 26 08:18:27 2020 +0000
Commit:     Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Sat Dec 26 09:09:31 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=62070ec0

app-admin/gnome-passwordsafe: bump to 4.0

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans <AT> posteo.de>

 app-admin/gnome-passwordsafe/Manifest              |  1 +
 .../gnome-passwordsafe-4.0.ebuild                  | 55 ++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/app-admin/gnome-passwordsafe/Manifest 
b/app-admin/gnome-passwordsafe/Manifest
index 20518cae..48925ccc 100644
--- a/app-admin/gnome-passwordsafe/Manifest
+++ b/app-admin/gnome-passwordsafe/Manifest
@@ -1 +1,2 @@
 DIST PasswordSafe-3.99.2.tar.bz2 530191 BLAKE2B 
06e46052c765dd4b2633cec02b6d6712d3d0b516965ea8100366b865bf50ee63e6c555d10a259afe2c88ec26781c062c34928b66efa77cb7d6737a30c47ab8da
 SHA512 
f3f45c68806481e863baaeac566321349374e0fed9b960e41791e858329e859c76209bcf3b1f0483cae4e932103caf5abf263b53966174e3ddafb083d8d424e7
+DIST PasswordSafe-4.0.tar.bz2 707474 BLAKE2B 
4b1eaa09aecfd40d49886d72dad0b9043074d58d7918593c25645d1c9cc081cd7ade42f8cb957b2eef33d188c882b5cd7c3e9e9b3109cf6f53500d66f981be74
 SHA512 
9c5deaac73193368dac419b3f74d7a1d3c48674a6360afd036bdc6164cfd0d439d0f2fbb955e30e00e7958add41bde905cc6a9bb12a80b400c3cbbf1e276b98e

diff --git a/app-admin/gnome-passwordsafe/gnome-passwordsafe-4.0.ebuild 
b/app-admin/gnome-passwordsafe/gnome-passwordsafe-4.0.ebuild
new file mode 100644
index 00000000..d4f4b72f
--- /dev/null
+++ b/app-admin/gnome-passwordsafe/gnome-passwordsafe-4.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit gnome2-utils meson xdg python-any-r1
+
+DESCRIPTION="A password manager for GNOME"
+HOMEPAGE="https://gitlab.gnome.org/World/PasswordSafe";
+SRC_URI="https://gitlab.gnome.org/World/PasswordSafe/-/archive/${PV}/PasswordSafe-${PV}.tar.bz2";
+
+LICENSE="GPL-2+"
+IUSE="debug +introspection"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+
+S="${WORKDIR}/PasswordSafe-${PV}"
+
+DEPEND="
+       $(python_gen_any_dep '
+               dev-python/pycryptodome[${PYTHON_USEDEP}]
+               >=dev-python/pykeepass-3.2.0[${PYTHON_USEDEP}]
+       ')
+       gui-libs/libhandy:1=[introspection?]
+       >=dev-libs/libpwquality-1.4.0[python]
+       >=x11-libs/gtk+-3.24.1:3[introspection?]
+       introspection? ( >=dev-libs/gobject-introspection-0.6.7:= )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+       local emesonargs=(
+               -Dprofile=$(usex debug development default)
+       )
+       meson_src_configure
+}
+
+src_install() {
+       meson_src_install
+       python_optimize
+}
+
+pkg_postinst() {
+       gnome2_gconf_install
+       gnome2_schemas_update
+       xdg_pkg_postinst
+}
+
+pkg_postrm() {
+       gnome2_gconf_uninstall
+       gnome2_schemas_update
+       xdg_pkg_postrm
+}

Reply via email to