diff options
author | Ianis Vasilev | 2024-02-24 19:38:58 +0200 |
---|---|---|
committer | Ianis Vasilev | 2024-02-24 19:38:58 +0200 |
commit | 5683ab811904d765a7771eb4098b7431a4e96b38 (patch) | |
tree | cc49dfce59f055459933d8e43064c9adcbad2831 | |
parent | addb5b25925c8ea57390c9f971f1aa936cebb902 (diff) | |
download | aur-dpsprep-git.tar.gz |
v2.2.4
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 10 insertions, 7 deletions
@@ -1,7 +1,7 @@ pkgbase = dpsprep-git pkgdesc = A DjVu to PDF converter with a focus on small output size and the ability to preserve document outlines and text layers - pkgver = r89.3d4c8c3 - pkgrel = 3 + pkgver = 2.2.4 + pkgrel = 1 url = https://github.com/kcroker/dpsprep arch = any license = GPL3 @@ -11,6 +11,7 @@ pkgbase = dpsprep-git checkdepends = python-types-pillow checkdepends = python-types-fpdf2 checkdepends = python-pytest + checkdepends = python-pytest-image-diff makedepends = git makedepends = python-build makedepends = python-installer @@ -1,12 +1,12 @@ # Maintainer: Ianis Vasilev <ianis@ivasilev.net> pkgname=dpsprep-git -pkgver=r89.3d4c8c3 -pkgrel=3 +pkgver=2.2.4 +pkgrel=1 pkgdesc='A DjVu to PDF converter with a focus on small output size and the ability to preserve document outlines and text layers' url='https://github.com/kcroker/dpsprep' arch=('any') license=('GPL3') -checkdepends=(python ruff mypy python-types-pillow python-types-fpdf2 python-pytest) +checkdepends=(python ruff mypy python-types-pillow python-types-fpdf2 python-pytest python-pytest-image-diff) makedepends=(git python-build python-installer python-wheel) depends=(python python-click python-djvulibre python-fpdf2 python-loguru python-pillow python-pdfrw) @@ -16,8 +16,9 @@ md5sums=('SKIP') check() { cd "${srcdir}/dpsprep" - make lint - make test + ruff check dpsprep + mypy --package dpsprep + pytest } build() { @@ -30,4 +31,5 @@ package() { python -m installer --destdir="$pkgdir" dist/*.whl install -D -m755 bin/dpsprep "$pkgdir/usr/bin/dpsprep" install -D -m644 dpsprep.1 "$pkgdir/usr/share/man/man1/dpsprep.1" + install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |