summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-04-12 09:16:49 -0500
committerGitHub <noreply@github.com>2020-04-12 09:16:49 -0500
commite1b308af58fe1ad2f07a44b0fe29330c3b424a77 (patch)
treec69173103d32049929874d0af20c6609b12fb0cc /var
parent97dcf7b8ee0c1e8e69613b9181759952a83edd63 (diff)
downloadspack-e1b308af58fe1ad2f07a44b0fe29330c3b424a77.tar.gz
spack-e1b308af58fe1ad2f07a44b0fe29330c3b424a77.tar.bz2
spack-e1b308af58fe1ad2f07a44b0fe29330c3b424a77.tar.xz
spack-e1b308af58fe1ad2f07a44b0fe29330c3b424a77.zip
py-setuptools-rust: add new package (#16008)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-setuptools-rust/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-setuptools-rust/package.py b/var/spack/repos/builtin/packages/py-setuptools-rust/package.py
new file mode 100644
index 0000000000..262ea03bbe
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-setuptools-rust/package.py
@@ -0,0 +1,18 @@
+# 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 PySetuptoolsRust(PythonPackage):
+ """Setuptools rust extension plugin."""
+
+ homepage = "https://github.com/PyO3/setuptools-rust"
+ url = "https://github.com/PyO3/setuptools-rust/archive/v0.10.6.tar.gz"
+
+ version('0.10.6', sha256='1446d3985e4aaf4cc679fda8a48a73ac1390b627c8ae1bebe7d9e08bb3b33769')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-semantic-version@2.6.0:', type=('build', 'run'))
+ depends_on('py-toml@0.9.0:', type=('build', 'run'))
+ depends_on('rust', type='run')