spack/var/spack/repos/builtin/packages/py-bsddb3/package.py
Todd Gamblin a8ccb8e116 copyrights: update all files with license headers for 2021
- [x] add `concretize.lp`, `spack.yaml`, etc. to licensed files
- [x] update all licensed files to say 2013-2021 using
      `spack license update-copyright-year`
- [x] appease mypy with some additions to package.py that needed
      for oneapi.py
2021-01-02 12:12:00 -08:00

25 lines
914 B
Python

# 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 PyBsddb3(PythonPackage):
"""This module provides a nearly complete wrapping of the Oracle/Sleepycat
C API for the Database Environment, Database, Cursor, Log Cursor,
Sequence and Transaction objects, and each of these is exposed
as a Python type in the bsddb3.db module."""
pypi = "bsddb3/bsddb3-6.2.5.tar.gz"
version('6.2.5', sha256='784bf40ad935258507594a89b32ea11f362cde120751c8b96de163955ced7db8')
depends_on('python@2.6:')
depends_on('py-setuptools', type='build')
depends_on('berkeley-db')
# For testing... see here for an example that uses BerkeleyDB
# http://code.activestate.com/recipes/189060-using-berkeley-db-database/