mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
40 lines
873 B
Plaintext
40 lines
873 B
Plaintext
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
pkgname=icdiff
|
|
pkgver=2.0.6
|
|
pkgrel=1
|
|
pkgdesc="Improved colored diff"
|
|
url="https://www.jefftk.com/icdiff"
|
|
arch="noarch"
|
|
license="Python-2.0"
|
|
depends="python3"
|
|
makedepends="py3-setuptools bash"
|
|
checkdepends="black py3-flake8"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://github.com/jeffkaufman/icdiff/archive/release-$pkgver.tar.gz
|
|
"
|
|
builddir="$srcdir/icdiff-release-$pkgver"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
# patch removes executable bit
|
|
chmod +x test.sh icdiff
|
|
}
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
./test.sh python3
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
23ed93cc68ae44e661d61cef7e489249fc39e9f8fd18cac5551e89a713aef8cd2ecb37b0f301f543a4ba7003c74b5a311430ab8666760a76ee8441a4ac920ff5 release-2.0.6.tar.gz
|
|
"
|