mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 05:31:25 +02:00
32 lines
915 B
Plaintext
32 lines
915 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=diffoscope
|
|
pkgver=210
|
|
pkgrel=0
|
|
pkgdesc="In-depth comparison of files, archives, and directories"
|
|
url="https://diffoscope.org/"
|
|
arch="noarch"
|
|
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="
|
|
10406ce476fd641df59b3b83d4511dc3c8e2cf6a12c5cb1160d357e1eeafd034d954127be66468907e311a5d6ad550cb74742c8d4566d698b3be6df230fa230a diffoscope-210.tar.gz
|
|
"
|