[lfs] branch trunk updated: Update currency adding 'packaging.'

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <174472991397.17716.11719833949502900934@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository lfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new 97aaa219a Update currency adding 'packaging.'
     new 134786bcb Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk
97aaa219a is described below

commit 97aaa219af80ba0f9b8646c2366fed34b59248fd
Author: Bruce Dubbs <[email protected]>
AuthorDate: Tue Apr 15 10:11:29 2025 -0500

    Update currency adding 'packaging.'
---
 lfs-latest-git.php | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lfs-latest-git.php b/lfs-latest-git.php
index d8da03ef5..a6723e909 100644
--- a/lfs-latest-git.php
+++ b/lfs-latest-git.php
@@ -139,6 +139,7 @@ if ( $package == "mpfr"       ) $dirpath = "https://mpfr.loria.fr/mpfr-current";
 if ( $package == "ncurses"    ) $dirpath = "https://invisible-mirror.net/archives/ncurses";
 if ( $package == "ninja"      ) $dirpath = github("ninja-build/ninja");
 if ( $package == "openssl"    ) $dirpath = github("openssl/openssl");
+if ( $package == "packaging"  ) $dirpath = "https://pypi.org/rss/project/packaging/releases.xml";
 if ( $package == "procps-ng"  ) $dirpath = "https://gitlab.com/procps-ng/procps/-/tags";
 if ( $package == "psmisc"     ) $dirpath = "https://gitlab.com/psmisc/psmisc/-/tags";
 if ( $package == "Python"     ) $dirpath = "https://www.python.org/downloads/source/";
@@ -262,6 +263,9 @@ if ( $package == "zstd"       ) $dirpath = github("facebook/zstd");
      return find_max( $lines, "/wheel\/\d/", "/^.*wheel\/([\d\.]+).*$/" );
   # End Python modules
 
+  if ( $package == "packaging" )
+     return find_max( $lines, "/packaging/", "/^.*^.*packaging.([\d\.]+\d)\/.*$/" );
+
   if ( $package == "procps-ng" )
      return find_max( $lines, "/v\d/", "/^.*v([\d\.]+)$/" );
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.