spack/var/spack/repos/builtin/packages/py-xmltodict/package.py
Jannek Squar 9331a943ce New package py-wradlib with new dependencies (#13459)
* New package py-wradlib with new dependencies py-deprecation, py-semver, py-xmltodict

* Adjusted package source source

* Adjusted xarray package to use pypi-source

* Added dependencies

* Added explicit gdal+python dependency

* Concretised dependency versions

* Removed strict version range
2019-11-03 17:38:27 -06:00

20 lines
712 B
Python

# Copyright 2013-2019 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 PyXmltodict(PythonPackage):
"""xmltodict is a Python module that makes working with XML feel like
you are working with JSON."""
homepage = "https://github.com/martinblech/xmltodict"
url = "https://pypi.io/packages/source/x/xmltodict/xmltodict-0.12.0.tar.gz"
version('0.12.0', sha256='50d8c638ed7ecb88d90561beedbf720c9b4e851a9fa6c47ebd64e99d166d8a21')
depends_on('py-setuptools', type='build')
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))