Skip to content
Snippets Groups Projects
Commit e6ec2496 authored by Eleni Mathioulaki's avatar Eleni Mathioulaki
Browse files

add wheel to avoid building with setuptools

parent 3abc621e
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,10 @@ class PyQuantities(PythonPackage):
pypi = "quantities/quantities-0.12.1.tar.gz"
maintainers = ['apdavison']
version('0.14.0', sha256='b5cbe363e27dc6d16abeba9fab7a5c98775d81b7d7f16cc691ba00041e02e1d0')
# temporary fix to avoid building with py-setuptools@:61, that doesn't support PEP 621
version('0.14.0', sha256='abb993ac16817c5303da3bcf866bcfc19a0d797f4d85c06adebb8b6fe2bcb67a',
url= "https://pypi.io/packages/py3/q/quantities/quantities-0.14.0-py3-none-any.whl", expand=False)
# version('0.14.0', sha256='b5cbe363e27dc6d16abeba9fab7a5c98775d81b7d7f16cc691ba00041e02e1d0')
version('0.13.0', sha256='0fde20115410de21cefa786f3aeae69c1b51bb19ee492190324c1da705e61a81')
version('0.12.5', sha256='67546963cb2a519b1a4aa43d132ef754360268e5d551b43dd1716903d99812f0')
version('0.12.4', sha256='a33d636d1870c9e1127631185d89b0105a49f827d6aacd44ad9d8f151f331d8b')
......@@ -34,6 +37,7 @@ class PyQuantities(PythonPackage):
# pip silently replaces distutils with setuptools
depends_on('py-setuptools', type='build')
depends_on('py-setuptools-scm', type='build')
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')
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment