blob: e588c07ff9da0ecc15715bd2ac0e2089c22c859d (
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
|
# Maintainer: David Rosenstrauch <darose@darose.net>
pkgname=python-alpaca-py
_pkgname=alpaca_py
pkgver=0.21.0
pkgrel=1
pkgdesc="The Official Python SDK for Alpaca APIs"
url="https://github.com/alpacahq/alpaca-py"
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-poetry' 'python-poetry-dynamic-versioning' 'cython')
depends=('python-msgpack' 'python-pandas' 'python-pydantic' 'python-requests' 'python-websockets')
license=('Apache-2.0')
arch=('any')
source=("https://files.pythonhosted.org/packages/89/94/50ea3fac2689881c954b5631d311a7a076a13a5bf6bac3f7373c57731563/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('b0a66524bd7d47d2a6144dd4a8d105d2de80c10edac632901dbfa3514b7ccd4e')
build() {
cd "$srcdir"/${_pkgname}-${pkgver}
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir"/${_pkgname}-${pkgver}
python -m installer --destdir="$pkgdir" dist/*.whl
}
|