summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: beb9ff90a5545e172277dfb5941aea7d31612d24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
_name=smart-progress
pkgname=python-$_name
pkgver=1.0.2
pkgrel=4
pkgdesc='Smart progressbar with multiple backends selected depending on the environment'
arch=('any')
url="https://github.com/flying-sheep/$_name"
license=(GPL3)
depends=(python jupyter python-click)
makedepends=(python-setuptools python-build python-installer python-wheel)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('3a2ef36aa7d3846476d44fe436ad6be68bd384e3cea4655a6185bcc82a31d280')

build() {
	cd "$_name-$pkgver"
	python -m build --wheel --no-isolation
}

package() {
	cd "$_name-$pkgver"
	python -m installer --destdir="$pkgdir" dist/*.whl
}