From 679ecc536ee4c0f9997c08d071b68592c0af8fff Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Sun, 17 Jun 2012 09:30:48 +0000 Subject: Fix spelling mistakes. Bug #416467 (Portage version: 2.1.10.65/cvs/Linux x86_64) --- sci-electronics/gresistor/ChangeLog | 9 ++++- .../gresistor/gresistor-0.0.1-r1.ebuild | 43 ++++++++++++++++++++++ 2 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 sci-electronics/gresistor/gresistor-0.0.1-r1.ebuild (limited to 'sci-electronics/gresistor') diff --git a/sci-electronics/gresistor/ChangeLog b/sci-electronics/gresistor/ChangeLog index 58f0dbad04ee..ed5ea9880dc4 100644 --- a/sci-electronics/gresistor/ChangeLog +++ b/sci-electronics/gresistor/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-electronics/gresistor -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gresistor/ChangeLog,v 1.7 2011/04/09 21:40:51 arfrever Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gresistor/ChangeLog,v 1.8 2012/06/17 09:30:48 hwoarang Exp $ + +*gresistor-0.0.1-r1 (17 Jun 2012) + + 17 Jun 2012; Markos Chandras +gresistor-0.0.1-r1.ebuild: + Fix spelling mistakes. Bug #416467 09 Apr 2011; Arfrever Frehtes Taifersar Arahesis gresistor-0.0.1.ebuild: diff --git a/sci-electronics/gresistor/gresistor-0.0.1-r1.ebuild b/sci-electronics/gresistor/gresistor-0.0.1-r1.ebuild new file mode 100644 index 000000000000..2d817477e037 --- /dev/null +++ b/sci-electronics/gresistor/gresistor-0.0.1-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 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-r1.ebuild,v 1.1 2012/06/17 09:30:48 hwoarang Exp $ + +EAPI=4 +PYTHON_DEPEND="2:2.5" + +inherit 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" +SRC_URI="http://www.roroid.ro/progs/${PN}/${P}.tar.gz" + +LICENSE="|| ( GPL-3 LGPL-3 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + dev-python/pygtk:2 + x11-libs/gtk+:2 + gnome-base/libglade:2.0" +RDEPEND="${DEPEND}" + +DOCS=( + "README" +) + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + # fix typoes. Bug #416467 + sed -i "s:Sylver:Silver:" ${PN} ${PN}.glade || die +} + +src_install() { + distutils_src_install + newicon pixmaps/icon.png ${PN}.png + domenu ${PN}.desktop +} -- cgit v1.2.3-65-gdbad