blob: 845656a6204805d347fd93d108c8eebd5f4a3c76 (
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-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 PyRnc2rng(PythonPackage):
"""RELAX NG Compact to regular syntax conversion library."""
homepage = "https://github.com/djc/rnc2rng"
pypi = "rnc2rng/rnc2rng-2.6.5.tar.gz"
version("2.6.6", sha256="5a01d157857b5f010a94167e7092cc49efe2531d58e013f12c4e60b8c4df78f1")
version("2.6.5", sha256="d354afcf0bf8e3b1e8f8d37d71a8fe5b1c0cf75cbd4b71364a9d90b5108a16e5")
depends_on("py-setuptools", type="build")
# rnc2rng@2.6.5 uses use_2to3 which was removed in py-setuptools@58
depends_on("py-setuptools@:57", when="@:2.6.5", type="build")
depends_on("py-rply", type=("build", "run"))
|