2019-01-01 14:04:23 +08:00
|
|
|
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
|
2018-10-08 04:52:23 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
2017-11-30 16:05:40 +08:00
|
|
|
#
|
2018-10-08 04:52:23 +08:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2017-11-30 16:05:40 +08:00
|
|
|
from spack import *
|
|
|
|
|
|
|
|
|
|
|
|
class PyToml(PythonPackage):
|
|
|
|
"""A Python library for parsing and creating TOML configuration files.
|
|
|
|
For more information on the TOML standard, see
|
|
|
|
https://github.com/toml-lang/toml.git"""
|
|
|
|
|
|
|
|
homepage = "https://github.com/uiri/toml.git"
|
|
|
|
url = "https://github.com/uiri/toml/archive/0.9.3.tar.gz"
|
|
|
|
|
2019-02-06 08:02:41 +08:00
|
|
|
version('0.10.0', sha256='c3821b94be15da61d631bfff45b5c58074f01149792182e68f8690829cabfcf6')
|
|
|
|
version('0.9.3', sha256='633a90ecb1f5665b58f0c94153fcf519313ef53e1de0eac90929cd6b6a014235')
|
2017-11-30 16:05:40 +08:00
|
|
|
|
|
|
|
depends_on('py-setuptools', type='build')
|
|
|
|
depends_on('python@2.6:2.8,3.3:', type=('build', 'run'))
|
|
|
|
|
|
|
|
phases = ['build', 'check', 'install']
|