commit 90777b92680fc56562cd3b58b9678b2244e83c8d
Author: Damian Johnson <ata...@torproject.org>
Date:   Wed Apr 3 09:35:04 2019 -0700

    Loosen netbsd package version parsing
    
    Recently netbsd changed its tor version to "0.3.5.8nb2"...
    
      http://pkgsrc.se/net/tor
    
    Clearly the 'nb2' suffix isn't part of our upstream version. I'm not 
entirely
    sure what it means (maybe a re-packaging of 0.3.5.8?). Adjusting the version
    parsing I use for netbsd to ignore it.
---
 package_versions.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package_versions.py b/package_versions.py
index ecb1e6f..da97d7e 100755
--- a/package_versions.py
+++ b/package_versions.py
@@ -23,7 +23,7 @@ AUR_VERSION = '<h2>Package Details: \S+ ([0-9\.]+)-\S+</h2>'
 FREEBSD_VERSION = 'SHA256 \(\S+-([0-9\.]+).tar.[gx]z\)'
 OPENBSD_DIST_VERSION = 'DISTNAME\s*=\s+\S+-([0-9\.]+)'
 OPENBSD_EGG_VERSION = 'MODPY_EGG_VERSION =\s+([0-9\.]+)'
-NETBSD_VERSION = 'CURRENT, <b>Version: </b>([0-9\.]+),'
+NETBSD_VERSION = 'CURRENT, <b>Version: </b>([0-9\.]+)[a-z0-9]*,'
 
 COLUMN = '| %-10s | %-10s | %-10s | %-50s |'
 DIV = '+%s+%s+%s+%s+' % ('-' * 12, '-' * 12, '-' * 12, '-' * 52)

_______________________________________________
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to