summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 68cda4d50b92185216288e0ad6743170094d3245 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Achmad Fathoni<fathoni.id(at)gmail.com>
pkgname=python-pyally
_pkgname=${pkgname:7}
pkgver=1.1.2
pkgrel=1
pkgdesc="Ally Invest API Wrapper"
arch=('any')
url="https://pypi.org/project/${_pkgname}"
license=('MIT')
makedepends=(python-build python-installer python-wheel)
depends=(python python-pandas python-pytz python-requests python-requests-oauthlib)
source=(https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz)
sha256sums=('d5dba065ddbf18261b83e29e5fffff731d9b03a4278eb9a9333a17f2d1772d4d')

build() {
    cd ${srcdir}/${_pkgname}-${pkgver}
    python -m build --wheel --no-isolation
}

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