summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kuhn <michael.kuhn@ovgu.de>2022-05-17 01:16:32 +0200
committerGitHub <noreply@github.com>2022-05-16 23:16:32 +0000
commit1df7de62ca4740be24539f2411b7d8a250dcaf85 (patch)
tree3d5a7e259b16fd13aa6cfb9a1c2e735225e3f7c5
parent97ec8f1d192c029a831aef2e1d30cd7a93f2c842 (diff)
downloadspack-1df7de62ca4740be24539f2411b7d8a250dcaf85.tar.gz
spack-1df7de62ca4740be24539f2411b7d8a250dcaf85.tar.bz2
spack-1df7de62ca4740be24539f2411b7d8a250dcaf85.tar.xz
spack-1df7de62ca4740be24539f2411b7d8a250dcaf85.zip
py-cffconvert: new package (#30694)
-rw-r--r--var/spack/repos/builtin/packages/py-cffconvert/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-cffconvert/package.py b/var/spack/repos/builtin/packages/py-cffconvert/package.py
new file mode 100644
index 0000000000..1fc6ccb5d9
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-cffconvert/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2022 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)
+
+from spack import *
+
+
+class PyCffconvert(PythonPackage):
+ """Command line program to validate and convert CITATION.cff files."""
+
+ homepage = "https://github.com/citation-file-format/cff-converter-python"
+ pypi = "cffconvert/cffconvert-2.0.0.tar.gz"
+
+ version('2.0.0', sha256='b4379ee415c6637dc9e3e7ba196605cb3cedcea24613e4ea242c607d9e98eb50')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+
+ depends_on('py-setuptools', type='build')
+
+ depends_on('py-click@7.0:8', type=('build', 'run'))
+ depends_on('py-requests@2.20:2', type=('build', 'run'))
+ depends_on('py-ruamel-yaml@0.16.0:', type=('build', 'run'))
+ depends_on('py-pykwalify@1.6:', type=('build', 'run'))
+ depends_on('py-jsonschema@3.0:3', type=('build', 'run'))