summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ee871919a16bbb9eafbd8b22d4462f825b5067b9 (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
# Maintainer: AlphaJack <alphajack at tuta dot io>

pkgname="python-degiro-connector"
pkgver=2.0.22
pkgrel=1
pkgdesc="Yet another library to access Degiro's API"
url="https://github.com/Chavithra/degiro-connector"
license=("BSD-3")
arch=("any")
provides=("degiro-connector")
depends=("python"
         "python-grpcio"
         "python-onetimepass"
         "python-pandas"
         "python-protobuf"
         "python-requests"
         "python-wrapt")
makedepends=("python-build" "python-installer" "python-wheel")
source=("$pkgname-$pkgver.tar.gz::https://github.com/Chavithra/degiro-connector/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('04015ecb3ddb1b23573abe02cbee2dc9fc42df58d65d3168fad436a7f82d795e')
options=("!strip")

build(){
 cd "degiro-connector-$pkgver"
 python -m build --wheel --no-isolation
}

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