Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/revelation/files/, x11-misc/revelation/
Date: Sun, 28 Apr 2019 18:35:42
Message-Id: 1556476500.74e583808c7ca2affd74d80929d4e8805f8a5f12.graaff@gentoo
1 commit: 74e583808c7ca2affd74d80929d4e8805f8a5f12
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 28 18:34:44 2019 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 28 18:35:00 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74e58380
7
8 x11-misc/revelation: drop dep on libgnome-python
9
10 This library is not actually used in the source so drop it from
11 configure and dependencies. Patch from archlinux found by pacho.
12
13 Bug: https://bugs.gentoo.org/640054
14 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
15 Package-Manager: Portage-2.3.62, Repoman-2.3.11
16
17 .../files/revelation-0.4.14-gnome-python.patch | 28 ++++++++++++
18 x11-misc/revelation/revelation-0.4.14-r3.ebuild | 50 ++++++++++++++++++++++
19 2 files changed, 78 insertions(+)
20
21 diff --git a/x11-misc/revelation/files/revelation-0.4.14-gnome-python.patch b/x11-misc/revelation/files/revelation-0.4.14-gnome-python.patch
22 new file mode 100644
23 index 00000000000..82a02fb259b
24 --- /dev/null
25 +++ b/x11-misc/revelation/files/revelation-0.4.14-gnome-python.patch
26 @@ -0,0 +1,28 @@
27 +From dffb8b7722865a82c3a5d7ce9615b6da2313d583 Mon Sep 17 00:00:00 2001
28 +Message-Id: <dffb8b7722865a82c3a5d7ce9615b6da2313d583.1486417682.git.tommyhebb@×××××.com>
29 +From: Thomas Hebb <tommyhebb@×××××.com>
30 +Date: Mon, 6 Feb 2017 21:44:06 +0000
31 +Subject: [PATCH] Remove deprecated gnome-python dependency from configure.ac
32 +
33 +The code has not depended on the module for many years (the module was
34 +removed in 125cf9dc28f95617fc3b37bc29a714f708b7d2ef); however, the
35 +configure script was never updated to match.
36 +---
37 + configure.ac | 1 -
38 + 1 file changed, 1 deletion(-)
39 +
40 +diff --git a/configure.ac b/configure.ac
41 +index bdfae2a..5b6ad72 100644
42 +--- a/configure.ac
43 ++++ b/configure.ac
44 +@@ -19,7 +19,6 @@ RVL_FDO_MIME()
45 + RVL_PYTHON_MODULE(Crypto, yes)
46 + RVL_PYTHON_MODULE(gconf, yes)
47 + RVL_PYTHON_MODULE(gtk, yes)
48 +-RVL_PYTHON_MODULE(gnome, yes)
49 + RVL_PYTHON_MODULE(gio, yes)
50 + RVL_PYTHON_MODULE(gobject, yes)
51 + RVL_PYTHON_MODULE(pango, yes)
52 +--
53 +2.11.1
54 +
55
56 diff --git a/x11-misc/revelation/revelation-0.4.14-r3.ebuild b/x11-misc/revelation/revelation-0.4.14-r3.ebuild
57 new file mode 100644
58 index 00000000000..268f3053c26
59 --- /dev/null
60 +++ b/x11-misc/revelation/revelation-0.4.14-r3.ebuild
61 @@ -0,0 +1,50 @@
62 +# Copyright 1999-2019 Gentoo Authors
63 +# Distributed under the terms of the GNU General Public License v2
64 +
65 +EAPI=6
66 +PYTHON_COMPAT=( python2_7 )
67 +
68 +inherit python-single-r1 autotools gnome2
69 +
70 +DESCRIPTION="A password manager for GNOME"
71 +HOMEPAGE="https://revelation.olasagasti.info/"
72 +SRC_URI="https://www.bitbucket.org/erikg/revelation/downloads/${P}.tar.xz"
73 +
74 +LICENSE="GPL-2"
75 +SLOT="0"
76 +KEYWORDS="~amd64 ~ppc ~x86"
77 +
78 +IUSE=""
79 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
80 +
81 +RESTRICT="test"
82 +
83 +RDEPEND="${PYTHON_DEPS}
84 + dev-python/pygtk[${PYTHON_USEDEP}]
85 + dev-python/pycryptodome[${PYTHON_USEDEP}]
86 + dev-python/gconf-python[${PYTHON_USEDEP}]
87 + dev-python/dbus-python[${PYTHON_USEDEP}]
88 + sys-libs/cracklib[python,${PYTHON_USEDEP}]
89 +"
90 +
91 +DEPEND="${RDEPEND}"
92 +
93 +src_prepare() {
94 + epatch "${FILESDIR}/${P}-random.patch" \
95 + "${FILESDIR}/${P}-xor.patch" \
96 + "${FILESDIR}/${P}-gnome-python.patch"
97 + eapply_user
98 + eautoreconf
99 +}
100 +
101 +src_configure() {
102 + gnome2_src_configure \
103 + --without-applet \
104 + --disable-desktop-update \
105 + --disable-mime-update
106 +}
107 +
108 +src_install() {
109 + gnome2_src_install
110 + python_fix_shebang "${ED}"
111 +}