summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-unidecode/package.py
blob: c5acb2dc4c58d172a0e641434c4b8d4dad7cac18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 PyUnidecode(PythonPackage):
    """ASCII transliterations of Unicode text"""

    homepage = "https://pypi.org/project/Unidecode"
    url      = "https://pypi.io/packages/source/u/unidecode/Unidecode-1.1.1.tar.gz"

    version('1.1.1', sha256='2b6aab710c2a1647e928e36d69c21e76b453cd455f4e2621000e54b2a9b8cce8')
    version('0.04.21', sha256='280a6ab88e1f2eb5af79edff450021a0d3f0448952847cd79677e55e58bad051')

    depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
    depends_on('py-setuptools', type='build')