Skip to content

Commit

Permalink
packages/*: http -> https where permanent redirect (spack#45835)
Browse files Browse the repository at this point in the history
* *: http -> https where permanent redirect

* fix: style
  • Loading branch information
wdconinc authored Aug 21, 2024
1 parent dc3c96d commit e8a1364
Show file tree
Hide file tree
Showing 72 changed files with 93 additions and 90 deletions.
4 changes: 2 additions & 2 deletions var/spack/repos/builtin/packages/ape/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ class Ape(Package):
Theory framework"""

homepage = "https://www.tddft.org/programs/APE/"
url = "http://www.tddft.org/programs/APE/sites/default/files/ape-2.2.1.tar.gz"
url = "https://gitlab.com/ape/ape/-/archive/2.2.1/ape-2.2.1.tar.gz"

version("2.2.1", sha256="1bdb7f987fde81f8a5f335da6b59fa884e6d185d4a0995c90fde7c04376ce9e3")
version("2.2.1", sha256="3f5125182e308ab49338cad791e175ce158526a56c6ca88ac6582c1e5d7435d4")

depends_on("gsl")
depends_on("libxc@:4", when="@2.3.0:")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class AperturePhotometry(Package):
"""Aperture Photometry Tool APT is software for astronomical research"""

homepage = "http://www.aperturephotometry.org/"
homepage = "https://www.aperturephotometry.org/"
url = "https://web.ipac.caltech.edu/staff/laher/apt/APT_v2.8.4.tar.gz"
maintainers("snehring")

Expand Down
6 changes: 3 additions & 3 deletions var/spack/repos/builtin/packages/camx/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ class Camx(MakefilePackage):

version(
"6.50",
url="http://www.camx.com/getmedia/caaf7983-616b-4207-bd10-c2b404bda78d/CAMx_v6-50-src-180430.tgz",
url="https://www.camx.com/getmedia/caaf7983-616b-4207-bd10-c2b404bda78d/CAMx_v6-50-src-180430.tgz",
sha256="4a53f78e0722d85a9c7d8ed6732aff55163a4ce06f69b6bbc9e00a3bf36a756c",
)
resource(
when="@6.50",
name="user_manual",
url="http://www.camx.com/files/camxusersguide_v6-50.pdf",
url="https://www.camx.com/files/camxusersguide_v6-50.pdf",
sha256="b02d9826d59f22f9daa5955bb7b9fd3e0ca86eb73017c5845896d40391c64588",
expand=False,
placement="doc",
)
resource(
when="@6.50",
name="input_data",
url="http://www.camx.com/getmedia/77ad8028-9388-4f5d-bcab-a418e15dde68/v6-50-specific-inputs-180430.tgz",
url="https://www.camx.com/getmedia/77ad8028-9388-4f5d-bcab-a418e15dde68/v6-50-specific-inputs-180430.tgz",
sha256="89b58283e37b8e2bd550a8ec62208f241be72c78dc26da9c42ad63c34f54ebfb",
placement="data",
)
Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/cdd/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Cdd(Package):
patch("Makefile.spack.patch")

def url_for_version(self, version):
url = "http://www.cs.mcgill.ca/~fukuda/download/cdd/cdd-{0}.tar.gz"
url = "https://www.cs.mcgill.ca/~fukuda/download/cdd/cdd-{0}.tar.gz"
return url.format(version.joined)

def install(self, spec, prefix):
Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/cram/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Cram(CMakePackage):
"""Cram runs many small MPI jobs inside one large MPI job."""

homepage = "https://github.com/llnl/cram"
url = "http://github.com/llnl/cram/archive/v1.0.1.tar.gz"
url = "https://github.com/llnl/cram/archive/v1.0.1.tar.gz"

version("1.0.1", sha256="985888018f6481c3e9ab4f1d1788e25725d8b92a1cf52b1366ee93793614709a")

Expand Down
9 changes: 7 additions & 2 deletions var/spack/repos/builtin/packages/ddt/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,20 @@ class Ddt(Package):
behavior to achieve lightning-fast performance at all scales."""

homepage = "https://arm.com"
url = "http://content.allinea.com/downloads/arm-forge-22.0.2-linux-x86_64.tar"
url = "https://downloads.linaroforge.com/22.1.3/arm-forge-22.1.3-linux-x86_64.tar"

maintainers("robgics")

license_required = True
license_files = ["./licences/ddt.lic"]

# Versions before 22.0 have a security vulnerability. Do not install them.
version("22.0.2", sha256="3db0c3993d1db617f850c48d25c9239f06a018c895ea305786a7ad836a44496d")
version("22.1.3", sha256="4f8a8b1df6ad712e89c82eedf4bd85b93b57b3c8d5b37d13480ff058fa8f4467")
version(
"22.0.2",
sha256="3db0c3993d1db617f850c48d25c9239f06a018c895ea305786a7ad836a44496d",
deprecated=True,
)

def setup_run_environment(self, env):
env.prepend_path("PATH", join_path(self.prefix, "bin"))
Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/flink/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Flink(Package):
depends_on("java@8:", type="run")

def url_for_version(self, version):
url = "http://archive.apache.org/dist/flink/flink-{0}/flink-{0}-bin-scala_2.11.tgz"
url = "https://archive.apache.org/dist/flink/flink-{0}/flink-{0}-bin-scala_2.11.tgz"
return url.format(version)

def install(self, spec, prefix):
Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/geoip/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Geoip(AutotoolsPackage):
"""Library for country/city/organization to IP address
or hostname mapping."""

homepage = "http://www.maxmind.com/app/c"
homepage = "https://www.maxmind.com/app/c"
url = "https://github.com/maxmind/geoip-api-c/releases/download/v1.6.12/GeoIP-1.6.12.tar.gz"

license("LGPL-2.1-or-later")
Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/gffread/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Gffread(MakefilePackage):
"""gffread: GFF/GTF utility providing format conversions, region filtering,
FASTA sequence extraction and more"""

homepage = "http://ccb.jhu.edu/software/stringtie/gff.shtml#gffread"
homepage = "https://ccb.jhu.edu/software/stringtie/gff.shtml#gffread"
url = "https://github.com/gpertea/gffread/releases/download/v0.12.7/gffread-0.12.7.tar.gz"

license("MIT")
Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/git/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Git(AutotoolsPackage):
projects with speed and efficiency.
"""

homepage = "http://git-scm.com"
homepage = "https://git-scm.com"
url = "https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.12.0.tar.gz"
maintainers("jennfshr")

Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/graphviz/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
class Graphviz(AutotoolsPackage):
"""Graph Visualization Software"""

homepage = "http://www.graphviz.org"
homepage = "https://www.graphviz.org"
git = "https://gitlab.com/graphviz/graphviz.git"
url = "https://gitlab.com/graphviz/graphviz/-/archive/2.46.0/graphviz-2.46.0.tar.bz2"

Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/hpctoolkit/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Hpctoolkit(AutotoolsPackage, MesonPackage):
measurements of a program's work, resource consumption, and inefficiency
and attributes them to the full calling context in which they occur."""

homepage = "http://hpctoolkit.org"
homepage = "https://hpctoolkit.org"
git = "https://gitlab.com/hpctoolkit/hpctoolkit.git"
maintainers("mwkrentel")

Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/hto4l/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Hto4l(MakefilePackage):
up to NLOPS electroweak accuracy and in presence of dimension-6 operators."""

homepage = "https://www2.pv.infn.it/~hepcomplex/hto4l.html"
url = "http://www2.pv.infn.it/~hepcomplex/releases/hto4l/Hto4l-v2.02.tar.bz2"
url = "https://www2.pv.infn.it/hepcomplex/releases/hto4l/Hto4l-v2.02.tar.bz2"

maintainers("haralmha")

Expand Down
6 changes: 2 additions & 4 deletions var/spack/repos/builtin/packages/hypre-cmake/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class HypreCmake(CMakePackage, CudaPackage):
features parallel multigrid methods for both structured and
unstructured grid problems."""

homepage = "http://computing.llnl.gov/project/linear_solvers/software.php"
homepage = "https://computing.llnl.gov/project/linear_solvers/software.php"
url = "https://github.com/hypre-space/hypre/archive/v2.14.0.tar.gz"
git = "https://github.com/hypre-space/hypre.git"

Expand Down Expand Up @@ -58,9 +58,7 @@ def url_for_version(self, version):
if version >= Version("2.12.0"):
url = f"https://github.com/hypre-space/hypre/archive/v{version}.tar.gz"
else:
url = (
f"http://computing.llnl.gov/project/linear_solvers/download/hypre-{version}.tar.gz"
)
url = f"https://computing.llnl.gov/project/linear_solvers/download/hypre-{version}.tar.gz"

return url

Expand Down
4 changes: 2 additions & 2 deletions var/spack/repos/builtin/packages/itstool/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ class Itstool(AutotoolsPackage):
rules from the W3C Internationalization Tag Set (ITS) to determine what
to translate and how to separate it into PO file messages."""

homepage = "http://itstool.org/"
url = "http://files.itstool.org/itstool/itstool-2.0.2.tar.bz2"
homepage = "https://itstool.org/"
url = "https://files.itstool.org/itstool/itstool-2.0.2.tar.bz2"

maintainers("agoodLANL")

Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/ldsc/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Ldsc(PythonPackage):
"""ldsc is a command line tool for estimating heritability and genetic correlation from
GWAS summary statistics. ldsc also computes LD scores"""

homepage = "http://github.com/bulik/ldsc"
homepage = "https://github.com/bulik/ldsc"
pypi = "ldsc/ldsc-2.0.1.tar.gz"

license("GPL-3.0-only", checked_by="A-N-Other")
Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/libnftnl/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Libnftnl(AutotoolsPackage):
over libmnl."""

homepage = "https://git.netfilter.org/libnftnl/"
url = "http://ftp.netfilter.org/pub/libnftnl/libnftnl-1.1.5.tar.bz2"
url = "https://ftp.netfilter.org/pub/libnftnl/libnftnl-1.1.5.tar.bz2"

license("GPL-2.0-or-later")

Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/libtheora/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Libtheora(AutotoolsPackage, MSBuildPackage):
"""Theora Video Compression."""

homepage = "https://www.theora.org"
url = "http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.xz"
url = "https://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.xz"
git = "https://gitlab.xiph.org/xiph/theora.git"

license("BSD-3-Clause")
Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/lua-bitlib/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class LuaBitlib(LuaPackage):
"""Lua-jit-like bitwise operations for lua"""

homepage = "http://luaforge.net/projects/bitlib"
homepage = "https://luaforge.net/projects/bitlib"
url = "https://luarocks.org/manifests/luarocks/bitlib-23-2.src.rock"

version(
Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/lua-lpeg/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class LuaLpeg(LuaPackage):
"""pattern-matching for lua"""

homepage = "http://www.inf.puc-rio.br/~roberto/lpeg/"
homepage = "https://www.inf.puc-rio.br/~roberto/lpeg/"
url = "https://luarocks.org/manifests/gvvaughan/lpeg-1.0.2-1.src.rock"

license("MIT")
Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/minigmg/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Minigmg(Package):
Note, miniGMG code has been supersceded by HPGMG."""

homepage = (
"http://crd.lbl.gov/departments/computer-science/PAR/research/previous-projects/miniGMG/"
"https://crd.lbl.gov/departments/computer-science/PAR/research/previous-projects/miniGMG/"
)
url = "https://crd.lbl.gov/assets/Uploads/FTG/Projects/miniGMG/miniGMG.tar.gz"

Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/ocaml/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Ocaml(Package):
variant("force-safe-string", default=True, description="Enforce safe (immutable) strings")

def url_for_version(self, version):
url = "http://caml.inria.fr/pub/distrib/ocaml-{0}/ocaml-{1}.tar.gz"
url = "https://caml.inria.fr/pub/distrib/ocaml-{0}/ocaml-{1}.tar.gz"
return url.format(str(version)[:-2], version)

def install(self, spec, prefix):
Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/ompt-openmp/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class OmptOpenmp(CMakePackage):
"""

homepage = "https://github.com/OpenMPToolsInterface/LLVM-openmp"
url = "http://github.com/khuck/LLVM-openmp/archive/v0.1.tar.gz"
url = "https://github.com/khuck/LLVM-openmp/archive/v0.1.tar.gz"

license("MIT")

Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/open3d/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class Open3d(CMakePackage, CudaPackage):
"""Open3D: A Modern Library for 3D Data Processing."""

homepage = "http://www.open3d.org/"
homepage = "https://www.open3d.org/"
url = "https://github.com/isl-org/Open3D/archive/refs/tags/v0.13.0.tar.gz"
git = "https://github.com/isl-org/Open3D.git"

Expand Down
8 changes: 4 additions & 4 deletions var/spack/repos/builtin/packages/openfst/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ class Openfst(AutotoolsPackage):
finite-state transducers are automata where each transition has
an input label, an output label, and a weight."""

homepage = "http://www.openfst.org"
url = "http://www.openfst.org/twiki/pub/FST/FstDownload/openfst-1.6.1.tar.gz"
list_url = "http://www.openfst.org/twiki/bin/view/FST/FstDownload"
homepage = "https://www.openfst.org"
url = "https://www.openfst.org/twiki/pub/FST/FstDownload/openfst-1.6.1.tar.gz"
list_url = "https://www.openfst.org/twiki/bin/view/FST/FstDownload"

license("Apache-2.0")

Expand All @@ -33,7 +33,7 @@ class Openfst(AutotoolsPackage):
version(
"1.4.1-patch",
sha256="e671bf6bd4425a1fed4e7543a024201b74869bfdd029bdf9d10c53a3c2818277",
url="http://www.openfst.org/twiki/pub/FST/FstDownload/openfst-1.4.1.tar.gz",
url="https://www.openfst.org/twiki/pub/FST/FstDownload/openfst-1.4.1.tar.gz",
)
version("1.4.1", sha256="e671bf6bd4425a1fed4e7543a024201b74869bfdd029bdf9d10c53a3c2818277")
version("1.4.0", sha256="eb557f37560438f03912b4e43335c4c9e72aa486d4f2046127131185eb88f17a")
Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/perl-alien-svn/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class PerlAlienSvn(PerlPackage):
"""Perl SVN extension."""

homepage = "http://metacpan.org/source/MSCHWERN/Alien-SVN-v1.8.11.0"
homepage = "https://metacpan.org/source/MSCHWERN/Alien-SVN-v1.8.11.0"
url = "https://cpan.metacpan.org/authors/id/M/MS/MSCHWERN/Alien-SVN-v1.8.11.0.tar.gz"

version("1.8.11.0", sha256="acf8ebce1cb6958ef24611a453abee32b8e4dfe767563834362891ef3f30fc68")
Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/pism/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class Pism(CMakePackage):
"""Parallel Ice Sheet Model"""

homepage = "http://pism-docs.org/wiki/doku.php:="
homepage = "https://pism-docs.org/wiki/doku.php:="
url = "https://github.com/pism/pism/archive/v1.1.4.tar.gz"
git = "https://github.com/pism/pism.git"

Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/pixman/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Pixman(AutotoolsPackage):
pixel manipulation features such as image compositing and
trapezoid rasterization."""

homepage = "http://www.pixman.org"
homepage = "https://www.pixman.org"
url = "https://cairographics.org/releases/pixman-0.32.6.tar.gz"

license("MIT")
Expand Down
4 changes: 2 additions & 2 deletions var/spack/repos/builtin/packages/pocl/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Pocl(CMakePackage):
and devices, both for homogeneous CPU and heterogeneous
GPUs/accelerators."""

homepage = "http://portablecl.org"
homepage = "https://portablecl.org"
url = "https://github.com/pocl/pocl/archive/v1.1.tar.gz"
git = "https://github.com/pocl/pocl.git"

Expand Down Expand Up @@ -80,7 +80,7 @@ def url_for_version(self, version):
if version >= Version("1.0"):
url = "https://github.com/pocl/pocl/archive/v{0}.tar.gz"
else:
url = "http://portablecl.org/downloads/pocl-{0}.tar.gz"
url = "https://portablecl.org/downloads/pocl-{0}.tar.gz"

return url.format(version.up_to(2))

Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/py-croniter/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class PyCroniter(PythonPackage):
"""croniter provides iteration for datetime object with cron like format."""

homepage = "http://github.com/kiorky/croniter"
homepage = "https://github.com/kiorky/croniter"
pypi = "croniter/croniter-1.3.8.tar.gz"

license("MIT")
Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/py-doit/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class PyDoit(PythonPackage):
"""doit - Automation Tool."""

homepage = "http://pydoit.org/"
homepage = "https://pydoit.org/"
pypi = "doit/doit-0.36.0.tar.gz"

license("MIT")
Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/py-downhill/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class PyDownhill(PythonPackage):
"""Stochastic optimization routines for Theano"""

homepage = "http://github.com/lmjohns3/downhill"
homepage = "https://github.com/lmjohns3/downhill"
pypi = "downhill/downhill-0.4.0.tar.gz"

license("MIT")
Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/py-fastcluster/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class PyFastcluster(PythonPackage):
"""Fast hierarchical clustering routines for R and Python."""

homepage = "http://danifold.net/"
homepage = "https://danifold.net/"
pypi = "fastcluster/fastcluster-1.1.26.tar.gz"

license("BSD-2-Clause")
Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/py-flawfinder/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class PyFlawfinder(PythonPackage, SourceforgePackage):
"""a program that examines source code looking for security weaknesses"""

homepage = "http://dwheeler.com/flawfinder/"
homepage = "https://dwheeler.com/flawfinder/"
sourceforge_mirror_path = "project/flawfinder/flawfinder-2.0.19.tar.gz"

license("GPL-2.0+")
Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/py-glob2/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class PyGlob2(PythonPackage):
"""Version of the glob module that can capture patterns
and supports recursive wildcards."""

homepage = "http://github.com/miracle2k/python-glob2/"
homepage = "https://github.com/miracle2k/python-glob2/"
pypi = "glob2/glob2-0.7.tar.gz"

version("0.7", sha256="85c3dbd07c8aa26d63d7aacee34fa86e9a91a3873bc30bf62ec46e531f92ab8c")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class PyJupyterServerMathjax(PythonPackage):
"""MathJax resources as a Jupyter Server Extension."""

homepage = "http://jupyter.org/"
homepage = "https://jupyter.org/"
pypi = "jupyter_server_mathjax/jupyter_server_mathjax-0.2.3.tar.gz"

license("BSD-3-Clause")
Expand Down
Loading

0 comments on commit e8a1364

Please sign in to comment.