summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1ba0387abce40958b4e3fe4f6069dc3a35a64cbb (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.1"
pkgrel="1"
pkgdesc="Yet another color logger for Python."
arch=("any")
url="https://github.com/IngoMeyer441/yacl"
license=("MIT")
depends=("python" "python-pygments")
makedepends=("python-build" "python-installer" "python-setuptools" "python-wheel")
source=("https://github.com/IngoMeyer441/yacl/archive/v${pkgver}.tar.gz")
sha256sums=("8985d21179573ea873b89530d83c6a08f960953821140c5644123dcf45d8aba4")

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
}