diff --git a/srcpkgs/ledger-autosync/template b/srcpkgs/ledger-autosync/template new file mode 100644 index 00000000000000..92fc2195356050 --- /dev/null +++ b/srcpkgs/ledger-autosync/template @@ -0,0 +1,13 @@ +# Template file for 'ledger-autosync' +pkgname=ledger-autosync +version=1.2.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-poetry-core" +depends="ofxclient python3-lxml python3-ofxparse" +short_desc="Pull transactions from your bank and create ledger transactions" +maintainer="Aryo Nazaradeh " +license="GPL-3.0-only" +homepage="https://github.com/egh/ledger-autosync" +distfiles="https://github.com/egh/ledger-autosync/archive/v${version}.tar.gz" +checksum=8621e23cc26b84a95409ee3e073e857a5c22bdd86125bdbe7ea60e4cc9d20cfc diff --git a/srcpkgs/ofxclient/patches/remove-argparse.patch b/srcpkgs/ofxclient/patches/remove-argparse.patch new file mode 100644 index 00000000000000..287bdc9198e446 --- /dev/null +++ b/srcpkgs/ofxclient/patches/remove-argparse.patch @@ -0,0 +1,9 @@ +--- a/setup.py ++++ b/setup.py +@@ -39,7 +39,6 @@ + }, + install_requires=[ +- "argparse", + "keyring", + "lxml", + "ofxhome", diff --git a/srcpkgs/ofxclient/template b/srcpkgs/ofxclient/template new file mode 100644 index 00000000000000..0330339541fc85 --- /dev/null +++ b/srcpkgs/ofxclient/template @@ -0,0 +1,17 @@ +# Template file for 'ofxclient' +pkgname=ofxclient +version=2.0.4 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-BeautifulSoup4 python3-keyring python3-lxml python3-ofxparse python3-ofxhome" +short_desc="Simple ofxclient command line utility and OFX client libraries" +maintainer="Aryo Nazaradeh " +license="MIT" +homepage="https://github.com/captin411/ofxclient" +distfiles="https://github.com/captin411/ofxclient/archive/v${version}.tar.gz" +checksum=e4cedf05a64fad1a3c05b440920859841eacb1f86f54b03e7476850145c34445 + +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/python3-ofxhome/template b/srcpkgs/python3-ofxhome/template new file mode 100644 index 00000000000000..0271572679b605 --- /dev/null +++ b/srcpkgs/python3-ofxhome/template @@ -0,0 +1,12 @@ +# Template file for 'python3-ofxhome' +pkgname=python3-ofxhome +version=0.3.3 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools" +short_desc="REST client for the web service provided by ofxhome.com" +maintainer="Aryo Nazaradeh " +license="GPL-3.0-or-later" +homepage="https://github.com/captin411/ofxhome" +distfiles="${PYPI_SITE}/o/ofxhome/ofxhome-${version}.tar.gz" +checksum=8510451fd228c30627c3d18c2e530df35944afc2a4c97c888df6262c3276fee6 diff --git a/srcpkgs/python3-ofxparse/template b/srcpkgs/python3-ofxparse/template new file mode 100644 index 00000000000000..67f7dbc4640fe5 --- /dev/null +++ b/srcpkgs/python3-ofxparse/template @@ -0,0 +1,17 @@ +# Template file for 'python3-ofxparse' +pkgname=python3-ofxparse +version=0.21 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip" +depends="python3-BeautifulSoup4 python3-lxml python3-six" +short_desc="Parser for Open Financial Exchange (.ofx) format files" +maintainer="Aryo Nazaradeh " +license="MIT" +homepage="https://sites.google.com/site/ofxparse/" +distfiles="${PYPI_SITE}/o/ofxparse/ofxparse-${version}.tar.gz" +checksum=057ab68d31270dece4d1a47662096aa76341968aaee145ffc711cb44cbd5c4a7 + +post_install() { + vlicense LICENSE +}