Files
spack/var/spack/repos/builtin/packages/py-clean-text/package.py
Todd Gamblin 3118647802 Update copyright year to 2024 (#41919)
It was time to run `spack license update-copyright-year` again.
2024-01-02 09:21:30 +01:00

27 lines
1.0 KiB
Python

# Copyright 2013-2024 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.package import *
class PyCleanText(PythonPackage):
"""User-generated content on the Web and in social media is
often dirty. Preprocess your scraped data with clean-text
to create a normalized text representation."""
pypi = "clean-text/clean-text-0.5.0.tar.gz"
license("Apache-2.0")
version("0.6.0", sha256="8374b385fc2a26e06383f62aed076fa6be115e5832239e2a7fd8b344fa8d2ab2")
version("0.5.0", sha256="e525951bef0c8b72e03c987fdac2c475b61d7debf7a8834366fd75716179b6e1")
depends_on("python@3.6:", type=("build", "run"))
depends_on("python@3.7:", when="@0.6:", type=("build", "run"))
depends_on("py-poetry@0.12:", type="build")
depends_on("py-emoji", type=("build", "run"))
depends_on("py-emoji@1", when="@0.6:", type=("build", "run"))
depends_on("py-ftfy@6", type=("build", "run"))