From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E71AC1382C5 for ; Sun, 10 Jan 2021 11:32:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 554DFE0AD0; Sun, 10 Jan 2021 11:32:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 958F3E0ACD for ; Sun, 10 Jan 2021 11:32:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2CDF1340D69 for ; Sun, 10 Jan 2021 11:31:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9286EB8 for ; Sun, 10 Jan 2021 11:31:56 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1610102306.8494722b6cda4f4aa659ef069a78c464250d1725.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-admin/gnome-passwordsafe/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-admin/gnome-passwordsafe/Manifest app-admin/gnome-passwordsafe/gnome-passwordsafe-4.1.ebuild X-VCS-Directories: app-admin/gnome-passwordsafe/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 8494722b6cda4f4aa659ef069a78c464250d1725 X-VCS-Branch: master Date: Sun, 10 Jan 2021 11:31:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e48c02f7-fbee-4907-bc22-04120fb04225 X-Archives-Hash: a50c06593fec8835fce727d3939781fc commit: 8494722b6cda4f4aa659ef069a78c464250d1725 Author: Theo Anderson posteo de> AuthorDate: Fri Jan 8 10:38:26 2021 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Fri Jan 8 10:38:26 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8494722b app-admin/gnome-passwordsafe: bump to 4.1 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Theo Anderson posteo.de> app-admin/gnome-passwordsafe/Manifest | 1 + .../gnome-passwordsafe-4.1.ebuild | 63 ++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/app-admin/gnome-passwordsafe/Manifest b/app-admin/gnome-passwordsafe/Manifest index 48925ccc..01e29c8a 100644 --- a/app-admin/gnome-passwordsafe/Manifest +++ b/app-admin/gnome-passwordsafe/Manifest @@ -1,2 +1,3 @@ DIST PasswordSafe-3.99.2.tar.bz2 530191 BLAKE2B 06e46052c765dd4b2633cec02b6d6712d3d0b516965ea8100366b865bf50ee63e6c555d10a259afe2c88ec26781c062c34928b66efa77cb7d6737a30c47ab8da SHA512 f3f45c68806481e863baaeac566321349374e0fed9b960e41791e858329e859c76209bcf3b1f0483cae4e932103caf5abf263b53966174e3ddafb083d8d424e7 DIST PasswordSafe-4.0.tar.bz2 707474 BLAKE2B 4b1eaa09aecfd40d49886d72dad0b9043074d58d7918593c25645d1c9cc081cd7ade42f8cb957b2eef33d188c882b5cd7c3e9e9b3109cf6f53500d66f981be74 SHA512 9c5deaac73193368dac419b3f74d7a1d3c48674a6360afd036bdc6164cfd0d439d0f2fbb955e30e00e7958add41bde905cc6a9bb12a80b400c3cbbf1e276b98e +DIST PasswordSafe-4.1.tar.bz2 707696 BLAKE2B e185f44c505c54a59e611f990094cb43bd989f510218d4ea9050696af1620b92e72e5e0171c93f1e42f694a08fe8cca99ab48838f3b87471543597dafd413865 SHA512 69416d335de33d171df314e769c59aa08d7d445e3d822d1b0045cb28625dfc1e5e201a2975c28ad95703d1c4d84ca5ecde2e9901555f4d5ee947fe7b13b8875f diff --git a/app-admin/gnome-passwordsafe/gnome-passwordsafe-4.1.ebuild b/app-admin/gnome-passwordsafe/gnome-passwordsafe-4.1.ebuild new file mode 100644 index 00000000..e42208d2 --- /dev/null +++ b/app-admin/gnome-passwordsafe/gnome-passwordsafe-4.1.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 +}