summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhealther <healther@users.noreply.github.com>2017-03-02 20:50:21 +0100
committerAdam J. Stewart <ajstewart426@gmail.com>2017-03-02 13:50:21 -0600
commitd0835289e8578452a755ca3fcb0afb62ee885e5a (patch)
tree5eb0975641743f3520e1562e82c852832c25e307
parent73836fccd2942079db8eb12c014c3ce32e8fc203 (diff)
downloadspack-d0835289e8578452a755ca3fcb0afb62ee885e5a.tar.gz
spack-d0835289e8578452a755ca3fcb0afb62ee885e5a.tar.bz2
spack-d0835289e8578452a755ca3fcb0afb62ee885e5a.tar.xz
spack-d0835289e8578452a755ca3fcb0afb62ee885e5a.zip
add package py-chardet (#3310)
-rw-r--r--var/spack/repos/builtin/packages/py-chardet/package.py36
1 files changed, 36 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-chardet/package.py b/var/spack/repos/builtin/packages/py-chardet/package.py
new file mode 100644
index 0000000000..82e6df80ea
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-chardet/package.py
@@ -0,0 +1,36 @@
+##############################################################################
+# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
+# Produced at the Lawrence Livermore National Laboratory.
+#
+# This file is part of Spack.
+# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
+# LLNL-CODE-647188
+#
+# For details, see https://github.com/llnl/spack
+# Please also see the LICENSE file for our notice and the LGPL.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License (as
+# published by the Free Software Foundation) version 2.1, February 1999.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
+# conditions of the GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##############################################################################
+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')