New package: py-pykml (#12539)

This commit is contained in:
Sinan 2019-08-23 17:27:36 -07:00 committed by Peter Scheibel
parent 24c052de39
commit a9cd44cc2e

View file

@ -0,0 +1,22 @@
# 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 PyPykml(PythonPackage):
"""pyKML is a Python package for parsing and authoring KML documents.
It is based on the lxml.objectify API which provides Pythonic access to
XML documents.
"""
homepage = "https://pypi.org/project/pykml/"
url = "https://pypi.io/packages/source/p/pykml/pykml-0.1.3.tar.gz"
version('0.1.3', sha256='e1a133e582f0b4652a6b00bac970b446d90580664e5a634a670731c990ff9f05')
depends_on('py-setuptools', type='build')
depends_on('py-lxml@2.2.6:', type=('build', 'run'))
depends_on('py-nose', type='test')