summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bf27172637f762c8cf887d0500137c12b93362e9 (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
# Maintainer:  Anton Kudelin <kudelin at proton dot me>
# Contributor: Butui Hu <hot123tea123@gmail.com>

pkgname=python-fastprogress
_pkgname=fastprogress
pkgver=1.0.3
pkgrel=2
pkgdesc='Simple and flexible progress bar for Jupyter Notebook and console'
arch=('any')
url='https://github.com/fastai/fastprogress'
license=('Apache')
depends=('ipython' 'python-matplotlib' 'python-google-auth')
makedepends=('python-setuptools')
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('419702fb678487ea92a83284450b7e1065d16385d7f97497521e27d46d4931bc')

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

package() {
  cd "$_pkgname-$pkgver"
  python setup.py install --root="$pkgdir" -O1 --skip-build
}