aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2021-07-10 17:08:03 -0500
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2021-07-10 17:08:03 -0500
commitc519d4560a93fbcb5ad346d159d914b64412f275 (patch)
tree179898ed777684cce49b4f3ff89e232e35745c28
parent28bdcfe0ef164ea92e1debc35bf71e62e29a5c4b (diff)
Set up currency for MakrupSafe and Jinja2
-rw-r--r--lfs-latest-git.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lfs-latest-git.php b/lfs-latest-git.php
index 5f0bc4e3d..29633c212 100644
--- a/lfs-latest-git.php
+++ b/lfs-latest-git.php
@@ -127,6 +127,8 @@ if ( $package == "procps-ng" ) $dirpath = "https://gitlab.com/procps-ng/procps/
if ( $package == "psmisc" ) $dirpath = "https://gitlab.com/psmisc/psmisc/-/tags";
if ( $package == "Python" ) $dirpath = "https://www.python.org/downloads/source/";
if ( $package == "shadow" ) $dirpath = "https://github.com/shadow-maint/shadow/releases";
+if ( $package == "MarkupSafe" ) $dirpath = "https://pypi.python.org/pypi/MarkupSafe/";
+if ( $package == "Jinja" ) $dirpath = "https://pypi.python.org/pypi/Jinja2/";
if ( $package == "systemd" ) $dirpath = "https://github.com/systemd/systemd/releases";
if ( $package == "tcl" ) $dirpath = "http://sourceforge.net/projects/tcl/files";
if ( $package == "util-linux" ) $dirpath = max_parent( $dirpath, "v." );
@@ -280,6 +282,9 @@ if ( $package == "zstd" ) $dirpath = "https://github.com/facebook/zstd/rel
if ( $package == "grub" )
return find_max( $lines, "/grub/", "/^.*grub-([\d\.]+).tar.xz.*$/" );
+ if ( $package == "Jinja" )
+ return find_max( $lines, "/Jinja/", "/^.*Jinja2 ([\d\.]+).*$/" );
+
if ( $package == "openssl" )
return find_max( $lines, "/openssl/", "/^.*openssl-([\d\.p]*\d.?).tar.*$/" );