diff options
author | Sinan <sbulutw@gmail.com> | 2019-08-23 17:27:36 -0700 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2019-08-23 17:27:36 -0700 |
commit | a9cd44cc2e3c51a599cd5348f1c9e842bc148030 (patch) | |
tree | 8c918f4c37ee8cd14b2ca74c44136cd047f65e1b | |
parent | 24c052de39d84c6e29026d4a4211843410b7ad2c (diff) | |
download | spack-a9cd44cc2e3c51a599cd5348f1c9e842bc148030.tar.gz spack-a9cd44cc2e3c51a599cd5348f1c9e842bc148030.tar.bz2 spack-a9cd44cc2e3c51a599cd5348f1c9e842bc148030.tar.xz spack-a9cd44cc2e3c51a599cd5348f1c9e842bc148030.zip |
New package: py-pykml (#12539)
-rw-r--r-- | var/spack/repos/builtin/packages/py-pykml/package.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pykml/package.py b/var/spack/repos/builtin/packages/py-pykml/package.py new file mode 100644 index 0000000000..1729813317 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pykml/package.py @@ -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') |