mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-08 01:12:28 +01:00
28 lines
859 B
Plaintext
28 lines
859 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=diffoscope
|
|
pkgver=147
|
|
pkgrel=0
|
|
pkgdesc="In-depth comparison of files, archives, and directories"
|
|
options="!check" # Requires unpackaged 'tlsh'
|
|
url="https://diffoscope.org/"
|
|
arch="noarch !mips !mips64"
|
|
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="a2c82fe57aaa93e639acc2ae25b6fca2604184d5128de9439ee1ce4954e4215ba6c22645b3a00a418acc0a918a638f883626d981f3d4f12edcd64f7bea194e9d diffoscope-147.tar.gz"
|