Add package: py-beancount (#21274)

* Add package: py-beancount

* Fixes
This commit is contained in:
Jean-Paul Pelteret 2021-01-31 19:29:29 +01:00 committed by GitHub
parent f7929aaeb1
commit a04e0d2525
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,31 @@
# 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 PyBeancount(PythonPackage):
"""A double-entry bookkeeping computer language that lets you define
financial transaction records in a text file, read them in memory,
generate a variety of reports from them, and provides a web
interface.."""
homepage = "http://furius.ca/beancount/"
pypi = "beancount/beancount-2.3.3.tar.gz"
version('2.3.3', sha256='d9a29839ea867d1dda7af1f4bf5d3959aa7c1574cd4a0bc86f69ee64c555c71c')
depends_on('python@3.6:', type=('build', 'run'))
depends_on('py-setuptools', type=('build'))
depends_on('py-bottle', type=('build', 'run'))
depends_on('py-lxml+htmlsoup', type=('build', 'run'))
depends_on('py-ply', type=('build', 'run'))
depends_on('py-python-dateutil', type=('build', 'run'))
depends_on('py-python-magic', type=('build', 'run'))
depends_on('py-beautifulsoup4', type=('build', 'run'))
depends_on('py-requests', type=('build', 'run'))
depends_on('py-chardet', type=('build', 'run'))
depends_on('py-google-api-python-client', type=('build', 'run'))