New package py-pycorenlp (#36609)

This commit is contained in:
Benjamin Meyers 2023-04-03 14:40:56 -04:00 committed by GitHub
parent cfea2d1010
commit 3d149a7db2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,24 @@
# Copyright 2013-2023 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 PyPycorenlp(PythonPackage):
"""Python wrapper for Stanford CoreNLP. This simply wraps the API from the server
included with CoreNLP."""
homepage = "https://github.com/smilli/py-corenlp"
pypi = "pycorenlp/pycorenlp-0.3.0.tar.gz"
maintainers("meyersbs")
version("0.3.0", sha256="3af60c557b23868659c0784efa1818f4c57c7b826b3e8f000d508aa17e62b67a")
# From setup.py
depends_on("py-setuptools", type="build")
depends_on("py-requests", type=("build", "run"))
# From README
depends_on("corenlp@3.6.0:", type=("build", "run"))