summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriarspider <iarspider@gmail.com>2020-02-16 05:24:44 +0100
committerGitHub <noreply@github.com>2020-02-15 22:24:44 -0600
commitbd24d53cebff77b42c41b07ca16fc682b63b54a0 (patch)
treed44ad384e9f788739bc27786250961d7d76575b8
parent2c0bfd071f97cd7452ad6876e56da80c258f5ce2 (diff)
downloadspack-bd24d53cebff77b42c41b07ca16fc682b63b54a0.tar.gz
spack-bd24d53cebff77b42c41b07ca16fc682b63b54a0.tar.bz2
spack-bd24d53cebff77b42c41b07ca16fc682b63b54a0.tar.xz
spack-bd24d53cebff77b42c41b07ca16fc682b63b54a0.zip
Add extra version of py-jpype1; add numpy as optional (variant) dependency (#14991)
* Add extra version of py-jpype1 * Add numpy as optional (variant) dependency
-rw-r--r--var/spack/repos/builtin/packages/py-jpype1/package.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-jpype1/package.py b/var/spack/repos/builtin/packages/py-jpype1/package.py
index 7b1424efcb..4a27b24018 100644
--- a/var/spack/repos/builtin/packages/py-jpype1/package.py
+++ b/var/spack/repos/builtin/packages/py-jpype1/package.py
@@ -13,13 +13,16 @@ class PyJpype1(PythonPackage):
homepage = "https://github.com/originell/jpype"
url = "https://pypi.io/packages/source/J/JPype1/JPype1-0.6.2.tar.gz"
+ version('0.6.3', sha256='6841523631874a731e1f94e1b1f130686ad3772030eaa3b6946256eeb1d10dd1')
version('0.6.2', sha256='99206412d80b9d5a81a7cc205267ca63554403eb57f13420302e2f39bfad7f25')
version('0.6.1', sha256='0d366228b7b37b0266184161cc7ea1ce58f60199f6ec9451985149ea873774be')
version('0.6.0', sha256='f5d783520cb4c30595c3bc509065e30fc292ec7cfb57045141eae77c518bcdb0')
+ variant('numpy', default=False, description='Build numpy extensions')
+
depends_on('python@2.6:')
depends_on('py-setuptools', type='build')
depends_on('java', type=('build', 'run'))
# extra requirements
- # depends_on('py-numpy@1.6:', type=('build', 'run'))
+ depends_on('py-numpy@1.6:', type=('build', 'run'), when='+numpy')