1 |
commit: 62070ec027d08c087eca4a09b4bb83df3f1dad41 |
2 |
Author: Theo Anderson <telans <AT> posteo <DOT> de> |
3 |
AuthorDate: Sat Dec 26 08:18:27 2020 +0000 |
4 |
Commit: Theo Anderson <telans <AT> posteo <DOT> de> |
5 |
CommitDate: Sat Dec 26 09:09:31 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=62070ec0 |
7 |
|
8 |
app-admin/gnome-passwordsafe: bump to 4.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
11 |
Signed-off-by: Theo Anderson <telans <AT> posteo.de> |
12 |
|
13 |
app-admin/gnome-passwordsafe/Manifest | 1 + |
14 |
.../gnome-passwordsafe-4.0.ebuild | 55 ++++++++++++++++++++++ |
15 |
2 files changed, 56 insertions(+) |
16 |
|
17 |
diff --git a/app-admin/gnome-passwordsafe/Manifest b/app-admin/gnome-passwordsafe/Manifest |
18 |
index 20518cae..48925ccc 100644 |
19 |
--- a/app-admin/gnome-passwordsafe/Manifest |
20 |
+++ b/app-admin/gnome-passwordsafe/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST PasswordSafe-3.99.2.tar.bz2 530191 BLAKE2B 06e46052c765dd4b2633cec02b6d6712d3d0b516965ea8100366b865bf50ee63e6c555d10a259afe2c88ec26781c062c34928b66efa77cb7d6737a30c47ab8da SHA512 f3f45c68806481e863baaeac566321349374e0fed9b960e41791e858329e859c76209bcf3b1f0483cae4e932103caf5abf263b53966174e3ddafb083d8d424e7 |
23 |
+DIST PasswordSafe-4.0.tar.bz2 707474 BLAKE2B 4b1eaa09aecfd40d49886d72dad0b9043074d58d7918593c25645d1c9cc081cd7ade42f8cb957b2eef33d188c882b5cd7c3e9e9b3109cf6f53500d66f981be74 SHA512 9c5deaac73193368dac419b3f74d7a1d3c48674a6360afd036bdc6164cfd0d439d0f2fbb955e30e00e7958add41bde905cc6a9bb12a80b400c3cbbf1e276b98e |
24 |
|
25 |
diff --git a/app-admin/gnome-passwordsafe/gnome-passwordsafe-4.0.ebuild b/app-admin/gnome-passwordsafe/gnome-passwordsafe-4.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000..d4f4b72f |
28 |
--- /dev/null |
29 |
+++ b/app-admin/gnome-passwordsafe/gnome-passwordsafe-4.0.ebuild |
30 |
@@ -0,0 +1,55 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{7..9} ) |
37 |
+ |
38 |
+inherit gnome2-utils meson xdg python-any-r1 |
39 |
+ |
40 |
+DESCRIPTION="A password manager for GNOME" |
41 |
+HOMEPAGE="https://gitlab.gnome.org/World/PasswordSafe" |
42 |
+SRC_URI="https://gitlab.gnome.org/World/PasswordSafe/-/archive/${PV}/PasswordSafe-${PV}.tar.bz2" |
43 |
+ |
44 |
+LICENSE="GPL-2+" |
45 |
+IUSE="debug +introspection" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+SLOT="0" |
48 |
+ |
49 |
+S="${WORKDIR}/PasswordSafe-${PV}" |
50 |
+ |
51 |
+DEPEND=" |
52 |
+ $(python_gen_any_dep ' |
53 |
+ dev-python/pycryptodome[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/pykeepass-3.2.0[${PYTHON_USEDEP}] |
55 |
+ ') |
56 |
+ gui-libs/libhandy:1=[introspection?] |
57 |
+ >=dev-libs/libpwquality-1.4.0[python] |
58 |
+ >=x11-libs/gtk+-3.24.1:3[introspection?] |
59 |
+ introspection? ( >=dev-libs/gobject-introspection-0.6.7:= ) |
60 |
+" |
61 |
+RDEPEND="${DEPEND}" |
62 |
+ |
63 |
+src_configure() { |
64 |
+ local emesonargs=( |
65 |
+ -Dprofile=$(usex debug development default) |
66 |
+ ) |
67 |
+ meson_src_configure |
68 |
+} |
69 |
+ |
70 |
+src_install() { |
71 |
+ meson_src_install |
72 |
+ python_optimize |
73 |
+} |
74 |
+ |
75 |
+pkg_postinst() { |
76 |
+ gnome2_gconf_install |
77 |
+ gnome2_schemas_update |
78 |
+ xdg_pkg_postinst |
79 |
+} |
80 |
+ |
81 |
+pkg_postrm() { |
82 |
+ gnome2_gconf_uninstall |
83 |
+ gnome2_schemas_update |
84 |
+ xdg_pkg_postrm |
85 |
+} |