From c519d4560a93fbcb5ad346d159d914b64412f275 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sat, 10 Jul 2021 17:08:03 -0500 Subject: Set up currency for MakrupSafe and Jinja2 --- lfs-latest-git.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lfs-latest-git.php') 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.*$/" ); -- cgit v1.2.3-54-g00ecf