summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3b42567d4955e1d2ad85149d6aa5e8c86733d068 (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: Butui Hu <hot123tea123@gmail.com>

pkgname=python-fastprogress
_pkgname=fastprogress
pkgver=0.1.22
pkgrel=1
pkgdesc='Simple and flexible progress bar for Jupyter Notebook and console'
arch=('any')
url='https://github.com/dstathis/fastprocess'
license=('Apache')
makedepends=(
  'python-setuptools'
)
source=("https://github.com/fastai/fastprogress/archive/${pkgver}.tar.gz")
sha512sums=('bb2c7666523cbbadbf7ef31e4a74a8cdc96e84d152eb75704b5e210e38f70063aa13deada3edad0cc708d57b6d626da5408ca9b4a7ff074c43fa38fcd82bcdbe')

build() {
  cd "${_pkgname}-${pkgver}"
  python setup.py build
}

package() {
  cd "${_pkgname}-${pkgver}"
  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
# vim:set ts=2 sw=2 et: