From 05f8e080676f192d1530e952b57e2655d606ee40 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Tue, 29 Dec 2020 02:03:08 -0600 Subject: PythonPackage: add pypi attribute to infer homepage/url/list_url (#17587) --- var/spack/repos/builtin/packages/py-matplotlib/package.py | 2 +- var/spack/repos/builtin/packages/py-numpy/package.py | 2 +- var/spack/repos/builtin/packages/py-scipy/package.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-matplotlib/package.py b/var/spack/repos/builtin/packages/py-matplotlib/package.py index b8589ffc59..435938d9b5 100644 --- a/var/spack/repos/builtin/packages/py-matplotlib/package.py +++ b/var/spack/repos/builtin/packages/py-matplotlib/package.py @@ -11,7 +11,7 @@ class PyMatplotlib(PythonPackage): and interactive visualizations in Python.""" homepage = "https://matplotlib.org/" - url = "https://pypi.io/packages/source/m/matplotlib/matplotlib-3.3.2.tar.gz" + pypi = "matplotlib/matplotlib-3.3.2.tar.gz" maintainers = ['adamjstewart'] import_modules = [ diff --git a/var/spack/repos/builtin/packages/py-numpy/package.py b/var/spack/repos/builtin/packages/py-numpy/package.py index 106f40e76c..4778c64916 100644 --- a/var/spack/repos/builtin/packages/py-numpy/package.py +++ b/var/spack/repos/builtin/packages/py-numpy/package.py @@ -16,7 +16,7 @@ class PyNumpy(PythonPackage): number capabilities""" homepage = "https://numpy.org/" - url = "https://pypi.io/packages/source/n/numpy/numpy-1.19.4.zip" + pypi = "numpy/numpy-1.19.4.zip" git = "https://github.com/numpy/numpy.git" maintainers = ['adamjstewart'] diff --git a/var/spack/repos/builtin/packages/py-scipy/package.py b/var/spack/repos/builtin/packages/py-scipy/package.py index c01d47e55e..900b9a8f0d 100644 --- a/var/spack/repos/builtin/packages/py-scipy/package.py +++ b/var/spack/repos/builtin/packages/py-scipy/package.py @@ -12,7 +12,7 @@ class PyScipy(PythonPackage): as routines for numerical integration and optimization.""" homepage = "https://www.scipy.org/" - url = "https://pypi.io/packages/source/s/scipy/scipy-1.5.4.tar.gz" + pypi = "scipy/scipy-1.5.4.tar.gz" git = "https://github.com/scipy/scipy.git" maintainers = ['adamjstewart'] -- cgit v1.2.3-70-g09d2