summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2006-12-07 22:25:30 +0000
committerAlec Warner <antarus@gentoo.org>2006-12-07 22:25:30 +0000
commit295d6ca584c205b419ab37e1be620fb172a3518b (patch)
tree3d0e47b0d35fef55487f79f326284070a8a2680e
parent70ba8f079933e40497649c419898bb2b2e1ce81d (diff)
downloadportage-295d6ca584c205b419ab37e1be620fb172a3518b.tar.gz
portage-295d6ca584c205b419ab37e1be620fb172a3518b.tar.bz2
portage-295d6ca584c205b419ab37e1be620fb172a3518b.zip
portage_versions lacks a header or copyright notice :x
svn path=/main/trunk/; revision=5208
-rw-r--r--pym/portage_versions.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/pym/portage_versions.py b/pym/portage_versions.py
index 1d9a1972c..ec01773ad 100644
--- 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+))?$")