+2009-05-20: Paul Varner <fuzzyray@gentoo.org>
+ * All: Convert from using /etc/gentoolkit-version to
+ /usr/share/gentoolkit/VERSION
+
2009-05-20: Paul Varner <fuzzyray@gentoo.org>
* glsa-check: Add patches from Robert Buchholz to do the following:
Handle unicode encoding better, python tweaks to speedup execution,
# Meta:
__author__ = "Thomas de Grenier de Latour (tgl)"
__email__ = "degrenier@easyconnect.fr"
-__version__ = open('/etc/gentoolkit-version').read().strip()
+__version__ = open('/usr/share/gentoolkit/VERSION').read().strip()
__productname__ = "eclean"
__description__ = "A cleaning tool for Gentoo distfiles and binaries."
import portage
from portage.output import *
-version = open('/etc/gentoolkit-version').read().strip()
+version = open('/usr/share/gentoolkit/VERSION').read().strip()
def getvar(pkg, var):
file = open(pkg + ".ebuild")
# Licensed under the GPL v2
PROGRAM_NAME=euse
-PROGRAM_VERSION=$(cat /etc/gentoolkit-version)
+PROGRAM_VERSION=$(cat /usr/share/gentoolkit/VERSION)
MAKE_CONF_PATH=/etc/make.conf
MAKE_GLOBALS_PATH=/etc/make.globals
__program__ = "glsa-check"
__author__ = "Marius Mauch <genone@gentoo.org>"
-__version__ = open("/etc/gentoolkit-version").read().strip()
+__version__ = open("/usr/share/gentoolkit/VERSION").read().strip()
optionmap = [
["-l", "--list", "list all unapplied GLSA"],
"""Print the version of this tool to the console."""
try:
- with open('/etc/gentoolkit-version') as gentoolkit_version:
+ with open('/usr/share/gentoolkit/VERSION') as gentoolkit_version:
version = gentoolkit_version.read().strip()
except IOError, err:
pp.die(2, str(err))