2023-01-19 06:30:17 +08:00
|
|
|
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
|
2020-04-09 10:45:33 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2022-05-29 00:55:44 +08:00
|
|
|
from spack.package import *
|
2020-04-09 10:45:33 +08:00
|
|
|
|
|
|
|
|
|
|
|
class PyAwesomeSlugify(PythonPackage):
|
|
|
|
"""Python flexible slugify function"""
|
|
|
|
|
|
|
|
homepage = "https://github.com/dimka665/awesome-slugify"
|
2020-12-30 08:44:04 +08:00
|
|
|
pypi = "awesome-slugify/awesome-slugify-1.6.5.tar.gz"
|
2020-04-09 10:45:33 +08:00
|
|
|
|
|
|
|
version("1.6.5", sha256="bbdec3fa2187917473a2efad092b57f7125a55f841a7cf6a1773178d32ccfd71")
|
|
|
|
|
|
|
|
depends_on("py-setuptools", type="build")
|
|
|
|
|
|
|
|
depends_on("py-regex", type=("build", "run"))
|
2021-10-03 21:09:02 +08:00
|
|
|
depends_on("py-unidecode@0.04.14:0.04", type=("build", "run"))
|