diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 10 insertions, 12 deletions
@@ -1,23 +1,22 @@ -# Maintainer: lothar_m <lothar_m at riseup dot net> +# Maintainer: Mathieu <mathieu@clabaut.net> _pkgname=ofxclient pkgname=python-ofxclient-git pkgver=2.0.4.r0.g4da2719 -pkgrel=1 +pkgrel=5 pkgdesc="Simple ofxclient command line utility and OFX client libraries for development." arch=('x86_64' 'i686') url="https://github.com/captin411/ofxclient" license=('MIT') depends=('python>=3.7' 'python-beautifulsoup4' - 'ofxparse' - 'ofxhome' + 'python-ofxhome' 'python-keyring' 'python-configargparse' 'python-ofxparse' ) -# makedepends=() -provides=(ofxclient) -conflicts=(ofxclient) +makedepends=(python-build python-installer python-wheel) +provides=(ofxclient python-ofxclient) +conflicts=(ofxclient python-ofxclient) source=('ofxclient::git+https://github.com/captin411/ofxclient.git#branch=master') md5sums=('SKIP') @@ -30,13 +29,12 @@ pkgver() { } build() { - cd "$srcdir/$_pkgname" - python setup.py build + cd "$_pkgname" + python -m build --wheel --no-isolation } package() { - # install package - cd "$srcdir/$_pkgname" - python setup.py install --root="$pkgdir/" + cd "$_pkgname" + python -m installer --destdir="$pkgdir" dist/*.whl } |