spack/var/spack/repos/builtin/packages/py-fiona/package.py
Neil Flood 9945a59c47 py-geopandas: New package. (#9919)
* py-geopandas: New package, including packages for its dependencies

* Trailing whitespace removed, etc

* One more trailing whitespace

* Removed some extraneous dependencies. No idea why I thought I needed them, but it now builds fine without them.

* Added a variant +plotting, to include the dependencies required for plotting, as these are large-ish if not being used.

* Added explicit dependency on py-matplotlib
2018-11-24 15:44:44 -06:00

30 lines
1.1 KiB
Python

# Copyright 2013-2018 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 PyFiona(PythonPackage):
"""Alternative Python binding for OGR"""
homepage = "http://toblerity.org/fiona/"
url = "https://github.com/Toblerity/Fiona/archive/1.7.12.tar.gz"
version('1.7.12', 'a2269acf64d9c87482e5d67dae19501c')
depends_on('python@2.6:', type=('build', 'run'))
depends_on('py-cligj@0.4:', 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-setuptools', type='build')
depends_on('py-cython@0.21.2:', type='build')
depends_on('py-nose', type='test')