diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2020-10-20 18:40:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-20 18:40:31 +0200 |
commit | a51702e3a26e09517188a22986d9f9d8bf90b0d5 (patch) | |
tree | 1ad8d87f3dac9efc8f9c302ceaaa46cf24ae3a09 /var | |
parent | 53fc4f92b77a8f80dccffa4f9e4a7f1abe34b08e (diff) | |
download | spack-a51702e3a26e09517188a22986d9f9d8bf90b0d5.tar.gz spack-a51702e3a26e09517188a22986d9f9d8bf90b0d5.tar.bz2 spack-a51702e3a26e09517188a22986d9f9d8bf90b0d5.tar.xz spack-a51702e3a26e09517188a22986d9f9d8bf90b0d5.zip |
py-archspec: added new package at v0.1.1 (#19395)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-archspec/package.py | 24 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-click/package.py | 15 |
2 files changed, 30 insertions, 9 deletions
diff --git a/var/spack/repos/builtin/packages/py-archspec/package.py b/var/spack/repos/builtin/packages/py-archspec/package.py new file mode 100644 index 0000000000..54aaea8037 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-archspec/package.py @@ -0,0 +1,24 @@ +# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) +class PyArchspec(PythonPackage): + """A library for detecting, labeling and reasoning about + microarchitectures. + """ + + homepage = "https://archspec.readthedocs.io/en/latest/" + url = "https://pypi.io/packages/source/a/archspec/archspec-0.1.1.tar.gz" + + maintainers = ['alalazo'] + + import_modules = ['archspec'] + + version('0.1.1', sha256='34bafad493b41208857232e21776216d716de37ab051a6a4a1cc1653f7e26423') + + depends_on('python@2.7:2.8,3.5:', type=('build', 'run')) + + depends_on('py-click@7.1.2:7.999.0', type=('build', 'run')) + depends_on('py-six@1.13.0:1.999.0', type=('build', 'run')) + + depends_on('py-setuptools', type='build') diff --git a/var/spack/repos/builtin/packages/py-click/package.py b/var/spack/repos/builtin/packages/py-click/package.py index 6e19441d39..52e616dbfc 100644 --- a/var/spack/repos/builtin/packages/py-click/package.py +++ b/var/spack/repos/builtin/packages/py-click/package.py @@ -2,19 +2,16 @@ # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) - -from spack import * - - class PyClick(PythonPackage): """A simple wrapper around optparse for powerful command line utilities.""" homepage = "http://github.com/mitsuhiko/click" - url = "https://pypi.io/packages/source/c/click/Click-7.0.tar.gz" + url = "https://pypi.io/packages/source/c/click/click-7.1.2.tar.gz" - version('7.0', sha256='5b94b49521f6456670fdb30cd82a4eca9412788a93fa6dd6df72c94d5a8ff2d7') - version('6.6', sha256='cc6a19da8ebff6e7074f731447ef7e112bd23adf3de5c597cf9989f2fd8defe9', - url='https://pypi.io/packages/source/c/click/click-6.6.tar.gz') + version('7.1.2', sha256='d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a') + version('7.0', sha256='5b94b49521f6456670fdb30cd82a4eca9412788a93fa6dd6df72c94d5a8ff2d7', + url='https://pypi.io/packages/source/c/click/Click-7.0.tar.gz') + version('6.6', sha256='cc6a19da8ebff6e7074f731447ef7e112bd23adf3de5c597cf9989f2fd8defe9') - depends_on('python@2.7:2.8,3.4:', type=('build', 'run')) + depends_on('python@2.7:2.8,3.5:', type=('build', 'run')) depends_on('py-setuptools', type='build') |