summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-gensim/package.py
blob: a08cbbe98d18a01ecaeee0759289bec8c2d07664 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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)

from spack import *


class PyGensim(PythonPackage):
    """Gensim is a Python library for topic modelling, document indexing and
    similarity retrieval with large corpora. Target audience is the natural
    language processing (NLP) and information retrieval (IR) community."""

    homepage = "https://radimrehurek.com/gensim"
    url      = "https://pypi.io/packages/source/g/gensim/gensim-3.8.1.tar.gz"

    maintainers = ['adamjstewart']

    version('3.8.1', sha256='33277fc0a8d7b0c7ce70fcc74bb82ad39f944c009b334856c6e86bf552b1dfdc')
    version('3.8.0', sha256='ec5de7ff2bfa8692fa96a846bb5aae52f267fc322fbbe303c1f042d258af5766')

    depends_on('python@2.7:2.8,3.5:', type=('build', 'run'))
    depends_on('py-setuptools', type='build')
    depends_on('py-numpy@1.11.3:', type=('build', 'run'))
    depends_on('py-scipy@0.18.1:', type=('build', 'run'))
    depends_on('py-six@1.5.0:', type=('build', 'run'))
    depends_on('py-smart-open@1.8.1:', type=('build', 'run'))