summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-smartypants/package.py
blob: e9866c088f7e0629895749f901f0d29acea4fd10 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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 PySmartypants(PythonPackage):
    """smartypants is a Python fork of SmartyPants."""

    homepage = "https://github.com/leohemsted/smartypants.py"

    # PyPI only has the wheel
    url = "https://github.com/leohemsted/smartypants.py/archive/refs/tags/v2.0.1.tar.gz"

    license("BSD-3-Clause")

    version("2.0.1", sha256="b98191911ff3b4144ef8ad53e776a2d0ad24bd508a905c6ce523597c40022773")

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