summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-06-17 19:54:59 -0500
committerElizabeth Fischer <rpf2116@columbia.edu>2019-06-17 20:54:58 -0400
commit17f20d0f32ccfd4eacff7fb81a7a1717c5aaa754 (patch)
tree06734a12b8cfcd6a86602942205c43eb04d5eab9 /var
parentee20b4826f0fbe3282224bc528f5fde8a3d61e9b (diff)
downloadspack-17f20d0f32ccfd4eacff7fb81a7a1717c5aaa754.tar.gz
spack-17f20d0f32ccfd4eacff7fb81a7a1717c5aaa754.tar.bz2
spack-17f20d0f32ccfd4eacff7fb81a7a1717c5aaa754.tar.xz
spack-17f20d0f32ccfd4eacff7fb81a7a1717c5aaa754.zip
Add py-fiona 1.8.6 (#11736)
* Add py-fiona 1.8.6 * Remove commented code * Python 3 will be required in the next release
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-fiona/package.py26
1 files changed, 18 insertions, 8 deletions
diff --git a/var/spack/repos/builtin/packages/py-fiona/package.py b/var/spack/repos/builtin/packages/py-fiona/package.py
index 18d330a774..f5ab1b5791 100644
--- a/var/spack/repos/builtin/packages/py-fiona/package.py
+++ b/var/spack/repos/builtin/packages/py-fiona/package.py
@@ -10,20 +10,30 @@ class PyFiona(PythonPackage):
"""Alternative Python binding for OGR"""
homepage = "http://toblerity.org/fiona/"
- url = "https://github.com/Toblerity/Fiona/archive/1.7.12.tar.gz"
+ url = "https://pypi.io/packages/source/F/Fiona/Fiona-1.8.6.tar.gz"
- version('1.7.12', 'a2269acf64d9c87482e5d67dae19501c')
+ maintainers = ['adamjstewart']
+ import_modules = ['fiona', 'fiona.fio']
+ version('1.8.6', sha256='fa31dfe8855b9cd0b128b47a4df558f1b8eda90d2181bff1dd9854e5556efb3e')
+ version('1.7.12', sha256='8b54eb8422d7c502bb7776b184018186bede1a489cf438a7a47f992ade6a0e51')
+
+ depends_on('python@3:', type=('build', 'run'), when='@1.9:')
depends_on('python@2.6:', type=('build', 'run'))
+ depends_on('gdal@1.8:', type=('build', 'run'))
- depends_on('py-cligj@0.4:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-cython', type='build')
+ depends_on('py-attrs@17:', type=('build', 'run'))
+ depends_on('py-click@4:7', type=('build', 'run'))
+ depends_on('py-cligj@0.5:', type=('build', 'run'))
+ depends_on('py-click-plugins@1:', type=('build', 'run'))
depends_on('py-six@1.7:', type=('build', 'run'))
depends_on('py-munch', type=('build', 'run'))
depends_on('py-argparse', type=('build', 'run'), when='^python@:2.6')
depends_on('py-ordereddict', type=('build', 'run'), when='^python@:2.6')
- depends_on('gdal@1.8:', type=('build', 'run'))
- depends_on('py-click-plugins', type=('build', 'run'))
+ depends_on('py-enum34', type=('build', 'run'), when='^python@:3.3')
- depends_on('py-setuptools', type='build')
- depends_on('py-cython@0.21.2:', type='build')
- depends_on('py-nose', type='test')
+ def test(self):
+ # PyPI tarball does not come with unit tests
+ pass