diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2020-12-29 18:44:04 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-29 16:44:04 -0800 |
commit | a4accff26614af1b36e239035a22acf72a328313 (patch) | |
tree | d9880a891bc9239c889ce8926d6c01b01c28c757 /var/spack/repos/builtin/packages/py-pint/package.py | |
parent | c22141f444861abeaee297a3d92696e9ae94a509 (diff) | |
download | spack-a4accff26614af1b36e239035a22acf72a328313.tar.gz spack-a4accff26614af1b36e239035a22acf72a328313.tar.bz2 spack-a4accff26614af1b36e239035a22acf72a328313.tar.xz spack-a4accff26614af1b36e239035a22acf72a328313.zip |
PythonPackage: url -> pypi (#20610)
* Convert all `url` attributes in `PythonPackage`s to `pypi` attributes
* add `pypi =` to flake8 exceptions
Diffstat (limited to 'var/spack/repos/builtin/packages/py-pint/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-pint/package.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-pint/package.py b/var/spack/repos/builtin/packages/py-pint/package.py index fd2736f7c6..2c6b3b1c47 100644 --- a/var/spack/repos/builtin/packages/py-pint/package.py +++ b/var/spack/repos/builtin/packages/py-pint/package.py @@ -12,8 +12,7 @@ class PyPint(PythonPackage): It allows arithmetic operations between them and conversions from and to different units.""" - homepage = "https://pypi.org/project/Pint" - url = "https://pypi.io/packages/source/p/pint/Pint-0.11.tar.gz" + pypi = "pint/Pint-0.11.tar.gz" version('0.11', sha256='308f1070500e102f83b6adfca6db53debfce2ffc5d3cbe3f6c367da359b5cf4d') version('0.10.1', sha256='d739c364b8326fe3d70773d5720fa8b005ea6158695cad042677a588480c86e6') |