diff options
author | Sinan <sbulutw@gmail.com> | 2019-09-08 15:09:24 -0700 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-09-08 17:09:24 -0500 |
commit | 4a18d40a6669aef177c868b50e20e998e2e46db1 (patch) | |
tree | 4c97d1ae5a9c61a754648df224fa391b035d128f | |
parent | d66caf7a660da68f64c0279b666351b7dc2609e6 (diff) | |
download | spack-4a18d40a6669aef177c868b50e20e998e2e46db1.tar.gz spack-4a18d40a6669aef177c868b50e20e998e2e46db1.tar.bz2 spack-4a18d40a6669aef177c868b50e20e998e2e46db1.tar.xz spack-4a18d40a6669aef177c868b50e20e998e2e46db1.zip |
new package: py-iniparse (#12638)
* new package: py-iniparse
* add git version supporting python3
* redo python dependency
-rw-r--r-- | var/spack/repos/builtin/packages/py-iniparse/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-iniparse/package.py b/var/spack/repos/builtin/packages/py-iniparse/package.py new file mode 100644 index 0000000000..131ab55029 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-iniparse/package.py @@ -0,0 +1,20 @@ +# 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 PyIniparse(PythonPackage): + """Accessing and Modifying INI files""" + + homepage = "https://github.com/candlepin/python-iniparse" + url = "https://pypi.io/packages/source/i/iniparse/iniparse-0.4.tar.gz" + git = "https://github.com/candlepin/python-iniparse.git" + + version('master', branch='master') + version('0.4', sha256='abc1ee12d2cfb2506109072d6c21e40b6c75a3fe90a9c924327d80bc0d99c054') + + depends_on('python@2.4:2.8', when='@:0.4', type=('build', 'run')) + depends_on('python@2.6:2.8,3.3:', when='@master:', type=('build', 'run')) |