New package: py-aiosqlite (#27852)

* New package: py-aiosqlite

* Update package.py
This commit is contained in:
iarspider 2021-12-08 19:24:44 +01:00 committed by GitHub
parent a873c7f456
commit 79a04605d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,22 @@
# Copyright 2013-2021 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 PyAiosqlite(PythonPackage):
"""asyncio bridge to the standard sqlite3 module"""
homepage = "https://aiosqlite.omnilib.dev"
pypi = "aiosqlite/aiosqlite-0.17.0.tar.gz"
version('0.17.0', sha256='f0e6acc24bc4864149267ac82fb46dfb3be4455f99fe21df82609cc6e6baee51')
depends_on('python@3.6:', type=('build', 'run'))
depends_on('py-typing-extensions@3.7.2:', type=('build', 'run'))
depends_on('py-flit-core@2:3', type='build')
# aiosqlite.test requires aiounittests, not yet in spack
import_modules = ['aiosqlite']