new package: py-spatialite (#12597)

* new package: py-spatialite

* make flake8 happy

Co-authored-by: Sinan81 <sbulut@3vgeomatics.com>
This commit is contained in:
Sinan 2020-04-01 06:09:39 -07:00 committed by GitHub
parent 97cfef320c
commit 49aa28790c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')