diff options
-rw-r--r-- | lib/spack/spack/build_systems/python.py | 2 | ||||
-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 |
3 files changed, 30 insertions, 11 deletions
diff --git a/lib/spack/spack/build_systems/python.py b/lib/spack/spack/build_systems/python.py index 5116a8aac6..99dc4ce0dc 100644 --- a/lib/spack/spack/build_systems/python.py +++ b/lib/spack/spack/build_systems/python.py @@ -2,8 +2,6 @@ # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) - - import inspect import os import shutil 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') |