Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Sep 2018 19:38:38 +0000 (UTC)
From:      Nicola Vitale <nivit@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478719 - in head/finance: . beancount beancount/files
Message-ID:  <201809011938.w81Jcctw040330@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nivit
Date: Sat Sep  1 19:38:37 2018
New Revision: 478719
URL: https://svnweb.freebsd.org/changeset/ports/478719

Log:
  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/

Added:
  head/finance/beancount/
  head/finance/beancount/Makefile   (contents, props changed)
  head/finance/beancount/distinfo   (contents, props changed)
  head/finance/beancount/files/
  head/finance/beancount/files/patch-setup.py   (contents, props changed)
  head/finance/beancount/pkg-descr   (contents, props changed)
Modified:
  head/finance/Makefile

Modified: head/finance/Makefile
==============================================================================
--- head/finance/Makefile	Sat Sep  1 19:33:30 2018	(r478718)
+++ head/finance/Makefile	Sat Sep  1 19:38:37 2018	(r478719)
@@ -24,6 +24,7 @@
     SUBDIR += alkimia-qt4
     SUBDIR += aqbanking
     SUBDIR += aqmoney
+    SUBDIR += beancount
     SUBDIR += beanie
     SUBDIR += bitcoin-armory
     SUBDIR += cbb

Added: head/finance/beancount/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/finance/beancount/Makefile	Sat Sep  1 19:38:37 2018	(r478719)
@@ -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>

Added: head/finance/beancount/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/finance/beancount/distinfo	Sat Sep  1 19:38:37 2018	(r478719)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1534755684
+SHA256 (beancount/2.1.2.tar.gz) = ee6f0a75bfffa0b3e386d2a93709809624f935cbddf72f57bae281c18026452f
+SIZE (beancount/2.1.2.tar.gz) = 1703555

Added: head/finance/beancount/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/finance/beancount/files/patch-setup.py	Sat Sep  1 19:38:37 2018	(r478719)
@@ -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)

Added: head/finance/beancount/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/finance/beancount/pkg-descr	Sat Sep  1 19:38:37 2018	(r478719)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809011938.w81Jcctw040330>