* [gentoo-commits] gentoo-x86 commit in app-admin/kedpm: kedpm-0.4.0-r1.ebuild ChangeLog
@ 2011-04-06 17:59 Arfrever Frehtes Taifersar Arahesis (arfrever)
0 siblings, 0 replies; only message in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2011-04-06 17:59 UTC (permalink / raw
To: gentoo-commits
arfrever 11/04/06 17:59:12
Modified: kedpm-0.4.0-r1.ebuild ChangeLog
Log:
Use Python 2 (bug #308271).
(Portage version: 2.2.0_alpha29_p10/cvs/Linux x86_64)
Revision Changes Path
1.3 app-admin/kedpm/kedpm-0.4.0-r1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/kedpm/kedpm-0.4.0-r1.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/kedpm/kedpm-0.4.0-r1.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/kedpm/kedpm-0.4.0-r1.ebuild?r1=1.2&r2=1.3
Index: kedpm-0.4.0-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-admin/kedpm/kedpm-0.4.0-r1.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- kedpm-0.4.0-r1.ebuild 9 Jan 2007 20:50:55 -0000 1.2
+++ kedpm-0.4.0-r1.ebuild 6 Apr 2011 17:59:12 -0000 1.3
@@ -1,6 +1,9 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2011 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.2 2007/01/09 20:50:55 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/kedpm/kedpm-0.4.0-r1.ebuild,v 1.3 2011/04/06 17:59:12 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
inherit distutils eutils
@@ -13,14 +16,18 @@
KEYWORDS="x86 ppc amd64"
IUSE="gtk"
-DEPEND=">=sys-apps/sed-4"
-RDEPEND="dev-python/pycrypto
+DEPEND="dev-python/pycrypto
gtk? ( >=dev-python/pygtk-2 )"
+RDEPEND="${DEPEND}"
+
+DOCS="AUTHORS CHANGES NEWS"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+src_prepare() {
# 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"
@@ -30,13 +37,13 @@
use gtk || sed -i -e 's/"gtk" # default/"cli" # default/' scripts/kedpm
}
+src_test() {
+ PYTHONPATH="build/lib" "$(PYTHON)" run_tests || die "Tests failed"
+}
+
src_install() {
- DOCS="AUTHORS CHANGES NEWS"
distutils_src_install
+
# menu item
domenu "${FILESDIR}/${PN}.desktop"
}
-
-src_test() {
- ./run_tests || die "tests failed"
-}
1.16 app-admin/kedpm/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/kedpm/ChangeLog?rev=1.16&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/kedpm/ChangeLog?rev=1.16&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/kedpm/ChangeLog?r1=1.15&r2=1.16
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-admin/kedpm/ChangeLog,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- ChangeLog 9 Jan 2007 20:50:55 -0000 1.15
+++ ChangeLog 6 Apr 2011 17:59:12 -0000 1.16
@@ -1,6 +1,10 @@
# ChangeLog for app-admin/kedpm
-# 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 $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/kedpm/ChangeLog,v 1.16 2011/04/06 17:59:12 arfrever Exp $
+
+ 06 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ kedpm-0.4.0-r1.ebuild:
+ Use Python 2 (bug #308271).
09 Jan 2007; Tiziano Müller <dev-zero@gentoo.org> -kedpm-0.4.0.ebuild,
kedpm-0.4.0-r1.ebuild:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-04-06 17:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-06 17:59 [gentoo-commits] gentoo-x86 commit in app-admin/kedpm: kedpm-0.4.0-r1.ebuild ChangeLog Arfrever Frehtes Taifersar Arahesis (arfrever)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox