summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-beancount/package.py
blob: ec2a418041ddb3183e29881a61d38f9426119e1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 2013-2022 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'))