1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/testing/diffoscope/APKBUILD
2021-07-30 15:17:58 +02:00

29 lines
924 B
Text

# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=diffoscope
pkgver=179
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="
ac527ccc04a44c726f543ffe37333b4cbbdb55014929d69afacbcd51ddd2ab263b5ee47eb7058995c46f159c2a9792f22d597a3e46a162bcafef90b4f658a020 diffoscope-179.tar.gz
"