mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-24 18:11:44 +01:00
30 lines
924 B
Plaintext
30 lines
924 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=diffoscope
|
|
pkgver=182
|
|
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"
|
|
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="
|
|
5de69e6104da79f0c368c3cc2579fa0d16f8162ed1d2a6e2cb10e267a16328ed70db81ffea81894d20bae926193310898700b4b696353b0ab467a4a322ce6892 diffoscope-182.tar.gz
|
|
"
|