py-parse-type: new package (#35909)

This commit is contained in:
Erik Heeren 2023-03-08 13:13:30 +01:00 committed by GitHub
parent 87c21a58d1
commit 0d4f9b26b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,18 @@
# 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 PyParseType(PythonPackage):
"""parse_type extends the parse module (opposite of string.format())."""
homepage = "https://github.com/jenisys/parse_type"
pypi = "parse-type/parse_type-0.6.0.tar.gz"
version("0.6.0", sha256="20b43c660e48ed47f433bce5873a2a3d4b9b6a7ba47bd7f7d2a7cec4bec5551f")
depends_on("py-setuptools", type="build")
depends_on("py-parse@1.18.0:", type=("build", "run"))
depends_on("py-six@1.11:", type=("build", "run"))