summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMickaël Schoentgen <contact@tiger-222.fr>2021-10-15 17:58:09 +0200
committerGitHub <noreply@github.com>2021-10-15 15:58:09 +0000
commit6686db42adf23e572a95ee9462663cce297af457 (patch)
tree7205c4c91e03cb7a848be378710de2e8c1dd9f31
parentec67bec22ad54175c5811c13eb5781de36f81bab (diff)
downloadspack-6686db42adf23e572a95ee9462663cce297af457.tar.gz
spack-6686db42adf23e572a95ee9462663cce297af457.tar.bz2
spack-6686db42adf23e572a95ee9462663cce297af457.tar.xz
spack-6686db42adf23e572a95ee9462663cce297af457.zip
py-charset-normalizer: add v2.0.7 (#26756)
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
-rw-r--r--var/spack/repos/builtin/packages/py-charset-normalizer/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-charset-normalizer/package.py b/var/spack/repos/builtin/packages/py-charset-normalizer/package.py
new file mode 100644
index 0000000000..9c9a1f2207
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-charset-normalizer/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2021 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 PyCharsetNormalizer(PythonPackage):
+ """The Real First Universal Charset Detector. Open, modern and actively
+ maintained alternative to Chardet."""
+
+ homepage = 'https://github.com/ousret/charset_normalizer'
+ pypi = 'charset-normalizer/charset-normalizer-2.0.7.tar.gz'
+
+ version('2.0.7', sha256='e019de665e2bcf9c2b64e2e5aa025fa991da8720daa3c1138cadd2fd1856aed0')
+
+ depends_on('python@3.5:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')