summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-awesome-slugify/package.py
blob: c3bddc684657ddd5c3c7ed807caf0b891ad471bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2023 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 PyAwesomeSlugify(PythonPackage):
    """Python flexible slugify function"""

    homepage = "https://github.com/dimka665/awesome-slugify"
    pypi = "awesome-slugify/awesome-slugify-1.6.5.tar.gz"

    version("1.6.5", sha256="bbdec3fa2187917473a2efad092b57f7125a55f841a7cf6a1773178d32ccfd71")

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

    depends_on("py-regex", type=("build", "run"))
    depends_on("py-unidecode@0.04.14:0.04", type=("build", "run"))