aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2009-12-25 04:48:44 -0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2009-12-25 04:48:44 -0200
commit052a131d8e56c34e80236f74d97d65367c63d038 (patch)
treec7ab0c86093733834e53e6df14f03223d5f805b0 /ebuilds
parentremoved "pycolors" dependency. closes bug #1 (diff)
downloadg-octave-052a131d8e56c34e80236f74d97d65367c63d038.tar.gz
g-octave-052a131d8e56c34e80236f74d97d65367c63d038.tar.bz2
g-octave-052a131d8e56c34e80236f74d97d65367c63d038.zip
removed "simplejson" dependency. closes bug #2
Diffstat (limited to 'ebuilds')
-rw-r--r--ebuilds/g-octave-9999.ebuild17
1 files changed, 4 insertions, 13 deletions
diff --git a/ebuilds/g-octave-9999.ebuild b/ebuilds/g-octave-9999.ebuild
index 2a31e17..b6a60bf 100644
--- a/ebuilds/g-octave-9999.ebuild
+++ b/ebuilds/g-octave-9999.ebuild
@@ -4,6 +4,8 @@
EAPI="2"
+NEED_PYTHON="2.6"
+
inherit distutils mercurial
DESCRIPTION="A tool that generates and installs ebuilds for Octave-Forge"
@@ -13,19 +15,8 @@ EHG_REPO_URI="https://bitbucket.org/rafaelmartins/g-octave/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
-IUSE="colors"
+IUSE=""
-DEPEND="<dev-lang/python-3"
-RDEPEND="${DEPEND}
- sys-apps/portage
- dev-python/simplejson
- colors? ( dev-python/pycolors )"
+RDEPEND="sys-apps/portage"
S="${WORKDIR}/${PN}"
-
-src_prepare() {
- if ! use colors; then
- sed -i -e 's/from colors .*/raise/' scripts/g-octave \
- || die 'sed failed.'
- fi
-}