summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-chardet/package.py
blob: ab4b79982dac913cba45676e0b90af20041af63b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright 2013-2018 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 PyChardet(PythonPackage):
    """Universal encoding detector for Python 2 and 3"""

    homepage = "https://github.com/chardet/chardet"
    url      = "https://pypi.io/packages/source/c/chardet/chardet-2.3.0.tar.gz"

    version('2.3.0', '25274d664ccb5130adae08047416e1a8')

    depends_on('py-setuptools', type='build')