From: "Paul Varner" <fuzzyray@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoolkit:gentoolkit commit in: /
Date: Tue, 18 Dec 2012 10:42:00 +0000 (UTC) [thread overview]
Message-ID: <1355827256.8745911eb903f1da301d99d5949f655b0190ca6f.fuzzyray@gentoo> (raw)
commit: 8745911eb903f1da301d99d5949f655b0190ca6f
Author: Paul Varner <fuzzyray <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 18 10:40:56 2012 +0000
Commit: Paul Varner <fuzzyray <AT> gentoo <DOT> org>
CommitDate: Tue Dec 18 10:40:56 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=8745911e
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 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/setup.py b/setup.py
index 1efba94..e50d76f 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()
next reply other threads:[~2012-12-18 10:42 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-18 10:42 Paul Varner [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-11-12 7:16 [gentoo-commits] proj/gentoolkit:gentoolkit commit in: / Slawek Lis
2014-08-29 4:04 Brian Dolbec
2014-01-21 11:25 slis
2013-11-02 17:50 Paul Varner
2013-09-05 14:47 Paul Varner
2013-01-04 2:31 Paul Varner
2013-01-02 23:12 Paul Varner
2012-12-23 1:53 Brian Dolbec
2012-12-22 17:12 Brian Dolbec
2012-06-29 2:24 Brian Dolbec
2012-02-06 16:23 Paul Varner
2011-12-19 19:40 Paul Varner
2011-07-14 1:44 Brian Dolbec
2011-05-29 10:59 Christian Ruppert
2011-05-12 2:55 Paul Varner
2011-05-12 2:55 Paul Varner
2011-02-23 9:10 Brian Dolbec
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1355827256.8745911eb903f1da301d99d5949f655b0190ca6f.fuzzyray@gentoo \
--to=fuzzyray@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox