summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dc9557ad6f0d43634ce6783a08037dc8455d68ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Ingo Meyer <i.meyer@fz-juelich.de>

pkgname="python-yacl"
pkgver="0.6.0"
pkgrel="2"
pkgdesc="Yet another color logger for Python."
arch=("any")
url="https://github.com/IngoMeyer441/yacl"
license=("MIT")
depends=("python" "python-pygments")
makedepends=("python-setuptools")
source=("https://github.com/IngoMeyer441/yacl/archive/v${pkgver}.tar.gz")
sha256sums=("09aafbc2a5daa312f4b5aece4950939ef7bd6db4d2b9a569014e1d7e0484c7fb")

build() {
    cd "${srcdir}/${pkgname#*-}-${pkgver}" || return
    python -m build --wheel --no-isolation
}

package() {
    cd "${srcdir}/${pkgname#*-}-${pkgver}" || return
    python -m installer --destdir="$pkgdir" dist/*.whl
}