aboutsummaryrefslogtreecommitdiffstats
path: root/finance
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2020-04-08 07:57:31 +0800
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2020-04-08 07:57:31 +0800
commitc89a7d888fe2d08edca19c067f7266524969b5e4 (patch)
tree57a7c5240a9d6295e89485e49a81ac98f3b6ac57 /finance
parent81e49b17fb537f08b3fbfec7531cef3fbdc69f16 (diff)
downloadfreebsd-ports-gnome-c89a7d888fe2d08edca19c067f7266524969b5e4.tar.gz
freebsd-ports-gnome-c89a7d888fe2d08edca19c067f7266524969b5e4.tar.zst
freebsd-ports-gnome-c89a7d888fe2d08edca19c067f7266524969b5e4.zip
- New port: finance/py-ofxparse
ofxparse is a parser for Open Financial Exchange (.ofx) format files. OFX files are available from almost any online banking site, so they work well if you want to pull together your finances from multiple sources. Online trading accounts also provide account statements in OFX files. There are three different types of OFX files, called BankAccount, CreditAccount and InvestmentAccount files. This library has been tested with real-world samples of all three types. If you find a file that does not work with this library, please consider contributing the file so ofxparse can be improved. See the Help! section below for directions on how to do this. WWW: https://pypi.org/project/ofxparse/
Diffstat (limited to 'finance')
-rw-r--r--finance/Makefile1
-rw-r--r--finance/py-ofxparse/Makefile25
-rw-r--r--finance/py-ofxparse/distinfo3
-rw-r--r--finance/py-ofxparse/pkg-descr12
4 files changed, 41 insertions, 0 deletions
diff --git a/finance/Makefile b/finance/Makefile
index 28a179a4e6dd..b2898cd3be47 100644
--- a/finance/Makefile
+++ b/finance/Makefile
@@ -94,6 +94,7 @@
SUBDIR += py-backtrader
SUBDIR += py-bitcoin
SUBDIR += py-ebaysdk-python
+ SUBDIR += py-ofxparse
SUBDIR += py-pycoin
SUBDIR += py-python-bitcoinlib
SUBDIR += py-python-obelisk
diff --git a/finance/py-ofxparse/Makefile b/finance/py-ofxparse/Makefile
new file mode 100644
index 000000000000..1bf59d50627b
--- /dev/null
+++ b/finance/py-ofxparse/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= ofxparse
+PORTVERSION= 0.20
+CATEGORIES= finance python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= acm@FreeBSD.org
+COMMENT= Tools for working with the OFX file format
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup460>0:www/py-beautifulsoup460@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/finance/py-ofxparse/distinfo b/finance/py-ofxparse/distinfo
new file mode 100644
index 000000000000..ef30aedd2637
--- /dev/null
+++ b/finance/py-ofxparse/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1586283849
+SHA256 (ofxparse-0.20.tar.gz) = eb45db5802938ac0ab3664418ca564619cc9e7ec6d301c1063ffc16e587ec37e
+SIZE (ofxparse-0.20.tar.gz) = 53178
diff --git a/finance/py-ofxparse/pkg-descr b/finance/py-ofxparse/pkg-descr
new file mode 100644
index 000000000000..9478d9663a30
--- /dev/null
+++ b/finance/py-ofxparse/pkg-descr
@@ -0,0 +1,12 @@
+ofxparse is a parser for Open Financial Exchange (.ofx) format files. OFX
+files are available from almost any online banking site, so they work well if
+you want to pull together your finances from multiple sources. Online trading
+accounts also provide account statements in OFX files.
+
+There are three different types of OFX files, called BankAccount,
+CreditAccount and InvestmentAccount files. This library has been tested with
+real-world samples of all three types. If you find a file that does not work
+with this library, please consider contributing the file so ofxparse can be
+improved. See the Help! section below for directions on how to do this.
+
+WWW: https://pypi.org/project/ofxparse/