blob: 99b5476baa6bcd42ec3c5add6d9d666dfb530d40 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Maintainer: Guillaume Horel <guillaume.horel@gmail.com>
pkgname=python-gs-quant
_pkgname=gs_quant
pkgver=1.1.10
pkgrel=1
pkgdesc="A python toolkit for quantitative finance developped at Goldman Sachs"
arch=('any')
url="https://developer.gs.com/discover/products/gs-quant"
license=('Apache-2.0')
depends=(python
python-aenum
python-asteval
python-backoff
python-cachetools
python-certifi
python-dataclasses-json
python-dateutil
python-deprecation
python-httpx
python-inflection
python-lmfit
python-more-itertools
python-msgpack
python-nest-asyncio
python-opentracing
python-pandas
python-pydash
python-requests
python-scipy
python-statsmodels
python-tqdm
python-websockets
)
optdepends=()
makedepends=('python-setuptools')
#checkdepends=('python-testfixtures' 'python-pytest' 'python-pytest-mock')
source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
sha256sums=('b2e170e3db504577e6b534c140d55b7d722baf4af44075aba116c5a7f9e27a4b')
build() {
cd "$_pkgname-$pkgver"
python setup.py build
}
package(){
cd "$_pkgname-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
#check() {
#git clone https://github.com/goldmansachs/gs-quant.git
#cp -r gs-quant/gs_quant/test/resources $_pkgname-$pkgver/gs_quant/test/
#cd "$_pkgname-$pkgver"
#pytest gs_quant/test
#}
|