diff options
Diffstat (limited to 'x11-misc/revelation/revelation-0.4.14-r4.ebuild')
-rw-r--r-- | x11-misc/revelation/revelation-0.4.14-r4.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/x11-misc/revelation/revelation-0.4.14-r4.ebuild b/x11-misc/revelation/revelation-0.4.14-r4.ebuild new file mode 100644 index 000000000000..704d9967b80e --- /dev/null +++ b/x11-misc/revelation/revelation-0.4.14-r4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 autotools gnome2 + +DESCRIPTION="A password manager for GNOME" +HOMEPAGE="https://revelation.olasagasti.info/" +SRC_URI="https://www.bitbucket.org/erikg/revelation/downloads/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" + +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RESTRICT="test" + +RDEPEND="${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/pygtk[${PYTHON_MULTI_USEDEP}] + dev-python/pycryptodome[${PYTHON_MULTI_USEDEP}] + dev-python/gconf-python[${PYTHON_MULTI_USEDEP}] + dev-python/dbus-python[${PYTHON_MULTI_USEDEP}] + sys-libs/cracklib[python,${PYTHON_MULTI_USEDEP}] + ') +" + +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${P}-random.patch" \ + "${FILESDIR}/${P}-xor.patch" \ + "${FILESDIR}/${P}-gnome-python.patch" + eapply_user + eautoreconf +} + +src_configure() { + gnome2_src_configure \ + --without-applet \ + --disable-desktop-update \ + --disable-mime-update +} + +src_install() { + gnome2_src_install + python_fix_shebang "${ED}" +} |