From: "Theo Anderson" <telans@posteo.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-admin/gnome-passwordsafe/
Date: Fri, 8 Jan 2021 10:39:54 +0000 (UTC) [thread overview]
Message-ID: <1610102224.87ae7f8938011cd749dc69dfa4801693c321a53d.telans@gentoo> (raw)
commit: 87ae7f8938011cd749dc69dfa4801693c321a53d
Author: Theo Anderson <telans <AT> posteo <DOT> de>
AuthorDate: Fri Jan 8 10:37:04 2021 +0000
Commit: Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Fri Jan 8 10:37:04 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=87ae7f89
app-admin/gnome-passwordsafe: fix launch script & pycryptodome imports
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans <AT> posteo.de>
.../gnome-passwordsafe-4.0-r1.ebuild | 63 ++++++++++++++++++++++
1 file changed, 63 insertions(+)
diff --git a/app-admin/gnome-passwordsafe/gnome-passwordsafe-4.0-r1.ebuild b/app-admin/gnome-passwordsafe/gnome-passwordsafe-4.0-r1.ebuild
new file mode 100644
index 00000000..e42208d2
--- /dev/null
+++ b/app-admin/gnome-passwordsafe/gnome-passwordsafe-4.0-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2021 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_prepare() {
+ default
+ # Use python from PATH instead of binary found during install
+ sed -i "s:@PYTHON@:/usr/bin/env python:" passwordsafe.in || die
+ # pycryptodomex to pycryptodome conversion
+ sed -i 's/Cryptodome/Crypto/g' passwordsafe/keyfile_generator.py || die
+}
+
+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
+}
next reply other threads:[~2021-01-08 10:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-08 10:39 Theo Anderson [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-01-28 5:56 [gentoo-commits] repo/proj/guru:dev commit in: app-admin/gnome-passwordsafe/ Anna Vyalkova
2021-03-28 11:43 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-03-28 11:24 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-03-28 9:39 Andrew Ammerlaan
2021-01-08 10:39 Theo Anderson
2021-01-08 10:39 Theo Anderson
2020-12-26 9:09 Theo Anderson
2020-09-16 20:18 Andrew Ammerlaan
2020-06-17 15:16 David Heidelberg
2020-04-23 19:25 David Heidelberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1610102224.87ae7f8938011cd749dc69dfa4801693c321a53d.telans@gentoo \
--to=telans@posteo.de \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox