New package: py-python-javabridge (#32075)

* [py-python-javabridge] New package

* [py-python-javabridge] Added dependencies

* [py-python-javabridge] Added types

* [py-python-javabridge] py-setuptools and java are dependencies

* [py-python-javabridge] Import update

* [@spackbot] updating style on behalf of qwertos

Co-authored-by: James A Zilberman <jazrc@rit.edu>
Co-authored-by: qwertos <qwertos@users.noreply.github.com>
This commit is contained in:
Jen Herting 2022-08-23 12:59:09 -04:00 committed by GitHub
parent 51293f3750
commit 2c567edc1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,21 @@
# 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 PyPythonJavabridge(PythonPackage):
"""The python-javabridge package makes it easy to start a
Java virtual machine (JVM) from Python and interact with it."""
homepage = "https://github.com/CellProfiler/python-javabridge/"
pypi = "python-javabridge/python-javabridge-4.0.3.tar.gz"
version("4.0.3", sha256="3fee0c235efcfe866f95695fdc0b6289eab2371043b32ff4ca6feff098de59c5")
depends_on("py-setuptools", type="build")
depends_on("py-cython@0.29.16:", type="build")
depends_on("py-numpy@1.20.1:", type=("build", "run"))
depends_on("java", type=("build", "run", "link"))