summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Davison <andrew.davison@cnrs.fr>2022-04-28 18:14:50 +0200
committerGitHub <noreply@github.com>2022-04-28 11:14:50 -0500
commit47f9e713028dba8a841e9ed041c4e53bc1cc4c46 (patch)
treeea3b97c0a6f1e49e3e08844206941940447f466f
parent2e9da47a2df49a0c78545ee563592c495d4e19f8 (diff)
downloadspack-47f9e713028dba8a841e9ed041c4e53bc1cc4c46.tar.gz
spack-47f9e713028dba8a841e9ed041c4e53bc1cc4c46.tar.bz2
spack-47f9e713028dba8a841e9ed041c4e53bc1cc4c46.tar.xz
spack-47f9e713028dba8a841e9ed041c4e53bc1cc4c46.zip
py-quantities: add versions from 0.12.2-13.0 (#28586)
* py-quantities: add versions from 0.12.2-13.0 * Attempt to fix the version specification * add maintainer, implement suggestions from reviewer
-rw-r--r--var/spack/repos/builtin/packages/py-quantities/package.py21
1 files changed, 19 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-quantities/package.py b/var/spack/repos/builtin/packages/py-quantities/package.py
index c514489248..6bc6c11b1c 100644
--- a/var/spack/repos/builtin/packages/py-quantities/package.py
+++ b/var/spack/repos/builtin/packages/py-quantities/package.py
@@ -11,14 +11,31 @@ class PyQuantities(PythonPackage):
homepage = "https://python-quantities.readthedocs.org"
pypi = "quantities/quantities-0.12.1.tar.gz"
+ maintainers = ['apdavison']
+ version('0.13.0', sha256='0fde20115410de21cefa786f3aeae69c1b51bb19ee492190324c1da705e61a81')
+ version('0.12.5', sha256='67546963cb2a519b1a4aa43d132ef754360268e5d551b43dd1716903d99812f0')
+ version('0.12.4', sha256='a33d636d1870c9e1127631185d89b0105a49f827d6aacd44ad9d8f151f331d8b')
+ version('0.12.3', sha256='582f3c7aeba897846761e966615e01202a5e5d06add304492931b05085d19883')
+ version('0.12.2', sha256='92e8397938516483f4fd1855097ec11953ab10dd0bf3293954559226679f76f0')
version('0.12.1', sha256='0a03e8511db603c57ca80dee851c43f08d0457f4d592bcac2e154570756cb934')
version('0.11.1', sha256='4382098a501b55bf0fdb3dba2061a161041253697d78811ecfd7c55449836660',
url="https://pypi.io/packages/source/q/quantities/quantities-0.11.1.zip")
conflicts('^py-numpy@1.13:', when='@:0.11')
- depends_on('python@2.6.0:')
+ depends_on('python@2.6:2.7,3.3:3.4', type=('build', 'run'), when='@:0.11')
+ depends_on('python@2.7.0:2.7,3.4:3.6', type=('build', 'run'), when='@0.12.0:0.12.2')
+ depends_on('python@2.7.0:2.7,3.4:3.7', type=('build', 'run'), when='@0.12.3')
+ depends_on('python@2.7.0:2.7,3.4:3.8', type=('build', 'run'), when='@0.12.4:0.12.5')
+ depends_on('python@3.7:3.10', type=('build', 'run'), when='@0.13:')
+
# pip silently replaces distutils with setuptools
depends_on('py-setuptools', type='build')
- depends_on('py-numpy@1.4.0:', type=('build', 'run'))
+
+ depends_on('py-numpy@1.7.1:1.9', type=('build', 'run'), when='@:0.11')
+ depends_on('py-numpy@1.8.2:1.13', type=('build', 'run'), when='@0.12.0:0.12.1')
+ depends_on('py-numpy@1.8.2:1.14', type=('build', 'run'), when='@0.12.2')
+ depends_on('py-numpy@1.8.2:1.16', type=('build', 'run'), when='@0.12.3')
+ depends_on('py-numpy@1.8.2:1.17', type=('build', 'run'), when='@0.12.4:0.12')
+ depends_on('py-numpy@1.16:', type=('build', 'run'), when='@0.13.0:')