mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-24 01:52:38 +01:00
28 lines
878 B
Plaintext
28 lines
878 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=diffoscope
|
|
pkgver=172
|
|
pkgrel=0
|
|
pkgdesc="In-depth comparison of files, archives, and directories"
|
|
options="!check" # Requires unpackaged 'tlsh'
|
|
url="https://diffoscope.org/"
|
|
arch="noarch !mips !mips64" # py3-libarchive-c
|
|
license="GPL-3.0-or-later"
|
|
makedepends="python3-dev py3-setuptools py3-docutils"
|
|
depends="py3-magic py3-libarchive-c"
|
|
checkdepends="py3-pytest gzip bzip2 unzip libarchive-tools"
|
|
source="https://salsa.debian.org/reproducible-builds/diffoscope/-/archive/$pkgver/diffoscope-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="110ae33c17ddefd533e7fbcdc2eea032940981c8fc3f1d7593b126301d1ed010884a8077d93456a4aee4d316a4132255d6c60a5ccaf20eba6c622a0b24434402 diffoscope-172.tar.gz"
|