diff options
author | Andrew-Dunning-NNL <67964561+Andrew-Dunning-NNL@users.noreply.github.com> | 2021-02-02 12:19:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-02 11:19:02 -0600 |
commit | 8b6c468cdfd9ba63296f7f5c299efb60e73dd91f (patch) | |
tree | c40e8bcb26a3c97687b6dfabc5939c61a08bb71f /var | |
parent | 71309f75b21b117bb90e3f34bde09009be563341 (diff) | |
download | spack-8b6c468cdfd9ba63296f7f5c299efb60e73dd91f.tar.gz spack-8b6c468cdfd9ba63296f7f5c299efb60e73dd91f.tar.bz2 spack-8b6c468cdfd9ba63296f7f5c299efb60e73dd91f.tar.xz spack-8b6c468cdfd9ba63296f7f5c299efb60e73dd91f.zip |
py-ftfy: new recipe (#21333)
* py-ftfy: new recipe
* py-ftfy: depend on python>3.5
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-ftfy/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-ftfy/package.py b/var/spack/repos/builtin/packages/py-ftfy/package.py new file mode 100644 index 0000000000..3d1594f80d --- /dev/null +++ b/var/spack/repos/builtin/packages/py-ftfy/package.py @@ -0,0 +1,20 @@ +# 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 PyFtfy(PythonPackage): + """Fixes Unicode that's broken in various ways.""" + + homepage = "https://ftfy.readthedocs.io" + pypi = "ftfy/ftfy-5.8.tar.gz" + + version('5.8', sha256='51c7767f8c4b47d291fcef30b9625fb5341c06a31e6a3b627039c706c42f3720') + + depends_on('python@3.5:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-wcwidth', type=('build', 'run')) |