diff options
author | Sinan <sbulutw@gmail.com> | 2020-04-01 06:09:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-01 08:09:39 -0500 |
commit | 49aa28790c5df2c8d2640eabc2f2058ef140194b (patch) | |
tree | 4c618d02f9f7bc13a13342abc3a697b85f11e5b4 /var | |
parent | 97cfef320c3b601fbaea870aeba1f93b5dd69c20 (diff) | |
download | spack-49aa28790c5df2c8d2640eabc2f2058ef140194b.tar.gz spack-49aa28790c5df2c8d2640eabc2f2058ef140194b.tar.bz2 spack-49aa28790c5df2c8d2640eabc2f2058ef140194b.tar.xz spack-49aa28790c5df2c8d2640eabc2f2058ef140194b.zip |
new package: py-spatialite (#12597)
* new package: py-spatialite
* make flake8 happy
Co-authored-by: Sinan81 <sbulut@3vgeomatics.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-spatialite/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-spatialite/package.py b/var/spack/repos/builtin/packages/py-spatialite/package.py new file mode 100644 index 0000000000..e78cff81ad --- /dev/null +++ b/var/spack/repos/builtin/packages/py-spatialite/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 PySpatialite(PythonPackage): + """Wrapper for standard Python module "sqlite3" which adds SpatiaLite + support. + """ + + homepage = "https://github.com/malexer/spatialite" + url = "https://pypi.io/packages/source/s/spatialite/spatialite-0.0.3.tar.gz" + + version('0.0.3', sha256='a0761f239a52f326b14ce41ba61b6614dfcc808b978a0bec4a37c1de9ad9071e') + + depends_on('py-setuptools', type='build') + depends_on('libspatialite') |