diff options
| author | Jack Nagel | 2013-06-05 21:52:48 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-06-05 22:03:58 -0500 |
| commit | 3f3c5ae97676d9d5d6723fa1e4a851937b904da6 (patch) | |
| tree | 6a3bb13751325b178aa7945c2a445c76868e041f /Library/Formula/python.rb | |
| parent | b3006c03e2e1ea0a257d49758df6692a00b15763 (diff) | |
| download | homebrew-3f3c5ae97676d9d5d6723fa1e4a851937b904da6.tar.bz2 | |
Improve tokenization of version strings
Tokens like "b4", "beta1", "p195", &c. are now treated as atoms rather
than being broken down even further. Additionally, we enable support for
padding in the middle of versions strings, so we can successfully
compare something like "2.1-p195" with "2.1.0-p194" by inferring that
"2.1" is really "2.1.0".
This fixes the comparison "9.9.3-P1" > "9.9.3" which previously has not
been handled correctly.
Diffstat (limited to 'Library/Formula/python.rb')
0 files changed, 0 insertions, 0 deletions
