summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-jpype/package.py
blob: ba72b9ac91b96465bcc82bfe050a573415a8dadd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 2013-2018 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 PyJpype(PythonPackage):
    """JPype is an effort to allow python programs full access to java class
    libraries."""

    homepage = "https://github.com/originell/jpype"
    url      = "https://pypi.io/packages/source/J/JPype1/JPype1-0.6.2.tar.gz"

    version('0.6.2', '16e5ee92b29563dcc63bbc75556810c1')
    version('0.6.1', '468ca2d4b2cff7802138789e951d5d58')
    version('0.6.0', 'f0cbbe1d0c4b563f7e435d2bffc31736')

    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'))