mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
app-misc/diff-so-fancy: drop 1.4.3-r1
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
4 files changed
-87
No files matched your search
@@ -1,2 +1 @@
|
||||
DIST diff-so-fancy-1.4.3.tar.gz 51800 BLAKE2B e36a30e79d50f9dd0c151ab42e4192563ab0dc9aa30d0aa12e2cf85c29ef8acf9761cc7c19e0067ecf62f5243b667a7d438ab19aaa7150fd93613e11ecbfabf8 SHA512 9c85c0ffcb7235ad985377206e93e56bdac3926f029d8ab8a899a4391339f344049e9bfe4b77df0f2bda29720ab454378218ea3752b97f40b5ac7ba72a5fa047
|
||||
DIST diff-so-fancy-1.4.4.tar.gz 188528 BLAKE2B dd4811e17b6b8a0a5a38d105ed92facdfc9b62836995f1b9e87c05a0fe4129706a4552465971bb593105569008cb7f4f3a069294801c07d510a1d9d819475c13 SHA512 477ad58a55ebc765f525b7d16993af18ee5ccf0c9f2835f4a608c6a1a9afa3170f2071dd93b9009dc3c2dab06f700763ac7652d0bedb932a67af23abf4f8884e
|
||||
@@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Good-lookin' diffs. Actually... nah... The best-lookin' diffs"
|
||||
HOMEPAGE="https://github.com/so-fancy/diff-so-fancy"
|
||||
SRC_URI="https://github.com/so-fancy/diff-so-fancy/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-lang/perl
|
||||
test? (
|
||||
dev-util/bats-assert
|
||||
dev-util/bats-support
|
||||
)
|
||||
"
|
||||
BDEPEND="test? ( dev-util/bats )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/fix-path.patch"
|
||||
"${FILESDIR}/${P}-system-bats.patch"
|
||||
)
|
||||
DOCS=( README.md history.md pro-tips.md )
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_install() {
|
||||
dobin "${PN}"
|
||||
|
||||
insinto "/usr/share/${PN}"
|
||||
doins lib/*
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# it want a git repo
|
||||
git init || die
|
||||
git config --global user.email "you@example.com" || die
|
||||
git config --global user.name "Your Name" || die
|
||||
git add . || die
|
||||
git commit -m 'init' || die
|
||||
|
||||
bats test || die
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
--- a/test/bugs.bats
|
||||
+++ b/test/bugs.bats
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bats
|
||||
|
||||
-load 'test_helper/bats-support/load'
|
||||
-load 'test_helper/bats-assert/load'
|
||||
+load '/usr/share/bats-support/load.bash'
|
||||
+load '/usr/share/bats-assert/load.bash'
|
||||
load 'test_helper/util'
|
||||
|
||||
# https://github.com/paulirish/dotfiles/commit/6743b907ff586c28cd36e08d1e1c634e2968893e#commitcomment-13459061
|
||||
--- a/test/diff-so-fancy.bats
|
||||
+++ b/test/diff-so-fancy.bats
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bats
|
||||
|
||||
-load 'test_helper/bats-support/load'
|
||||
-load 'test_helper/bats-assert/load'
|
||||
+load '/usr/share/bats-support/load.bash'
|
||||
+load '/usr/share/bats-assert/load.bash'
|
||||
load 'test_helper/util'
|
||||
|
||||
set_env
|
||||
@@ -1,11 +0,0 @@
|
||||
--- a/diff-so-fancy
|
||||
+++ b/diff-so-fancy
|
||||
@@ -9,7 +9,7 @@
|
||||
use File::Basename; # For dirname
|
||||
use Encode; # For handling UTF8 stuff
|
||||
use Cwd qw(abs_path); # For realpath()
|
||||
-use lib dirname(abs_path(File::Spec->catdir($0))) . "/lib"; # Add the local lib/ to @INC
|
||||
+use lib "/usr/share/diff-so-fancy";
|
||||
use DiffHighlight;
|
||||
|
||||
use strict;
|
||||
Reference in new issue
Block a user