From ddb15faac687c66c46b81f07538537a538385e67 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 3 Jul 2024 16:42:14 -0400 Subject: [PATCH] user/i18nspector: new aport --- user/i18nspector/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 user/i18nspector/APKBUILD diff --git a/user/i18nspector/APKBUILD b/user/i18nspector/APKBUILD new file mode 100644 index 0000000..96d499d --- /dev/null +++ b/user/i18nspector/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +pkgname=i18nspector +pkgver=0.27.1 +pkgrel=0 +pkgdesc="checking tool for gettext POT, PO and MO files" +url="https://jwilk.net/software/i18nspector" +arch="noarch" +license="MIT" +depends="py3-polib py3-rply" +checkdepends="python3-dev py3-pytest" +makedepends="py3-docutils py3-setuptools py3-gpep517 py3-wheel perl" +source="$pkgname-$pkgver.tar.gz::https://github.com/jwilk/i18nspector/archive/refs/tags/$pkgver.tar.gz" +subpackages="$pkgname-doc" +options="!check" # test failure + +build() { + make -C doc +} + +check() { + pytest -v +} + +package() { + make PREFIX=/usr DESTDIR="$pkgdir" install +} + +sha512sums=" +b6b3d68ba03ead88393d6fff7233ec6d67196496f3eaaba8fe036ac9976746370885f72ec3c4e6b4dbf892f3d04c505a306900fafade1623e90ec9c1ad546166 i18nspector-0.27.1.tar.gz +"