blob: 7cc9465e9a7804491b246ac76638ec3711f80c07 (
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
|
# Maintainer: Guillaume Horel <guillaume.horel@gmail.com>
pkgname='python-blp'
_pkgname='blp'
pkgver=0.0.3
pkgrel=1
pkgdesc='Pythonic interface for Bloomberg Open API'
url='https://github.com/matthewgilbert/blp'
checkdepends=()
depends=('python')
makedepends=(python-build python-installer python-wheel)
optdepends=()
license=('Apache-2.0')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
sha256sums=('b025e9f58c47ef383132b9718e463de6c1274b61773c52f2b4cb9f340b9ee62f')
build() {
cd "${_pkgname}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${_pkgname}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|