summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6195d9e605dc8230295d494821a62a93dfa25e94 (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
# Maintainer:
# Contributor: Felix Golatofski <contact@xdfr.de>
# Contributor: Mohamed Sobh <mohamed.alhusieny@gmail.com>

pkgname=python-zipline
_pkgname=${pkgname:7}
pkgver=1.4.1
pkgrel=1
pkgdesc="A backtester for financial algorithms."
arch=('any')
url="https://www.zipline.io"
license=('APACHE')
depends=(
  'python-pandas'
  'python-dateutil'
  'python-pytz'
  'python-logbook'
  'python-requests'
  'ta-lib'
)
makedepends=(python-build python-installer python-wheel)
source=("https://pypi.python.org/packages/source/${pkgname:7:1}/${pkgname:7}/${pkgname:7}-${pkgver}.tar.gz")
sha256sums=('fda2b8fd324c0f02cc0b5a00d4a0c42e256e9c8c0118a5cbf0fba69996076d10')

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

package() {
  cd ${srcdir}/${_pkgname}-${pkgver}
  python -m installer --destdir="$pkgdir" dist/*.whl
}
# vim:set ts=2 sw=2 et: