projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70ba8f0
)
portage_versions lacks a header or copyright notice :x
author
Alec Warner
<antarus@gentoo.org>
Thu, 7 Dec 2006 22:25:30 +0000
(22:25 -0000)
committer
Alec Warner
<antarus@gentoo.org>
Thu, 7 Dec 2006 22:25:30 +0000
(22:25 -0000)
svn path=/main/trunk/; revision=5208
pym/portage_versions.py
patch
|
blob
|
history
diff --git
a/pym/portage_versions.py
b/pym/portage_versions.py
index 1d9a1972c016643be9171edd50891896e2feae3b..ec01773ad199a87d7906eb3862a14b9c8102fc29 100644
(file)
--- a/
pym/portage_versions.py
+++ b/
pym/portage_versions.py
@@
-1,3
+1,9
@@
+# portage_versions.py -- core Portage functionality
+# Copyright 1998-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+
import re,string
ver_regexp = re.compile("^(cvs\\.)?(\\d+)((\\.\\d+)*)([a-z]?)((_(pre|p|beta|alpha|rc)\\d*)*)(-r(\\d+))?$")