summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bb8d8e398fe0a54889b06d43fd49d561aaeb8356 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: Zoddo <archlinux+aur@zoddo.fr>

pkgname=ofxstatement-qif
pkgver=0.6.0
pkgrel=1
pkgdesc='A plugin for ofxstatement to convert Quicken Interchange Format (QIF) formatted bank transaction files to OFX format.'
arch=('any')
url="https://github.com/robvadai/ofxstatement-qif"
license=('GPL-3.0-only')
depends=(
	ofxstatement
	python-numpy
	python-quiffen
	python-pydantic
)
makedepends=(
	python-build
	python-installer
	python-wheel
	python-setuptools-scm
)
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('e1bace9ace1d048a4a6a38778406f295e0e1e3ed1ba56a950f4833eb5af5f5b9')

build() {
	export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}

	cd ${pkgname}-${pkgver}
	python -m build --wheel --no-isolation
}

package() {
	cd ${pkgname}-${pkgver}
	python -m installer --destdir="${pkgdir}" dist/*.whl
}