summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-12-31 17:07:06 +0100
committerTomas Chvatal <scarabeus@gentoo.org>2009-12-31 17:07:06 +0100
commitbab46a5bafa87ebf0b992205a214b3a971b923c9 (patch)
treef859cac02d85435eed603ceb1ad1cfcc2568e9d7
parentPrettify Kudos to Yngwin. Also fix slight issue with ~ keywords detection. (diff)
downloadgentoo-bumpchecker-bab46a5bafa87ebf0b992205a214b3a971b923c9.tar.gz
gentoo-bumpchecker-bab46a5bafa87ebf0b992205a214b3a971b923c9.tar.bz2
gentoo-bumpchecker-bab46a5bafa87ebf0b992205a214b3a971b923c9.zip
Fix pixman versioning detection.
-rw-r--r--modules/xmodular_module.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/xmodular_module.py b/modules/xmodular_module.py
index b061483..e570aa6 100644
--- a/modules/xmodular_module.py
+++ b/modules/xmodular_module.py
@@ -107,7 +107,7 @@ class X_modular:
else:
loc_subsubminor = int(paclist.version.split(".")[3])
- if snapshots == "false" and ( loc_major > 98 or loc_minor > 98 or loc_subminor > 98 or loc_subsubminor > 98 ):
+ if snapshots == "false" and ( ( loc_major > 98 or loc_minor > 98 or loc_subminor > 98 or loc_subsubminor > 98 ) or ( name == "pixman" and self.is_prvocislo(loc_minor) == True ) ):
continue
# Debuging why some package does not show correct version...
#if name == "xkeyboard-config":
@@ -136,6 +136,13 @@ class X_modular:
continue
return latest
+ def is_prvocislo(self, number):
+ #print number
+ if number % 2 == 1:
+ return True
+ else:
+ return False
+
def filter_files(self, files):
# we want to filter out all the bad files.
newfiles = []