summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pyjnius/package.py
blob: 889ac49e7ea281b0093dc000086f70263498fde6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2022 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.package 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'))