From ded549ecc3ef26333e2c034c4ecf0f27b29c8dcf Mon Sep 17 00:00:00 2001 From: Zakk Date: Wed, 11 Nov 2026 09:06:02 +1100 Subject: [PATCH] app-shells/zsh-autosuggestions: new package, add 0.7.1 Signed-off-by: Zakk --- .github/workflows/overlay.toml | 7 ++++ app-shells/zsh-autosuggestions/Manifest | 1 + app-shells/zsh-autosuggestions/metadata.xml | 11 ++++++ .../zsh-autosuggestions-0.7.1.ebuild | 37 +++++++++++++++++++ 4 files changed, 56 insertions(+) create mode 100644 app-shells/zsh-autosuggestions/Manifest create mode 100644 app-shells/zsh-autosuggestions/metadata.xml create mode 100644 app-shells/zsh-autosuggestions/zsh-autosuggestions-0.7.1.ebuild diff --git a/.github/workflows/overlay.toml b/.github/workflows/overlay.toml index 76458d718e..17ea183b9f 100644 --- a/.github/workflows/overlay.toml +++ b/.github/workflows/overlay.toml @@ -804,6 +804,13 @@ github_account = ["OriPoin", "gouwazi"] # live package only #["app-shells/oh-my-bash"] +["app-shells/zsh-autosuggestions"] +source = "github" +github = "zsh-users/zsh-autosuggestions" +use_latest_tag = true +prefix = "v" +github_account = "Zakkaus" + ["app-shells/zsh-theme-powerlevel10k"] source = "github" github = "romkatv/powerlevel10k" diff --git a/app-shells/zsh-autosuggestions/Manifest b/app-shells/zsh-autosuggestions/Manifest new file mode 100644 index 0000000000..b3dab9abd6 --- /dev/null +++ b/app-shells/zsh-autosuggestions/Manifest @@ -0,0 +1 @@ +DIST zsh-autosuggestions-0.7.1.tar.gz 29968 BLAKE2B bc383e35763af00680fc01e861df0fd295b8d6d17ac4666c94bf3f6c3655d3d99753eacc93b7e989efeae612790d19c42553dc3fbb6c2ae8e67a630bd480e4a3 SHA512 52c9dc8e9c4ba31788cf6c25448dbb8341545af7f763903533133d92a93e898256187e2f94b37c384926d9615b3bd61b7c6dd61337e1f47ae3babed813f9cc0b diff --git a/app-shells/zsh-autosuggestions/metadata.xml b/app-shells/zsh-autosuggestions/metadata.xml new file mode 100644 index 0000000000..d8e3a0b49b --- /dev/null +++ b/app-shells/zsh-autosuggestions/metadata.xml @@ -0,0 +1,11 @@ + + + + + zakk@gentoozh.org + Zakk + + + zsh-users/zsh-autosuggestions + + diff --git a/app-shells/zsh-autosuggestions/zsh-autosuggestions-0.7.1.ebuild b/app-shells/zsh-autosuggestions/zsh-autosuggestions-0.7.1.ebuild new file mode 100644 index 0000000000..ea2dd17a8c --- /dev/null +++ b/app-shells/zsh-autosuggestions/zsh-autosuggestions-0.7.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=9 + +inherit readme.gentoo-r1 + +DESCRIPTION="Fish-like autosuggestions for zsh" +HOMEPAGE="https://github.com/zsh-users/zsh-autosuggestions" +SRC_URI="https://github.com/zsh-users/zsh-autosuggestions/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +# spec/spec_helper.rb requires rspec-wait and pry-byebug, which ::gentoo lacks +RESTRICT="test" + +RDEPEND="app-shells/zsh" + +DISABLE_AUTOFORMATTING="true" + +DOC_CONTENTS="\ +In order to use ${CATEGORY}/${PN}, add +\`source /usr/share/zsh/site-functions/zsh-autosuggestions.zsh\` +to your ~/.zshrc" + +src_install() { + insinto /usr/share/zsh/site-functions + doins zsh-autosuggestions.zsh + + einstalldocs + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +}