summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-04-22 17:57:51 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-04-22 17:57:51 +0000
commit3255e3b445e1648873b3b27de8a24daf2cf64a84 (patch)
tree8024a971e4f9f3d0b993deccf47b2ec8401c0ee2
parentversion bump (diff)
downloadgentoo-2-3255e3b445e1648873b3b27de8a24daf2cf64a84.tar.gz
gentoo-2-3255e3b445e1648873b3b27de8a24daf2cf64a84.tar.bz2
gentoo-2-3255e3b445e1648873b3b27de8a24daf2cf64a84.zip
Refactor ebuild to use python functions correctly. Fixes bug #316191
(Portage version: 2.2_rc67/cvs/Linux x86_64)
-rw-r--r--sci-electronics/gresistor/ChangeLog5
-rw-r--r--sci-electronics/gresistor/gresistor-0.0.1.ebuild8
2 files changed, 10 insertions, 3 deletions
diff --git a/sci-electronics/gresistor/ChangeLog b/sci-electronics/gresistor/ChangeLog
index 48cb9b8d1c7a..555002994772 100644
--- a/sci-electronics/gresistor/ChangeLog
+++ b/sci-electronics/gresistor/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-electronics/gresistor
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gresistor/ChangeLog,v 1.1 2010/04/17 16:37:53 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gresistor/ChangeLog,v 1.2 2010/04/22 17:57:51 hwoarang Exp $
+
+ 22 Apr 2010; Markos Chandras <hwoarang@gentoo.org> gresistor-0.0.1.ebuild:
+ Refactor ebuild to use python functions correctly. Fixes bug #316191
*gresistor-0.0.1 (17 Apr 2010)
diff --git a/sci-electronics/gresistor/gresistor-0.0.1.ebuild b/sci-electronics/gresistor/gresistor-0.0.1.ebuild
index bf3eeafe3edc..4412df7b99de 100644
--- a/sci-electronics/gresistor/gresistor-0.0.1.ebuild
+++ b/sci-electronics/gresistor/gresistor-0.0.1.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gresistor/gresistor-0.0.1.ebuild,v 1.1 2010/04/17 16:37:53 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gresistor/gresistor-0.0.1.ebuild,v 1.2 2010/04/22 17:57:51 hwoarang Exp $
EAPI=2
PYTHON_DEPEND="2:2.5"
-inherit distutils eutils
+inherit python distutils eutils
DESCRIPTION="Translate a resistor color codes into a readable value"
HOMEPAGE="http://www.roroid.ro/index.php?option=com_content&view=article&id=1:gresistor&catid=1:software-projects&Itemid=2"
@@ -24,6 +24,10 @@ DOCS=(
"README"
)
+pkg_setup() {
+ python_set_active_version 2
+}
+
src_install() {
distutils_src_install
newicon pixmaps/icon.png ${PN}.png