# Maintainer: pkgname=py3-setuptools-gettext pkgver=0.1.3 pkgrel=2 pkgdesc="setuptools plugin for building mo files" url="https://github.com/breezy-team/setuptools-gettext" arch="noarch" license="GPL-2.0-or-later" depends="python3 gettext" makedepends="py3-gpep517 py3-setuptools py3-wheel" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/breezy-team/setuptools-gettext/archive/refs/tags/v$pkgver.tar.gz" builddir="$srcdir/setuptools-gettext-$pkgver" options="!check" # no tests build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { pytest } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" e46b6021a7e4a05d1623bb7969a7d36d037df88a5e2eabc58c2aa152ad95b2526a58e230bbe7f400fd005f80fb877b9aaff1f0b66a2c208b9b06c424409c4dec py3-setuptools-gettext-0.1.3.tar.gz "