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
This commit is contained in:
parent
2c0bfd071f
commit
bd24d53ceb
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user