summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-04-24 20:00:42 -0500
committerGitHub <noreply@github.com>2020-04-24 20:00:42 -0500
commit510d8821e5e7d59481b1c8e882226aa5cec1a3b7 (patch)
treeac233a6c61410d1898fa545fe05d3c608c78d393 /var
parent0ee023d29f613f718f5b88c158b120adb8b2fe2e (diff)
downloadspack-510d8821e5e7d59481b1c8e882226aa5cec1a3b7.tar.gz
spack-510d8821e5e7d59481b1c8e882226aa5cec1a3b7.tar.bz2
spack-510d8821e5e7d59481b1c8e882226aa5cec1a3b7.tar.xz
spack-510d8821e5e7d59481b1c8e882226aa5cec1a3b7.zip
py-nltk: add new package (#16290)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-nltk/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-nltk/package.py b/var/spack/repos/builtin/packages/py-nltk/package.py
new file mode 100644
index 0000000000..9dbbcc2651
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-nltk/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2020 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)
+
+
+class PyNltk(PythonPackage):
+ """The Natural Language Toolkit (NLTK) is a Python package for
+ natural language processing."""
+
+ homepage = "https://www.nltk.org/"
+ url = "https://pypi.io/packages/source/n/nltk/nltk-3.5.zip"
+
+ version('3.5', sha256='845365449cd8c5f9731f7cb9f8bd6fd0767553b9d53af9eb1b3abf7700936b35')
+
+ depends_on('python@3.5:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-click', type=('build', 'run'))
+ depends_on('py-regex', type=('build', 'run'))
+ depends_on('py-tqdm', type=('build', 'run'))
+
+ # May require additional third-party software:
+ # https://github.com/nltk/nltk/wiki/Installing-Third-Party-Software