mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-26 02:52:32 +01:00
28 lines
878 B
Plaintext
28 lines
878 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=diffoscope
|
|
pkgver=171
|
|
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="35cdb44e1bf844d4af00671749b0f4d965af2f1c1851e34eabc351a57223648bf28f04fd88a0ca51d99747d047c17017080bb34ea5e085160a34f95b401aa356 diffoscope-171.tar.gz"
|