Dropped old version. Several cleanups and check for dev-python/pygtk gnome USE-flag...
authorTiziano Müller <dev-zero@gentoo.org>
Tue, 9 Jan 2007 20:50:55 +0000 (20:50 +0000)
committerTiziano Müller <dev-zero@gentoo.org>
Tue, 9 Jan 2007 20:50:55 +0000 (20:50 +0000)
Package-Manager: portage-2.1.2_rc4-r1

app-admin/kedpm/ChangeLog
app-admin/kedpm/kedpm-0.4.0-r1.ebuild

index b82f1fafcfbae53777b4e26735d7d9af3cd24045..aa6acea31ab62208e976967534e89efd1234708e 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for app-admin/kedpm
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/kedpm/ChangeLog,v 1.14 2006/06/30 13:50:58 dragonheart Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/kedpm/ChangeLog,v 1.15 2007/01/09 20:50:55 dev-zero Exp $
+
+  09 Jan 2007; Tiziano Müller <dev-zero@gentoo.org> -kedpm-0.4.0.ebuild,
+  kedpm-0.4.0-r1.ebuild:
+  Dropped old version. Several cleanups and check for dev-python/pygtk gnome
+  USE-flag removed.
 
 *kedpm-0.4.0-r1 (30 Jun 2006)
 
index 5869e98e09629cdc2d577716bf941db8110581f9..8c70866d0a47d94ed983f0be0e231cae89844bd3 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 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-r1.ebuild,v 1.1 2006/06/30 13:50:58 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/kedpm/kedpm-0.4.0-r1.ebuild,v 1.2 2007/01/09 20:50:55 dev-zero Exp $
 
 inherit distutils eutils
 
@@ -13,23 +13,10 @@ SLOT="0"
 KEYWORDS="x86 ppc amd64"
 IUSE="gtk"
 
-DEPEND="virtual/python
-       >=sys-apps/sed-4"
+DEPEND=">=sys-apps/sed-4"
 RDEPEND="dev-python/pycrypto
        gtk? ( >=dev-python/pygtk-2 )"
 
-pkg_setup() {
-       if use gtk
-       then
-               if has_version '<dev-python/pygtk-2.8.0-r2' ; then
-                       if ! built_with_use dev-python/pygtk gnome
-                       then
-                               die "You need to compile dev-python/pygtk with gnome USE flag!"
-                       fi
-               fi
-       fi
-}
-
 src_unpack() {
        unpack ${A}
        cd "${S}"
@@ -44,17 +31,12 @@ src_unpack() {
 }
 
 src_install() {
+       DOCS="AUTHORS CHANGES NEWS"
        distutils_src_install
-       dodoc AUTHORS CHANGES ChangeLog NEWS PKG-INFO README
-       cp -r test run_tests "${D}/usr/share/${PN}"
        # menu item
        domenu "${FILESDIR}/${PN}.desktop"
-
 }
 
-pkg_postinst() {
-       einfo
-       einfo "You can test your kedpm installation running"
-       einfo "cd /usr/share/${PN}/ && ./run_tests"
-       einfo
+src_test() {
+       ./run_tests || die "tests failed"
 }