aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Parborg <darkdefende@gmail.com>2011-08-15 19:19:27 +0200
committerSebastian Parborg <darkdefende@gmail.com>2011-08-15 19:19:27 +0200
commitcf0f38b43cc328a7b6e60d4df3e7d0e1a564c7ea (patch)
tree587081b6d7d78631b6db8199e3488ae353c47e82 /ebuildgen
parentAdded a basic setup script (diff)
downloadebuildgen-cf0f38b43cc328a7b6e60d4df3e7d0e1a564c7ea.tar.gz
ebuildgen-cf0f38b43cc328a7b6e60d4df3e7d0e1a564c7ea.tar.bz2
ebuildgen-cf0f38b43cc328a7b6e60d4df3e7d0e1a564c7ea.zip
Declare EAPI before you inherit something!
Diffstat (limited to 'ebuildgen')
-rw-r--r--ebuildgen/ebuildoutput.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ebuildgen/ebuildoutput.py b/ebuildgen/ebuildoutput.py
index a8ca3a6..dd212e0 100644
--- a/ebuildgen/ebuildoutput.py
+++ b/ebuildgen/ebuildoutput.py
@@ -57,15 +57,15 @@ def outputebuild(iuse,deps,usedeps,dltype,adress,installmethod):
'# Copyright 1999-' + strftime("%Y") + ' Gentoo Foundation',
'# Distributed under the terms of the GNU General Public License v2',
'# $Header: $',
- ''
+ '',
+ 'EAPI=3',
+ '',
]
inheritstr = 'inherit ' + eclass[dltype] + ' autotools'
text.append(inheritstr)
text += [
'',
- 'EAPI=3',
- '',
'DESCRIPTION=""',
'HOMEPAGE=""'
]