Changeset fc9a319


Ignore:
Timestamp:
04/01/2023 10:07:06 PM (13 months ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
Children:
864c66d, 99c2da0
Parents:
fd531b84
Message:

Update currency for flit-core

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lfs-latest-git.php

    rfd531b84 rfc9a319  
    104104  $lines = http_get_file( $dirpath );
    105105
    106   $regex_match   = "#${prefix}[\d\.]+/#";
    107   $regex_replace = "#^.*(${prefix}[\d\.]+)/.*$#";
     106  $regex_match   = "#{$prefix}[\d\.]+/#";
     107  $regex_replace = "#^.*({$prefix}[\d\.]+)/.*$#";
    108108  $max           = find_max( $lines, $regex_match, $regex_replace );
    109109
     
    127127if ( $package == "file"       ) $dirpath = "https://github.com/file/file/tags";
    128128if ( $package == "flex"       ) $dirpath = "https://github.com/westes/flex/releases";
     129if ( $package == "flit_core"  ) $dirpath = "https://pypi.org/project/flit-core/";
    129130if ( $package == "gcc"        ) $dirpath = max_parent( $dirpath, "gcc-" );
    130131if ( $package == "iana-etc"   ) $dirpath = "https://github.com/Mic92/iana-etc/releases";
     
    309310     return find_max( $lines, "/v\d/", "/^.*v([\d\.]+)$/" );
    310311
     312  if ( $package == "flit_core" )
     313     return find_max( $lines, "/flit-core /", "/^.*flit-core ([\d\.]+)$/" );
     314
    311315  if ( $package == "procps-ng" )
    312316     return find_max( $lines, "/v\d/", "/^.*v([\d\.]+)$/" );
     
    504508      $v    = get_packages( $pkg, $dir );
    505509      $flag = ( $vers[ $pkg ] != $v ) ? "*" : "";
    506       echo "<tr><td>$pkg</td> <td>${vers[ $pkg ]}</td> <td>$v</td> <td>$flag</td></tr>\n";
     510      echo "<tr><td>$pkg</td> <td>{$vers[ $pkg ]}</td> <td>$v</td> <td>$flag</td></tr>\n";
    507511   }
    508512
Note: See TracChangeset for help on using the changeset viewer.