summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-geoalchemy2/package.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-geoalchemy2/package.py b/var/spack/repos/builtin/packages/py-geoalchemy2/package.py
new file mode 100644
index 0000000000..ad5c5a4591
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-geoalchemy2/package.py
@@ -0,0 +1,28 @@
+# 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 PyGeoalchemy2(PythonPackage):
+ """Using SQLAlchemy with Spatial Databases"""
+
+ homepage = "https://geoalchemy-2.readthedocs.io/en/latest"
+ url = "https://pypi.io/packages/source/G/GeoAlchemy2/GeoAlchemy2-0.6.3.tar.gz"
+
+ version('0.6.3', sha256='4dc4c6c2bda0fc82cccab4aaff185a6570e13a5351d85e29e12984a55d4138ee')
+ version('0.4.2', sha256='17fa10b0c01bd2ab036ea56975dfa850098aa394a5d6ee04d88b2aefc16751cb')
+
+ variant('dev', default=False, description="Enable development dependencies")
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-sqlalchemy@0.8:', type=('build', 'run'))
+ depends_on('py-shapely@1.3.0:', type=('build', 'run'), when='+dev')
+
+ depends_on('py-pycodestyle@2.2.0', type='test')
+ depends_on('py-flake8@3.2.0', type='test')
+ depends_on('py-pytest@3.7.4', type='test', when='@0.6.3')
+ depends_on('py-pytest@3.1.3', type='test', when='@0.4.2')
+ depends_on('py-pytest-cov@2.5.1', type='test')