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

pkgname="python-degiro-connector"
_name="degiro_connector"
pkgver=3.0.11
pkgrel=2
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" "python-poetry")
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
b2sums=('ab7d3a6f77d0d0e3f224d47c9c2ac3864b910792a7b21cb72b00f19fbf13a454e13f2a8bb51bb5c189985fb3e8d800a46a9c46cee3cf5d7dbbc05dea5689b4a3')
options=("!strip")

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

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