diff options
author | 2010-04-22 17:57:51 +0000 | |
---|---|---|
committer | 2010-04-22 17:57:51 +0000 | |
commit | 3255e3b445e1648873b3b27de8a24daf2cf64a84 (patch) | |
tree | 8024a971e4f9f3d0b993deccf47b2ec8401c0ee2 /sci-electronics/gresistor/gresistor-0.0.1.ebuild | |
parent | version bump (diff) | |
download | gentoo-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)
Diffstat (limited to 'sci-electronics/gresistor/gresistor-0.0.1.ebuild')
-rw-r--r-- | sci-electronics/gresistor/gresistor-0.0.1.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
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 |