diff options
Diffstat (limited to 'app-shells/liquidprompt')
-rw-r--r-- | app-shells/liquidprompt/Manifest | 7 | ||||
-rw-r--r-- | app-shells/liquidprompt/liquidprompt-2.2.0.ebuild (renamed from app-shells/liquidprompt/liquidprompt-2.1.2.ebuild) | 17 | ||||
-rw-r--r-- | app-shells/liquidprompt/liquidprompt-2.2.1.ebuild | 43 |
3 files changed, 58 insertions, 9 deletions
diff --git a/app-shells/liquidprompt/Manifest b/app-shells/liquidprompt/Manifest index 4ce45ecbd496..339cce55c678 100644 --- a/app-shells/liquidprompt/Manifest +++ b/app-shells/liquidprompt/Manifest @@ -1,3 +1,6 @@ -DIST liquidprompt-2.1.2.tar.gz 621356 BLAKE2B b5c3c52179f86fc42164e08a01f4e114f5e7ce1cdb5fb19ef1c02e85569e895cb5f1cc2f61bf6f66380d5c20bc6daf41547eb281990221528d5c1d85b61d1329 SHA512 685da50d347ba0d7c6881d87426344840cc7ab960067035b43f9658c51d7d5cf89e80f4bf8344b49f3858fe91bcfd57dcfaf9a253246fc1a7ebedbba474dc5ff -EBUILD liquidprompt-2.1.2.ebuild 818 BLAKE2B 60c6a123ff127bec28223470cf27282530a1f756cbec3e5ee7da506d5d6a564f23018004df03c4b8b119ef1ccc616bdc364d8a3847452274a7dfb373002dde9d SHA512 bbdb46176949b2a172ec35c9658e441091b7ed1a36d30e35066df1ee101415ba0089306fa2fee6d9efe00ce4b4a1b40e38bb9f29449cf22f072185701ffe45e0 +DIST bash-preexec.sh 12667 BLAKE2B 1a19e3d7c2b74ae7572375b7af11c20a3506464c1ae31b90439529422ae74fcdb26f71bfa3d9128180852b511335cd79a9ab3d951aa9d4d1749c122cd3444013 SHA512 c77093d7049ad97406519e3f7bd98dbfa6ca3670c635995484aa5635a47e0243c885868dc48bb89d9f15d2c8082657eefb895e1fb764c3b9e0498cfee7797120 +DIST liquidprompt-2.2.0.tar.gz 986151 BLAKE2B aad40582ddb3e4f611e4632ebff0a6625d169a18d35013d204b1912196c770f04361a617c54e3c798b9828fba3919c0af328f81e1994ba3c987321b551ed9634 SHA512 1ccefcdb7b58697ac9b27e3e94ef1527c17ac36e9e405930f5b8b2a906cad5789ed9f77271dbcc66b3ef3457b307df370cfc60f88dc13e9d82ba3de7e2708421 +DIST liquidprompt-2.2.1.tar.gz 988223 BLAKE2B f0c177b6c7a4e7a1d11fbed692d91e6c2765f364809948364e07cbef0dc0ca4247912b9a000a3b8c646aa56869d605bbb72b4483a2beec30b31c302100dbb922 SHA512 cc169f4dc5e8f082163de9e4e1d58d0a775fc6e7efcd40bdeb7986a0b0ca7710b1f34cec03e78db00fc9f032f2243eee3bbc18c3b38132332fb7101f62e4d3aa +EBUILD liquidprompt-2.2.0.ebuild 1038 BLAKE2B ea0422b9720a16a3cae2ca4e6cac684a7de09c43d82951fbebb21ffb9b0ab6846ece922f08ef60bbe75a6e37ca85bdf98a79e389484ba2cb13a53cb884411759 SHA512 e835aab3f1bfda968357423213653473cdd89cdc0acfe1f851af551a8381bfeec28b796fb07557ae3bbc214e6b80a86d8f6feee434681f91c092cd0dbf44f684 +EBUILD liquidprompt-2.2.1.ebuild 1038 BLAKE2B ea0422b9720a16a3cae2ca4e6cac684a7de09c43d82951fbebb21ffb9b0ab6846ece922f08ef60bbe75a6e37ca85bdf98a79e389484ba2cb13a53cb884411759 SHA512 e835aab3f1bfda968357423213653473cdd89cdc0acfe1f851af551a8381bfeec28b796fb07557ae3bbc214e6b80a86d8f6feee434681f91c092cd0dbf44f684 MISC metadata.xml 335 BLAKE2B 35124b3abcc1162303d8e666abc6d5e024191604555500cdf5f21ba3b45d3c815cef3e14ce4e8052b0d698f9ce4ac83fc22585382559989922816ea7128b59c6 SHA512 12fa46e8150943e9c7175079b67912a0f9cede1bc6892781eeb97c635f99243e32a24ca60a2caa3f2a19587f4c5a134b84f90f95b018c93e6a523001e0e8e806 diff --git a/app-shells/liquidprompt/liquidprompt-2.1.2.ebuild b/app-shells/liquidprompt/liquidprompt-2.2.0.ebuild index aed3cbeb58e8..8aae627d6efa 100644 --- a/app-shells/liquidprompt/liquidprompt-2.1.2.ebuild +++ b/app-shells/liquidprompt/liquidprompt-2.2.0.ebuild @@ -1,13 +1,16 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DESCRIPTION="Full-featured & carefully designed adaptive prompt for Bash & Zsh" -HOMEPAGE="https://github.com/nojhan/liquidprompt" +HOMEPAGE="https://github.com/nojhan/liquidprompt https://liquidprompt.readthedocs.io/" SRC_URI=" https://github.com/nojhan/liquidprompt/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz + test? ( + https://raw.githubusercontent.com/rcaloras/bash-preexec/0.4.1/bash-preexec.sh + ) " S="${WORKDIR}/${PN}" @@ -22,8 +25,9 @@ BDEPEND="test? ( dev-util/shunit2 )" DOCS=( CHANGELOG.md example.bashrc README.md ) src_test() { + cp "${DISTDIR}/bash-preexec.sh" tests/ || die cp "$(type -P shunit2)" tests/shunit2 || die - ./tests.sh || die + ./tests.sh bash || die } src_install() { @@ -31,10 +35,9 @@ src_install() { dobin liquidprompt insinto /usr/share/${PN} - doins liquid.theme - doins liquid.ps1 - doins -r themes + doins -r themes templates tools insinto /etc/ - newins liquidpromptrc-dist liquidpromptrc + ./tools/config-from-doc.sh > "${T}/liquidpromptrc" || die + newins "${T}/liquidpromptrc" liquidpromptrc } diff --git a/app-shells/liquidprompt/liquidprompt-2.2.1.ebuild b/app-shells/liquidprompt/liquidprompt-2.2.1.ebuild new file mode 100644 index 000000000000..8aae627d6efa --- /dev/null +++ b/app-shells/liquidprompt/liquidprompt-2.2.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Full-featured & carefully designed adaptive prompt for Bash & Zsh" +HOMEPAGE="https://github.com/nojhan/liquidprompt https://liquidprompt.readthedocs.io/" +SRC_URI=" + https://github.com/nojhan/liquidprompt/releases/download/v${PV}/${PN}-v${PV}.tar.gz + -> ${P}.tar.gz + test? ( + https://raw.githubusercontent.com/rcaloras/bash-preexec/0.4.1/bash-preexec.sh + ) +" +S="${WORKDIR}/${PN}" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( dev-util/shunit2 )" + +DOCS=( CHANGELOG.md example.bashrc README.md ) + +src_test() { + cp "${DISTDIR}/bash-preexec.sh" tests/ || die + cp "$(type -P shunit2)" tests/shunit2 || die + ./tests.sh bash || die +} + +src_install() { + default + dobin liquidprompt + + insinto /usr/share/${PN} + doins -r themes templates tools + + insinto /etc/ + ./tools/config-from-doc.sh > "${T}/liquidpromptrc" || die + newins "${T}/liquidpromptrc" liquidpromptrc +} |