Ticket #17212: geos-dev.patch
File geos-dev.patch, 687 bytes (added by , 13 years ago) |
---|
-
libgeos.py
old new 100 100 101 101 # Regular expression should be able to parse version strings such as 102 # '3.0.0rc4-CAPI-1.3.3', or '3.0.0-CAPI-1.4.1'103 version_regex = re.compile(r'^(?P<version>(?P<major>\d+)\.(?P<minor>\d+)\.(?P<subminor>\d+))( rc(?P<release_candidate>\d+))?-CAPI-(?P<capi_version>\d+\.\d+\.\d+)$')102 # '3.0.0rc4-CAPI-1.3.3', '3.0.0-CAPI-1.4.1' or '3.4.0dev-CAPI-1.8.0' 103 version_regex = re.compile(r'^(?P<version>(?P<major>\d+)\.(?P<minor>\d+)\.(?P<subminor>\d+))((rc(?P<release_candidate>\d+))|dev)?-CAPI-(?P<capi_version>\d+\.\d+\.\d+)$') 104 104 def geos_version_info(): 105 105 """