summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8809e39e76a357bb8963118459234df43a3b96d8 (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
# Maintainer: Philipp A. <flying-sheep@web.de>

_name=tbvaccine
pkgname=python-$_name
pkgver=0.3.1
pkgrel=1
pkgdesc='Pretty-print Python tracebacks'
arch=(any)
url="https://github.com/skorokithakis/$_name"
license=(MIT)
depends=(python)
makedepends=(python-build python-installer)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('8665d037ac8ad4c97bc44512de91798565b1226f7b2f59669bb7dbe9a1f87718')

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

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