diff options
Diffstat (limited to 'app-portage/esearch/files/1.3-Fix-setup.py.patch')
-rw-r--r-- | app-portage/esearch/files/1.3-Fix-setup.py.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/app-portage/esearch/files/1.3-Fix-setup.py.patch b/app-portage/esearch/files/1.3-Fix-setup.py.patch new file mode 100644 index 000000000000..aad5d49f2f56 --- /dev/null +++ b/app-portage/esearch/files/1.3-Fix-setup.py.patch @@ -0,0 +1,28 @@ +From 94e77b115f5b14b7dfea50e4a7b77047e4b47263 Mon Sep 17 00:00:00 2001 +From: Paul Varner <fuzzyray@gentoo.org> +Date: Tue, 18 Dec 2012 04:33:27 -0600 +Subject: [PATCH 1/3] Fix setup.py so that either VERSION or PVR will set the + version. + +This fixes the issue with egg-info always having a version number of +9999. Fix is from Brian Dolbec courtesy of mirrorselect. +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 9d2addd..45a4c06 100755 +--- a/setup.py ++++ b/setup.py +@@ -14,7 +14,7 @@ import io + + sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'pym')) + +-__version__ = os.getenv('VERSION', default='9999') ++__version__ = os.getenv('VERSION', default=os.getenv('PVR', default='9999')) + + cwd = os.getcwd() + +-- +1.8.5.4 + |