2021-09-18 09:47:16 +00:00

31 lines
946 B
Plaintext

# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=diffoscope
pkgver=184
pkgrel=0
pkgdesc="In-depth comparison of files, archives, and directories"
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 cdrkit
openssh-client-default"
source="https://salsa.debian.org/reproducible-builds/diffoscope/-/archive/$pkgver/diffoscope-$pkgver.tar.gz"
build() {
python3 setup.py build
}
check() {
PYTHONPATH=".:$PYTHONPATH" PYTHONDONTWRITEBYTECODE=1 py.test \
-k 'not test_text_proper_indentation'
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
06f3219c2bc083638341711cbc9af7f6400a9bfa8c9c52a4b9720f9d32f19895364646f40f27daa661146b2c85614d3f4bedba67472f86b8498a9798366fc45c diffoscope-184.tar.gz
"