From 4b8a832b28da116c82068804dec13ef98482ba2f Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Mon, 2 Aug 2010 06:41:35 -0300 Subject: hardcoding the ebuild year. leave this dinamic can broke some tests --- g_octave/ebuild.py | 4 +--- 1 file changed, 1 insertion(+), 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, -- cgit v1.2.3-65-gdbad