1 |
commit: 81fcf6acf9b39e78df28297bc292afc0c569cdb6 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Jun 13 23:56:44 2021 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Jun 14 02:27:30 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=81fcf6ac |
7 |
|
8 |
app-misc/diff-so-fancy: new version |
9 |
|
10 |
Package-Manager: Portage-3.0.19, Repoman-3.0.3 |
11 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
12 |
|
13 |
app-misc/diff-so-fancy/Manifest | 1 + |
14 |
app-misc/diff-so-fancy/diff-so-fancy-1.4.1.ebuild | 36 +++++++++++++++++++++++ |
15 |
2 files changed, 37 insertions(+) |
16 |
|
17 |
diff --git a/app-misc/diff-so-fancy/Manifest b/app-misc/diff-so-fancy/Manifest |
18 |
index d9adbf2ea..a9c3e824b 100644 |
19 |
--- a/app-misc/diff-so-fancy/Manifest |
20 |
+++ b/app-misc/diff-so-fancy/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST diff-so-fancy-1.4.0.tar.gz 46216 BLAKE2B c68a41a74bfc4f280aa3a90d9cbf6c63dbecaa917e83bb6403dfa1ee3ea7837f5348d1a44fa7673ad5c65a3f2948d1e028865b21f6f04a0f495cc54755c99535 SHA512 b92bdf6d7868fe183f2ea7d655f9619c2059ff7d10901ed445762ed5baff0944528b1e409f36e5d47ce51eb39b106617f302a6926995aeab27324cb3e5f6f293 |
23 |
+DIST diff-so-fancy-1.4.1.tar.gz 49040 BLAKE2B d5e90dcf9ffd7a582adce7c2f434fd59c12cef508b8dc08a768bb445f3131a19ff9bfaf0635bc6180255848d71f677c4741c3a8ea4468130afef8acc960b893e SHA512 9426d4f0ff269042fec495677fa78e43a782f47037d54d4c14c72f01bec71636154ab9dec3f9a2b16f6421dd37c4c1ed2160c87668e8eb989a2860ce65f0363c |
24 |
|
25 |
diff --git a/app-misc/diff-so-fancy/diff-so-fancy-1.4.1.ebuild b/app-misc/diff-so-fancy/diff-so-fancy-1.4.1.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000..ec7894064 |
28 |
--- /dev/null |
29 |
+++ b/app-misc/diff-so-fancy/diff-so-fancy-1.4.1.ebuild |
30 |
@@ -0,0 +1,36 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+SRC_URI="https://github.com/so-fancy/diff-so-fancy/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
37 |
+DESCRIPTION="Good-lookin' diffs. Actually... nah... The best-lookin' diffs." |
38 |
+HOMEPAGE="https://github.com/so-fancy/diff-so-fancy" |
39 |
+ |
40 |
+LICENSE="MIT" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64" |
43 |
+IUSE="test" |
44 |
+#RESTRICT="!test? ( test )" |
45 |
+RESTRICT="test" #investigate |
46 |
+RDEPEND="" |
47 |
+DEPEND=" |
48 |
+ ${RDEPEND} |
49 |
+ dev-lang/perl |
50 |
+" |
51 |
+BDEPEND="test? ( dev-util/bats )" |
52 |
+PATCHES=( "${FILESDIR}/fix-path.patch" ) |
53 |
+DOCS=( README.md history.md pro-tips.md ) |
54 |
+ |
55 |
+src_install() { |
56 |
+ dobin "${PN}" |
57 |
+ |
58 |
+ insinto "/usr/share/${PN}" |
59 |
+ doins lib/* |
60 |
+ |
61 |
+ einstalldocs |
62 |
+} |
63 |
+ |
64 |
+src_test() { |
65 |
+ bats test || die |
66 |
+} |