mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
38 lines
847 B
Text
38 lines
847 B
Text
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
pkgname=icdiff
|
|
pkgver=2.0.5
|
|
pkgrel=0
|
|
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"
|
|
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 --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
9ac3705ba8fbc277b9af2c47a5b791bb8ed98da0546410cafc206992e25e98cc7fba6e920d6acd1a576c609be853ad52a5680e456a9c70132c5f323fb4b6694d release-2.0.5.tar.gz
|
|
"
|