diff options
author | Michał Górny <mgorny@gentoo.org> | 2014-12-15 05:18:32 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2014-12-15 05:18:32 +0000 |
commit | 73cc0546e8c9072b7b84d7fd8d99d18fa6674565 (patch) | |
tree | 69c44b2881a0916e06e3d425ac2dc6462dfb355a /app-admin/kedpm | |
parent | Convert to distutils-r1. (diff) | |
download | gentoo-2-73cc0546e8c9072b7b84d7fd8d99d18fa6674565.tar.gz gentoo-2-73cc0546e8c9072b7b84d7fd8d99d18fa6674565.tar.bz2 gentoo-2-73cc0546e8c9072b7b84d7fd8d99d18fa6674565.zip |
Convert to distutils-r1.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'app-admin/kedpm')
-rw-r--r-- | app-admin/kedpm/ChangeLog | 10 | ||||
-rw-r--r-- | app-admin/kedpm/kedpm-0.4.0-r2.ebuild | 49 |
2 files changed, 56 insertions, 3 deletions
diff --git a/app-admin/kedpm/ChangeLog b/app-admin/kedpm/ChangeLog index cbd71939c70a..1292a7f610ef 100644 --- a/app-admin/kedpm/ChangeLog +++ b/app-admin/kedpm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-admin/kedpm -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/kedpm/ChangeLog,v 1.17 2011/07/20 13:38:34 pacho Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/kedpm/ChangeLog,v 1.18 2014/12/15 05:18:32 mgorny Exp $ + +*kedpm-0.4.0-r2 (15 Dec 2014) + + 15 Dec 2014; Michał Górny <mgorny@gentoo.org> +kedpm-0.4.0-r2.ebuild: + Convert to distutils-r1. 20 Jul 2011; Pacho Ramos <pacho@gentoo.org> metadata.xml: Drop maintainer due retirement, bug #34534 @@ -56,4 +61,3 @@ 19 Apr 2004; Daniel Black <dragonheart@gentoo.org> kedpm-0.4.0.ebuild, metadata.xml, files/setup-doc.patch: Initial Ebuild thanks to Lukasz Strzygowski <lucass@gentoo.pl> in bug 46270 - diff --git a/app-admin/kedpm/kedpm-0.4.0-r2.ebuild b/app-admin/kedpm/kedpm-0.4.0-r2.ebuild new file mode 100644 index 000000000000..ff271e70a1bd --- /dev/null +++ b/app-admin/kedpm/kedpm-0.4.0-r2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/kedpm/kedpm-0.4.0-r2.ebuild,v 1.1 2014/12/15 05:18:32 mgorny Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 eutils + +DESCRIPTION="Ked Password Manager helps to manage large amounts of passwords and related information" +HOMEPAGE="http://kedpm.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="gtk" + +DEPEND="dev-python/pycrypto[${PYTHON_USEDEP}] + gtk? ( >=dev-python/pygtk-2[${PYTHON_USEDEP}] )" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS CHANGES NEWS ) + +python_prepare_all() { + # We want documentation to install in /usr/share/doc/kedpm + # not in /usr/share/kedpm as in original setup.py. + local PATCHES=( + "${FILESDIR}/setup-doc.patch" + ) + + # If we don't compiling with GTK support, let's change default + # frontend for kedpm to CLI. + use gtk || sed -i -e 's/"gtk" # default/"cli" # default/' scripts/kedpm + + distutils-r1_python_prepare_all +} + +python_test() { + "${PYTHON}" run_tests || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_install_all + + # menu item + domenu "${FILESDIR}/${PN}.desktop" +} |