From 527f52df351b0e76f11bad5f6b4f5321c05d34c2 Mon Sep 17 00:00:00 2001 From: Dennis Terhorst <d.terhorst@fz-juelich.de> Date: Fri, 13 Jan 2023 09:31:43 +0100 Subject: [PATCH] add clang-format@9 --- packages/py-clang-format/package.py | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/packages/py-clang-format/package.py b/packages/py-clang-format/package.py index 9c47cc85..8ff04332 100644 --- a/packages/py-clang-format/package.py +++ b/packages/py-clang-format/package.py @@ -3,38 +3,19 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -# ---------------------------------------------------------------------------- -# If you submit this package back to Spack as a pull request, -# please first remove this boilerplate and all FIXME comments. -# -# This is a template package file for Spack. We've put "FIXME" -# next to all the things you'll want to change. Once you've handled -# them, you can save this file and test your package like this: -# -# spack install py-clang-format -# -# You can edit this file again by typing: -# -# spack edit py-clang-format -# -# See the Spack documentation for more information on packaging. -# ---------------------------------------------------------------------------- - from spack import * class PyClangFormat(PythonPackage): """FIXME: Put a proper description of your package here.""" - # FIXME: Add a proper url for your package's homepage here. homepage = "https://pypi.org/project/clang-format" url = "https://files.pythonhosted.org/packages/17/fd/723876a1e55397e4b060f2e9e3d4a5e4820f6e09ea05fe8c8cf4ddfd1ae8/clang_format-13.0.1-py2.py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl" - # FIXME: Add a list of GitHub accounts to - # notify when the package is updated. maintainers = ['terhorstd'] - version('13.0.1', sha256='58e91debc2b2d14d174c73c678ffac676cb171152ee3f4239b6cbe6975e4ede1', expand=False) + version('13.0.1', url='https://files.pythonhosted.org/packages/17/fd/723876a1e55397e4b060f2e9e3d4a5e4820f6e09ea05fe8c8cf4ddfd1ae8/clang_format-13.0.1-py2.py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl', sha256='58e91debc2b2d14d174c73c678ffac676cb171152ee3f4239b6cbe6975e4ede1', expand=False) + version('9.0.0', url='https://files.pythonhosted.org/packages/25/f2/d989afaf8a91385f18fd06e6202644be0bc3a1d14548c18a8ece4911e005/clang_format-9.0.0-py2.py3-none-manylinux1_x86_64.whl', sha256='085342f9e238c9b03a019e20ec23f242f8795a3cca9296ab2427b1dea45e7014', expand=False) # FIXME: Only add the python/pip/wheel dependencies if you need specific versions # or need to change the dependency type. Generic python/pip/wheel dependencies are -- GitLab