git: c5a35529bd45 - main - finance/beangulp: Importers Framework for Beancount
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Jan 2025 09:46:01 UTC
The branch main has been updated by delphij:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c5a35529bd459cedfa3bb94de8bbbe71bcfd27b8
commit c5a35529bd459cedfa3bb94de8bbbe71bcfd27b8
Author: Xin LI <delphij@FreeBSD.org>
AuthorDate: 2025-01-12 09:29:18 +0000
Commit: Xin LI <delphij@FreeBSD.org>
CommitDate: 2025-01-12 09:45:34 +0000
finance/beangulp: Importers Framework for Beancount
---
finance/Makefile | 1 +
finance/beangulp/Makefile | 26 ++++++++++++++++++++++++++
finance/beangulp/distinfo | 3 +++
finance/beangulp/pkg-descr | 4 ++++
4 files changed, 34 insertions(+)
diff --git a/finance/Makefile b/finance/Makefile
index faffc818a4f7..1dedd126463f 100644
--- a/finance/Makefile
+++ b/finance/Makefile
@@ -19,6 +19,7 @@
SUBDIR += alkimia
SUBDIR += aqbanking
SUBDIR += beancount
+ SUBDIR += beangulp
SUBDIR += beanie
SUBDIR += chiapos
SUBDIR += electrs
diff --git a/finance/beangulp/Makefile b/finance/beangulp/Makefile
new file mode 100644
index 000000000000..6e0ce2773eef
--- /dev/null
+++ b/finance/beangulp/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= beangulp
+PORTVERSION= 0.1.1
+CATEGORIES= finance
+MASTER_SITES= PYPI
+
+MAINTAINER= delphij@FreeBSD.org
+COMMENT= Importers Framework for Beancount
+WWW= https://github.com/beancount/beangulp/tree/master/examples/
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>0:textproc/py-chardet@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}beautifulsoup>4:www/py-beautifulsoup@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}click>=7:devel/py-click@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}magic>0:devel/py-magic@${PY_FLAVOR} \
+ beancount>0:finance/beancount
+
+USES= python # same as finance/beancount
+USE_PYTHON= autoplist distutils noflavors
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/finance/beangulp/distinfo b/finance/beangulp/distinfo
new file mode 100644
index 000000000000..7a3414444d08
--- /dev/null
+++ b/finance/beangulp/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1736656788
+SHA256 (beangulp-0.1.1.tar.gz) = 1fd131c76e5fda8c056efcc2f8a0d2bf5cd8141ef29060762601358f80f4a9b5
+SIZE (beangulp-0.1.1.tar.gz) = 75040
diff --git a/finance/beangulp/pkg-descr b/finance/beangulp/pkg-descr
new file mode 100644
index 000000000000..6727f3a1af1d
--- /dev/null
+++ b/finance/beangulp/pkg-descr
@@ -0,0 +1,4 @@
+beangulp provides a framework for importing transactions into a Beancount
+ledger from account statements and other documents and for managing documents.
+
+Documentation is available in form of code docstrings and examples.