diff options
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/kedpm/ChangeLog | 10 | ||||
-rw-r--r-- | app-admin/kedpm/files/digest-kedpm-0.4.0 | 1 | ||||
-rw-r--r-- | app-admin/kedpm/files/setup-doc.patch | 12 | ||||
-rw-r--r-- | app-admin/kedpm/kedpm-0.4.0.ebuild | 55 | ||||
-rw-r--r-- | app-admin/kedpm/metadata.xml | 11 |
5 files changed, 89 insertions, 0 deletions
diff --git a/app-admin/kedpm/ChangeLog b/app-admin/kedpm/ChangeLog new file mode 100644 index 000000000000..6a8cd91db81f --- /dev/null +++ b/app-admin/kedpm/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-admin/kedpm +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/kedpm/ChangeLog,v 1.1 2004/04/19 01:59:33 dragonheart Exp $ + +*kedpm-0.4.0 (19 Apr 2004) + + 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/files/digest-kedpm-0.4.0 b/app-admin/kedpm/files/digest-kedpm-0.4.0 new file mode 100644 index 000000000000..2c2daab725c0 --- /dev/null +++ b/app-admin/kedpm/files/digest-kedpm-0.4.0 @@ -0,0 +1 @@ +MD5 6b83a646873f8ea00af9c6403aa259bc kedpm-0.4.0.tar.gz 61636 diff --git a/app-admin/kedpm/files/setup-doc.patch b/app-admin/kedpm/files/setup-doc.patch new file mode 100644 index 000000000000..d8593e40f075 --- /dev/null +++ b/app-admin/kedpm/files/setup-doc.patch @@ -0,0 +1,12 @@ +--- setup.py 2004-02-29 12:45:48.000000000 +0100 ++++ setup.py 2004-03-29 08:47:15.886238864 +0200 +@@ -52,8 +52,7 @@ + url="http://kedpm.sourceforge.net/", + packages=['kedpm', 'kedpm.plugins', 'kedpm.frontends', 'kedpm.frontends.gtk'], + scripts=['scripts/kedpm'], +- data_files=[(os.path.join('share', 'kedpm'), ['AUTHORS', 'COPYING', 'INSTALL']), +- (os.path.join('share', 'kedpm', 'glade'), ++ data_files=[(os.path.join('share', 'kedpm', 'glade'), + [os.path.join('glade', 'kedpm.glade')] + + glob(os.path.join('glade', '*.png')) + )], diff --git a/app-admin/kedpm/kedpm-0.4.0.ebuild b/app-admin/kedpm/kedpm-0.4.0.ebuild new file mode 100644 index 000000000000..15725479a94c --- /dev/null +++ b/app-admin/kedpm/kedpm-0.4.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/kedpm/kedpm-0.4.0.ebuild,v 1.1 2004/04/19 01:59:33 dragonheart Exp $ + + +inherit distutils + +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="~x86" +IUSE="gtk2" +RESTRICT="nomirror" +DEPEND="virtual/python" +RDEPEND="dev-python/pycrypto + gtk2? ( >=dev-python/pygtk-2 )" + +pkg_setup() { + # If pygtk was compiled without gnome support, this command fails. + # Dirty hack but there is no way to depend on package compiled + # with specified USE flag. + if use gtk2 + then + grep gnome /var/db/pkg/dev-python/pygtk-*/USE &>/dev/null || + die "You need to compile pygtk-2 with gnome support!" + fi +} + +src_unpack() { + unpack ${A} + cd ${S} + + # We want documentation to install in /usr/share/doc/kedpm + # not in /usr/share/kedpm as in original setup.py. + epatch ${FILESDIR}/setup-doc.patch + + # If we don't compiling with GTK support, let's change default + # frontend for kedpm to CLI. + use gtk2 || sed -i -e 's/"gtk" # default/"cli" # default/' scripts/kedpm +} + +src_install() { + distutils_src_install + dodoc AUTHORS CHANGES COPYING ChangeLog INSTALL NEWS PKG-INFO README + cp -r test run_tests ${D}/usr/share/${PN} +} + +pkg_postinst() { + einfo + einfo "You can test your kedpm installation running" + einfo "cd /usr/share/${PN}/ && ./run_tests" + einfo +} diff --git a/app-admin/kedpm/metadata.xml b/app-admin/kedpm/metadata.xml new file mode 100644 index 000000000000..66c9110ee792 --- /dev/null +++ b/app-admin/kedpm/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>dragonheart@gentoo.org</email> + <name>Daniel Black</name> + <description>feel free to take over</description> +</maintainer> +<longdescription>key storing program</longdescription> +</pkgmetadata> |