1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

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.

WWW: http://furius.ca/beancount/
This commit is contained in:
Nicola Vitale 2018-09-01 19:38:37 +00:00
parent c32ab33b69
commit af1e5e64be
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=478719
5 changed files with 68 additions and 0 deletions

View File

@ -24,6 +24,7 @@
SUBDIR += alkimia-qt4
SUBDIR += aqbanking
SUBDIR += aqmoney
SUBDIR += beancount
SUBDIR += beanie
SUBDIR += bitcoin-armory
SUBDIR += cbb

View File

@ -0,0 +1,41 @@
# $FreeBSD$
PORTNAME= beancount
PORTVERSION= 2.1.2
CATEGORIES= finance
MASTER_SITES= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/
DISTNAME= ${PORTVERSION}
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Double-Entry Accounting from Text Files
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}bottle>=0:www/py-bottle@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ply>=0:devel/py-ply@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}python-magic>=0:devel/py-python-magic@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}bottle>=0:www/py-bottle@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ply>=0:devel/py-ply@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}google-api-python-client>=0:www/py-google-api-python-client@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}python-magic>=0:devel/py-python-magic@${PY_FLAVOR}
# Project hosted on Bitbucket
BB_ACCOUNT= blais
BB_COMMIT= 2b20d3017825
BB_PROJECT= ${PORTNAME}
WRKSRC= ${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}
USES= python:3.5+
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1534755684
SHA256 (beancount/2.1.2.tar.gz) = ee6f0a75bfffa0b3e386d2a93709809624f935cbddf72f57bae281c18026452f
SIZE (beancount/2.1.2.tar.gz) = 1703555

View File

@ -0,0 +1,18 @@
--- setup.py.orig 2018-05-12 17:29:03 UTC
+++ setup.py
@@ -168,6 +168,7 @@ assert isinstance(version, str)
def get_hg_changeset():
"""Get the Mercurial changeset id."""
+ return None
try:
output = subprocess.check_output(['hg', 'parent', '--template', '{node} {date}'],
shell=False)
@@ -179,6 +180,7 @@ def get_hg_changeset():
def get_git_changeset():
"""Get the Git changeset id."""
+ return None
try:
output = subprocess.check_output(['git', 'log', '--pretty=%H %ct', '-1'],
shell=False)

View File

@ -0,0 +1,5 @@
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.
WWW: http://furius.ca/beancount/