mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-24 10:01:38 +01:00
28 lines
878 B
Plaintext
28 lines
878 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=diffoscope
|
|
pkgver=164
|
|
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="9de1eb6ef84e939f709b51e3a65ee0717ee2d254dd7c89eddaf4155117aacb72546042b870ab465c018ecff583c406271af7b6d8e13c2bcf65acb2de74804695 diffoscope-164.tar.gz"
|