summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew-Dunning-NNL <67964561+Andrew-Dunning-NNL@users.noreply.github.com>2021-01-19 17:57:10 -0500
committerGitHub <noreply@github.com>2021-01-19 16:57:10 -0600
commit8a92ebd5049c9f05628295b68cad2ca8b5b45e10 (patch)
tree84c774e7aceec2d1518826f6e48c87add569dbe6
parentc6cb0d7869ccd9bf841579a612e3ef1687fba64a (diff)
downloadspack-8a92ebd5049c9f05628295b68cad2ca8b5b45e10.tar.gz
spack-8a92ebd5049c9f05628295b68cad2ca8b5b45e10.tar.bz2
spack-8a92ebd5049c9f05628295b68cad2ca8b5b45e10.tar.xz
spack-8a92ebd5049c9f05628295b68cad2ca8b5b45e10.zip
py-pyjnius: new recipie (#21150)
-rw-r--r--var/spack/repos/builtin/packages/py-pyjnius/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pyjnius/package.py b/var/spack/repos/builtin/packages/py-pyjnius/package.py
new file mode 100644
index 0000000000..78ee5467a5
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pyjnius/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 PyPyjnius(PythonPackage):
+ """Pyjnius is a Python library for accessing Java classes."""
+
+ homepage = "https://pyjnius.readthedocs.io/en/stable"
+ pypi = "pyjnius/pyjnius-1.3.0.0.tar.gz"
+
+ version('1.3.0.0', sha256='d20845e75a2d18224e661d0e2bc2ce9141f17472e685cd6579847b0a7b5da6ad')
+
+ depends_on('py-setuptools', type=('build', 'run'))
+ depends_on('py-six@1.7:', type=('build', 'run'))
+ depends_on('py-cython', type=('build', 'run'))
+ depends_on('java', type=('build', 'run'))