1 |
commit: f7ab64283418998b43d82bb0db7b5d9ad89fdc99 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Feb 8 20:04:08 2022 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Sat Mar 5 01:34:27 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f7ab6428 |
7 |
|
8 |
app-shells/spark-fish: initial import |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
app-shells/spark-fish/Manifest | 1 + |
13 |
app-shells/spark-fish/metadata.xml | 11 ++++++++ |
14 |
app-shells/spark-fish/spark-fish-1.2.0.ebuild | 39 +++++++++++++++++++++++++++ |
15 |
3 files changed, 51 insertions(+) |
16 |
|
17 |
diff --git a/app-shells/spark-fish/Manifest b/app-shells/spark-fish/Manifest |
18 |
new file mode 100644 |
19 |
index 000000000..f89f5bfac |
20 |
--- /dev/null |
21 |
+++ b/app-shells/spark-fish/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST spark-fish-1.2.0.tar.gz 3478 BLAKE2B 21823da494e13f92d8cfe8db802aa0734ddce8c5db47dbfc634aaab4425ae49b22ef000882454a880da502d14d4bdb0ed91ab941d21d7550ae686e2af056b7b6 SHA512 24e80faae6595de4a114d15823064de428d68c3d7ef778db49ed3bac88716a44f8eeaff86558f37570f4932f6755dedeee968177ab3dafc8c25c8bfc3469d291 |
24 |
|
25 |
diff --git a/app-shells/spark-fish/metadata.xml b/app-shells/spark-fish/metadata.xml |
26 |
new file mode 100644 |
27 |
index 000000000..5591aa64d |
28 |
--- /dev/null |
29 |
+++ b/app-shells/spark-fish/metadata.xml |
30 |
@@ -0,0 +1,11 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer type="person"> |
35 |
+ <email>lssndrbarbieri@×××××.com</email> |
36 |
+ <name>Alessandro Barbieri</name> |
37 |
+ </maintainer> |
38 |
+ <upstream> |
39 |
+ <remote-id type="github">jorgebucaran/spark.fish</remote-id> |
40 |
+ </upstream> |
41 |
+</pkgmetadata> |
42 |
|
43 |
diff --git a/app-shells/spark-fish/spark-fish-1.2.0.ebuild b/app-shells/spark-fish/spark-fish-1.2.0.ebuild |
44 |
new file mode 100644 |
45 |
index 000000000..651498334 |
46 |
--- /dev/null |
47 |
+++ b/app-shells/spark-fish/spark-fish-1.2.0.ebuild |
48 |
@@ -0,0 +1,39 @@ |
49 |
+# Copyright 1999-2022 Gentoo Authors |
50 |
+# Distributed under the terms of the GNU General Public License v2 |
51 |
+ |
52 |
+EAPI=8 |
53 |
+ |
54 |
+MYPN="${PN/-/.}" |
55 |
+ |
56 |
+DESCRIPTION="Sparklines for Fish" |
57 |
+HOMEPAGE="https://github.com/jorgebucaran/spark.fish" |
58 |
+SRC_URI="https://github.com/jorgebucaran/spark.fish/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" |
59 |
+S="${WORKDIR}/${MYPN}-${PV}" |
60 |
+LICENSE="MIT" |
61 |
+SLOT="0" |
62 |
+KEYWORDS="~amd64" |
63 |
+IUSE="test" |
64 |
+ |
65 |
+RDEPEND="app-shells/fish" |
66 |
+DEPEND=" |
67 |
+ test? ( |
68 |
+ ${RDEPEND} |
69 |
+ app-shells/fishtape |
70 |
+ app-shells/spark-fish |
71 |
+ ) |
72 |
+" |
73 |
+ |
74 |
+DOCS=( README.md ) |
75 |
+RESTRICT="!test? ( test )" |
76 |
+ |
77 |
+src_install() { |
78 |
+ insinto "/usr/share/fish/vendor_completions.d" |
79 |
+ doins completions/* |
80 |
+ insinto "/usr/share/fish/vendor_functions.d" |
81 |
+ doins functions/* |
82 |
+ einstalldocs |
83 |
+} |
84 |
+ |
85 |
+src_test() { |
86 |
+ fish -c 'fishtape ./test/spark.fish' || die |
87 |
+} |