Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions repos/spack_repo/builtin/packages/readline/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ class Readline(AutotoolsPackage, GNUMirrorPackage):

depends_on("ncurses")

# TODO: patches below are not managed by the GNUMirrorPackage base class
# Patches below are not fetched through the GNUMirrorPackage base class (it only
# manages the main tarball URL), so we point them at ftpmirror.gnu.org ourselves,
# for the same reliability reasons GNUMirrorPackage uses the mirror redirector.
for verstr, num, checksum in [
("8.3", "001", "21f0a03106dbe697337cd25c70eb0edbaa2bdb6d595b45f83285cdd35bac84de"),
("8.3", "002", "e27364396ba9f6debf7cbaaf1a669e2b2854241ae07f7eca74ca8a8ba0c97472"),
Expand Down Expand Up @@ -73,7 +75,7 @@ class Readline(AutotoolsPackage, GNUMirrorPackage):
]:
ver = Version(verstr)
patch(
f"https://ftp.gnu.org/gnu/readline/readline-{ver}-patches/readline{ver.joined}-{num}",
f"https://ftpmirror.gnu.org/gnu/readline/readline-{ver}-patches/readline{ver.joined}-{num}",
level=0,
when=f"@{ver}",
sha256=checksum,
Expand Down
Loading