diff options
-rw-r--r-- | var/spack/repos/builtin/packages/py-fiona/package.py | 26 |
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 |