Author: bdubbs
Date: Sun May 31 15:25:22 2020
New Revision: 23223

Log:
Update currency for libqmi, neon, and py3c

Modified:
   trunk/scripts/blfs-chapter09.php
   trunk/scripts/blfs-chapter13.php
   trunk/scripts/blfs-chapter17.php

Modified: trunk/scripts/blfs-chapter09.php
==============================================================================
--- trunk/scripts/blfs-chapter09.php    Sun May 31 11:07:39 2020        (r23222)
+++ trunk/scripts/blfs-chapter09.php    Sun May 31 15:25:22 2020        (r23223)
@@ -484,6 +484,7 @@
 
   if ( $book_index == "telepathy-glib"    ||
        $book_index == "wayland-protocols" ||
+       $book_index == "libqmi"            ||
        $book_index == "libmbim"           ||
        $book_index == "wayland"           )
     return find_max( $lines, "/$package/", 
"/^.*$package-([\d\.]*\d)\.tar.*$/", TRUE );

Modified: trunk/scripts/blfs-chapter13.php
==============================================================================
--- trunk/scripts/blfs-chapter13.php    Sun May 31 11:07:39 2020        (r23222)
+++ trunk/scripts/blfs-chapter13.php    Sun May 31 15:25:22 2020        (r23223)
@@ -357,6 +357,10 @@
           'match'   => '^.*$',
           'replace' => "https://pypi.python.org/pypi/Beaker/"; ),
 
+   array( 'pkg'     => 'py3c',
+          'match'   => '^.*$',
+          'replace' => "https://github.com/encukou/py3c/releases"; ),
+
    array( 'pkg'     => 'MarkupSafe',
           'match'   => '^.*$',
           'replace' => "https://pypi.python.org/pypi/MarkupSafe/"; ),
@@ -671,6 +675,9 @@
   if ( $book_index == "librep" )
     return find_max( $lines, "/librep/", "/^.*[_-](\d[\d\.]*\d)\.tar.*$/" );
 
+  if ( $book_index == "py3c" )
+    return find_max( $lines, "/v\d\./", "/^.*v(\d[\d\.]*\d).*$/" );
+
   if ( $book_index == "pycairo" )
     return find_max( $lines, "/pycairo/", "/^.*pycairo-(\d[\d\.]*\d)\.tar.*$/" 
);
 
@@ -719,6 +726,9 @@
      array( 'pkg'   => 'PerlIO-utf8_strict',
             'regex' => "/\D*PerlIO-utf8_strict-([\d\.]+)\D*$/" ),
 
+     array( 'pkg'   => 'py3c',
+            'regex' => "/\D*py3c-([\d\.]+)\D*$/" ),
+
      array( 'pkg'   => 'Jinja2',
             'regex' => "/\D*Jinja2-([\d\.]+)\D*$/" ),
 

Modified: trunk/scripts/blfs-chapter17.php
==============================================================================
--- trunk/scripts/blfs-chapter17.php    Sun May 31 11:07:39 2020        (r23222)
+++ trunk/scripts/blfs-chapter17.php    Sun May 31 15:25:22 2020        (r23223)
@@ -17,7 +17,6 @@
 
 $regex = array();
 $regex[ 'serf'          ] = "/^.*Serf is ([\d\.]+\d).*$/";
-$regex[ 'neon'          ] = "/^.*neon-(\d[\d\.]*).tar.*$/";
 $regex[ 'libevent'      ] = "/^.*release-(\d[\d\.]*)-stable.*$/";
 $regex[ 'libnsl'        ] = "/^.*libnsl ([\d\.]+\d)*$/";
 $regex[ 'rpcsvc-proto'  ] = "/^.*Version ([\d\.]+\d)*$/";
@@ -76,6 +75,10 @@
           'match'   => '^.*$',
           'replace' => "http://www.mutt.org/download.html"; ),
 
+   array( 'pkg'     => 'neon',
+          'match'   => '^.*$',
+          'replace' => "https://github.com/notroj/neon/releases/"; ),
+
    array( 'pkg'     => 'nghttp2',
           'match'   => '^.*$',
           'replace' => "https://github.com/nghttp2/nghttp2/releases/"; ),
@@ -219,6 +222,9 @@
   if ( $book_index == "mutt" )
     return find_max( $lines, '/mutt-/', '/^.*mutt-([\d\.]+).tar.*$/' );
 
+  if ( $book_index == "neon" )
+    return find_max( $lines, '/\d\./', '/^.* ([\d\.]+).*$/' );
+
   if ( $book_index == "nghttp2" )
     return find_max( $lines, '/nghttp2/', '/^.*nghttp2 v([\d\.]+).*$/' );
 
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to