Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/liquidprompt/
Date: Thu, 18 Aug 2022 20:30:23
Message-Id: 1660854598.71b4432088d9f5caadb08e7da401a4d3f08c0422.arthurzam@gentoo
1 commit: 71b4432088d9f5caadb08e7da401a4d3f08c0422
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 18 20:29:58 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 18 20:29:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71b44320
7
8 app-shells/liquidprompt: add 2.1.2
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 app-shells/liquidprompt/Manifest | 1 +
13 app-shells/liquidprompt/liquidprompt-2.1.2.ebuild | 40 +++++++++++++++++++++++
14 2 files changed, 41 insertions(+)
15
16 diff --git a/app-shells/liquidprompt/Manifest b/app-shells/liquidprompt/Manifest
17 index 89b3ba10d07d..5a08c1ddb14e 100644
18 --- a/app-shells/liquidprompt/Manifest
19 +++ b/app-shells/liquidprompt/Manifest
20 @@ -1,3 +1,4 @@
21 DIST liquidprompt-2.0.3.tar.gz 539054 BLAKE2B c94375e0def1764103afe04bb47ff25ced2aeb940b45392bea8a2889ce88d1ea0e03efc0652ec8bc873b9910bee7208e48aaef9a846760177049cc550a5cd8b0 SHA512 a77f1548dd233de9877b2b5dd4a64f05ef03890917486792eb1c362708ab0b635c517cc2a3ddc82731940017f209f626d177a4ac0b5554566faa720a7d88b550
22 DIST liquidprompt-2.0.4.tar.gz 536123 BLAKE2B 181fe4c59d1a68e03893b1a2144d6b800d8d950a48d38b12fa04aafb01384a08d5b95741a9fac524b353cf7f1b5e09f838d45222009dfb94dcc890ec2a6ab985 SHA512 611931c5572abf1471a2cac1a88d91fadb935e97a3c32bb0ff8a5cc007ac96dd7a88575feecdf033a77226b769504fde93d4afd93fa60277eafdb5f96fb18bcb
23 DIST liquidprompt-2.1.1.tar.gz 621781 BLAKE2B b23dcbf44f6b0b3a56aa59fffc38336b00be5c3066729445be6b3cb53fb4cb39e12c3f4a31e30a2bfca2abc7a5b02d4015662fb8d303d42406976b6f4b24d1b9 SHA512 88511bb74355c1ffd9ab710170905daeac673073083e81ec165bf4dad47377a47eb5eb6f387010439456c6e6df059ff640bcde8e16eeb60621d1c3ae6b502963
24 +DIST liquidprompt-2.1.2.tar.gz 621356 BLAKE2B b5c3c52179f86fc42164e08a01f4e114f5e7ce1cdb5fb19ef1c02e85569e895cb5f1cc2f61bf6f66380d5c20bc6daf41547eb281990221528d5c1d85b61d1329 SHA512 685da50d347ba0d7c6881d87426344840cc7ab960067035b43f9658c51d7d5cf89e80f4bf8344b49f3858fe91bcfd57dcfaf9a253246fc1a7ebedbba474dc5ff
25
26 diff --git a/app-shells/liquidprompt/liquidprompt-2.1.2.ebuild b/app-shells/liquidprompt/liquidprompt-2.1.2.ebuild
27 new file mode 100644
28 index 000000000000..aed3cbeb58e8
29 --- /dev/null
30 +++ b/app-shells/liquidprompt/liquidprompt-2.1.2.ebuild
31 @@ -0,0 +1,40 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DESCRIPTION="Full-featured & carefully designed adaptive prompt for Bash & Zsh"
38 +HOMEPAGE="https://github.com/nojhan/liquidprompt"
39 +SRC_URI="
40 + https://github.com/nojhan/liquidprompt/releases/download/v${PV}/${PN}-v${PV}.tar.gz
41 + -> ${P}.tar.gz
42 +"
43 +S="${WORKDIR}/${PN}"
44 +
45 +LICENSE="AGPL-3"
46 +SLOT="0"
47 +KEYWORDS="~amd64"
48 +IUSE="test"
49 +RESTRICT="!test? ( test )"
50 +
51 +BDEPEND="test? ( dev-util/shunit2 )"
52 +
53 +DOCS=( CHANGELOG.md example.bashrc README.md )
54 +
55 +src_test() {
56 + cp "$(type -P shunit2)" tests/shunit2 || die
57 + ./tests.sh || die
58 +}
59 +
60 +src_install() {
61 + default
62 + dobin liquidprompt
63 +
64 + insinto /usr/share/${PN}
65 + doins liquid.theme
66 + doins liquid.ps1
67 + doins -r themes
68 +
69 + insinto /etc/
70 + newins liquidpromptrc-dist liquidpromptrc
71 +}