spack/var/spack/repos/builtin/packages/py-smartypants/package.py
Glenn Johnson 3b5afef842
new packages: py-rst2pdf and py-smartypants (#28697)
* new packages: py-rst2pdf and py-smartypants

The py-smartypants package is a dependency of py-rst2pdf.

* add missing dependencies
2022-02-01 23:56:09 -07:00

20 lines
643 B
Python

# Copyright 2013-2022 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 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"
version('2.0.1', sha256='b98191911ff3b4144ef8ad53e776a2d0ad24bd508a905c6ce523597c40022773')
depends_on('py-setuptools', type='build')