Ticket #17212: geos-dev.patch

File geos-dev.patch, 687 bytes (added by strk@…, 13 years ago)

The patch

  • libgeos.py

    old new  
    100100
    101101# 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'
     103version_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+)$')
    104104def geos_version_info():
    105105    """
Back to Top