mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-02-07 06:41:59 +00:00
Fix Python currency
This commit is contained in:
parent
e2d3b4b0bc
commit
e31b6c53cb
@ -15,7 +15,7 @@ $regex = array();
|
||||
$regex[ 'intltool' ] = "/^.*Latest version is (\d[\d\.]+\d).*$/";
|
||||
$regex[ 'less' ] = "/^.*current released version is less-(\d+).*$/";
|
||||
$regex[ 'mpfr' ] = "/^mpfr-([\d\.]+)\.tar.*$/";
|
||||
$regex[ 'Python' ] = "/^.*Latest Python 3.*Python (3[\d\.]+\d).*$/";
|
||||
//$regex[ 'Python' ] = "/^.*Latest Python 3.*Python (3[\d\.]+\d).*$/";
|
||||
//$regex[ 'sysvinit' ] = "/^.*sysvinit-([\d\.]+)dsf\.tar.*$/";
|
||||
$regex[ 'tzdata' ] = "/^.*tzdata([\d]+[a-z]).*$/";
|
||||
$regex[ 'xz' ] = "/^.*xz-([\d\.]*\d).*$/";
|
||||
@ -314,6 +314,9 @@ if ( $package == "zstd" ) $dirpath = github("facebook/zstd");
|
||||
if ( $package == "openssl" )
|
||||
return find_max( $lines, "/openssl/", "/^.*openssl-([\d\.p]*\d.?).tar.*$/" );
|
||||
|
||||
if ( $package == "Python" )
|
||||
return find_max( $lines, "/Python 3/", "/^.*Python (3[\d\]*\d) .*$/" );
|
||||
|
||||
if ( $package == "vim" )
|
||||
return find_max( $lines, "/v\d\./", "/^.*v([\d\.]+).*$/" );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user