From c89a7d888fe2d08edca19c067f7266524969b5e4 Mon Sep 17 00:00:00 2001 From: Jose Alonso Cardenas Marquez Date: Tue, 7 Apr 2020 23:57:31 +0000 Subject: [PATCH] - 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/ --- finance/Makefile | 1 + finance/py-ofxparse/Makefile | 25 +++++++++++++++++++++++++ finance/py-ofxparse/distinfo | 3 +++ finance/py-ofxparse/pkg-descr | 12 ++++++++++++ 4 files changed, 41 insertions(+) create mode 100644 finance/py-ofxparse/Makefile create mode 100644 finance/py-ofxparse/distinfo create mode 100644 finance/py-ofxparse/pkg-descr 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 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/