summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pep517/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/py-pep517/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-pep517/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pep517/package.py b/var/spack/repos/builtin/packages/py-pep517/package.py
new file mode 100644
index 0000000000..8dcd03c1fa
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pep517/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2021 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 PyPep517(PythonPackage):
+ """Wrappers to build Python packages using PEP 517 hooks."""
+
+ homepage = "https://github.com/pypa/pep517"
+ pypi = "pep517/pep517-0.12.0.tar.gz"
+
+ version('0.12.0', sha256='931378d93d11b298cf511dd634cf5ea4cb249a28ef84160b3247ee9afb4e8ab0')
+
+ depends_on('py-toml', when='^python@:3.5', type=('build', 'run'))
+ depends_on('py-importlib-metadata', when='^python@:3.7', type=('build', 'run'))
+ depends_on('py-zipp', when='^python@:3.7', type=('build', 'run'))
+ depends_on('py-tomli@1.1:', when='^python@3.6:', type=('build', 'run'))