summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2004-04-19 01:59:33 +0000
committerDaniel Black <dragonheart@gentoo.org>2004-04-19 01:59:33 +0000
commit81cdb0157a09a4ae549721c2f69e707af0ef5d3d (patch)
tree8153119e39af1eb9d6ec10887044869e2ce0f1bf /app-admin/kedpm
parentdvdr-patches removed (diff)
downloadhistorical-81cdb0157a09a4ae549721c2f69e707af0ef5d3d.tar.gz
historical-81cdb0157a09a4ae549721c2f69e707af0ef5d3d.tar.bz2
historical-81cdb0157a09a4ae549721c2f69e707af0ef5d3d.zip
Initial Ebuild thanks to Lukasz Strzygowski <lucass@gentoo.pl> in bug 46270
Diffstat (limited to 'app-admin/kedpm')
-rw-r--r--app-admin/kedpm/ChangeLog10
-rw-r--r--app-admin/kedpm/Manifest5
-rw-r--r--app-admin/kedpm/files/digest-kedpm-0.4.01
-rw-r--r--app-admin/kedpm/files/setup-doc.patch12
-rw-r--r--app-admin/kedpm/kedpm-0.4.0.ebuild55
-rw-r--r--app-admin/kedpm/metadata.xml11
6 files changed, 94 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/Manifest b/app-admin/kedpm/Manifest
new file mode 100644
index 000000000000..2f8befd27333
--- /dev/null
+++ b/app-admin/kedpm/Manifest
@@ -0,0 +1,5 @@
+MD5 2c37c62e3cc62a0fefc9174ba4ddfcdd kedpm-0.4.0.ebuild 1571
+MD5 f18362b0e6199455a0da169b4f9298cf metadata.xml 362
+MD5 aabcde69c2e44dfd1c18057ce008b337 ChangeLog 436
+MD5 34870b4494ae80b5bdc9cc16ee6e4410 files/digest-kedpm-0.4.0 62
+MD5 3b9db9ce461473c5671acd122eb92b15 files/setup-doc.patch 627
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>