aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2010-08-02 06:41:35 -0300
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2010-08-02 06:41:35 -0300
commit4b8a832b28da116c82068804dec13ef98482ba2f (patch)
treeb761a9fbec025567c317e161850d06038d905b1b
parentremoved the old tinderbox.py (diff)
downloadg-octave-4b8a832b28da116c82068804dec13ef98482ba2f.tar.gz
g-octave-4b8a832b28da116c82068804dec13ef98482ba2f.tar.bz2
g-octave-4b8a832b28da116c82068804dec13ef98482ba2f.zip
hardcoding the ebuild year. leave this dinamic can broke some tests
-rw-r--r--g_octave/ebuild.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/g_octave/ebuild.py b/g_octave/ebuild.py
index 70a9d81..41d3a30 100644
--- a/g_octave/ebuild.py
+++ b/g_octave/ebuild.py
@@ -31,7 +31,6 @@ import shutil
import subprocess
from portage.versions import vercmp
-from datetime import datetime
out = portage.output.EOutput()
@@ -122,7 +121,7 @@ class Ebuild:
os.makedirs(ebuild_path, 0o755)
ebuild = """\
-# Copyright 1999-%(year)s Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# This ebuild was generated by g-octave
@@ -154,7 +153,6 @@ RDEPEND="${DEPEND}
category = self.__dbtree.categories.get(self.pkgname, '')
vars = {
- 'year': datetime.utcnow().strftime('%Y'),
'eutils': '',
'description': description,
'url': self.__desc.url,