Package Details: ofxstatement 0.9.1-2

Git Clone URL: https://aur.archlinux.org/ofxstatement.git (read-only, click to copy)
Package Base: ofxstatement
Description: Tool to convert proprietary bank statement to OFX format, suitable for importing to GnuCash
Upstream URL: https://github.com/kedder/ofxstatement
Licenses: GPL
Submitter: xduugu
Maintainer: AlphaJack
Last Packager: AlphaJack
Votes: 8
Popularity: 1.19
First Submitted: 2014-03-14 19:35 (UTC)
Last Updated: 2024-11-18 08:44 (UTC)

Latest Comments

Auerhuhn commented on 2024-02-23 09:05 (UTC)

Hi @AlphaJack,

thanks for adopting the package!

Would you mind adding python-installer to makedepends?

Also, python-setuptools needs to move back into depends because it’s needed at runtime, too (in plugin.py and tool.py according to namcap).

Regards
Claudia

exu commented on 2023-07-14 13:13 (UTC)

This package can't start due to missing dependencies. I implemented both suggestions @dreieck and it's working again. Can you please update the PKGBUILD?

# Contributor: xduugu
pkgname=ofxstatement
pkgver=0.8.0
pkgrel=1
pkgdesc="Tool to convert proprietary bank statement to OFX format, suitable for importing to GnuCash"
arch=('any')
url="https://github.com/kedder/ofxstatement"
license=('GPL')
depends=('python-appdirs>=1.3.0'
         'python-mock'
         'python-importlib-metadata')
makedepends=('python-setuptools')
source=("$pkgname-$pkgver.tar.gz::https://github.com/kedder/ofxstatement/archive/$pkgver.tar.gz")
sha512sums=('eefdd8e2bf8f98f0c17bea1ea19dce38a5e103b7b5de5767e5ab1c8c46eac53287fe4b7a45b36b0cbb019bc04048b0982e53a05d37d05b84dd9ce27634a830a0')

package() {
  cd "$srcdir/$pkgname-$pkgver"
  python setup.py install --root="$pkgdir" --optimize=1
}

dreieck commented on 2023-05-04 16:26 (UTC)

Is python-setuptools really a runtime dependency, and not a makedepends-dependency?

Regards!

dreieck commented on 2023-05-04 16:24 (UTC)

According to namcap, the dependencies python-mock and python-importlib-metadata are missing in the depends array:

ofxstatement E: Dependency python-mock detected and not included (python modules ['mock'] needed in files ['usr/lib/python3.11/site-packages/ofxstatement/tests/test_tool.py', 'usr/lib/python3.11/site-packages/ofxstatement/tests/test_plugin.py'])
ofxstatement E: Dependency python-importlib-metadata detected and not included (python modules ['importlib_metadata.distribution'] needed in files ['usr/bin/ofxstatement'])
[...]

Thanks for maintaining!