summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorBenjamin Meyers <meyersbs@users.noreply.github.com>2023-04-03 14:40:56 -0400
committerGitHub <noreply@github.com>2023-04-03 13:40:56 -0500
commit3d149a7db2d780d48d48fc86c6c43d2490235532 (patch)
tree31fd97c7684a786db0d4a6fd034b85f789a839f0 /var
parentcfea2d10104477f7f3f81f2a119a552ffc3da513 (diff)
downloadspack-3d149a7db2d780d48d48fc86c6c43d2490235532.tar.gz
spack-3d149a7db2d780d48d48fc86c6c43d2490235532.tar.bz2
spack-3d149a7db2d780d48d48fc86c6c43d2490235532.tar.xz
spack-3d149a7db2d780d48d48fc86c6c43d2490235532.zip
New package py-pycorenlp (#36609)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pycorenlp/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pycorenlp/package.py b/var/spack/repos/builtin/packages/py-pycorenlp/package.py
new file mode 100644
index 0000000000..87f3e98ea8
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pycorenlp/package.py
@@ -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"))