blob: 200b0d4f3261bfcb57f70b3c45dc07406e4160f6 (
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: Michał Wojdyła < micwoj9292 at gmail dot com >
# Contributor: Achmad Fathoni<fathoni.id(at)gmail.com>
pkgname=python-finnhub-python
_pkgname=${pkgname:7}
pkgver=2.4.27
pkgrel=2
pkgdesc="Finnhub API"
arch=('any')
url="https://pypi.org/project/${_pkgname}"
license=('Apache-2.0')
makedepends=(python-build python-installer python-setuptools)
depends=(python python-requests)
source=(https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/finnhub_python-$pkgver.tar.gz)
sha256sums=('c4402f481005bbb48f72acfa14d7c91e95af1b1c8367ba2f4457eebe4e61b611')
build() {
cd ${srcdir}/finnhub_python-${pkgver}
python -m build --wheel --no-isolation
}
package() {
cd ${srcdir}/finnhub_python-${pkgver}
python -m installer --destdir="$pkgdir" dist/*.whl
}
|