diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-10-06 11:30:27 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-10-06 17:20:47 +0200 |
commit | 16fc6934fb2b4b4430f3ed92271f46e67aad6a6f (patch) | |
tree | 05826a4e43a68b1a3e7de8b02407f9eded295838 /app-emacs/company-mode | |
parent | app-emacs/buttercup: bump to 1.32 (diff) | |
download | gentoo-16fc6934fb2b4b4430f3ed92271f46e67aad6a6f.tar.gz gentoo-16fc6934fb2b4b4430f3ed92271f46e67aad6a6f.tar.bz2 gentoo-16fc6934fb2b4b4430f3ed92271f46e67aad6a6f.zip |
app-emacs/company-mode: bump to 0.10.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/company-mode')
-rw-r--r-- | app-emacs/company-mode/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/company-mode/company-mode-0.10.0.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/app-emacs/company-mode/Manifest b/app-emacs/company-mode/Manifest index de8fc15f2a7b..515d0b006b45 100644 --- a/app-emacs/company-mode/Manifest +++ b/app-emacs/company-mode/Manifest @@ -1 +1,2 @@ +DIST company-mode-0.10.0.tar.gz 2199811 BLAKE2B 0165b29b4f9100d776906400c5a364e9bc1fa45092e1bff98a32215f2b4d594d1dce6594c76f4f18153627b5cb406554afcb4e18e19332a96c5b101ca863e341 SHA512 870e4e647805deeb739d068978f2c37a76084c5654f8f200e264c1005d1a59f082337869c3cb27531937af58985ef34f6da99f6f4b4d4031dcdffc3b573fb089 DIST company-mode-0.9.13_p20230306.tar.gz 2199879 BLAKE2B 01001537447849ea6a83bc90096945deef76e8b68d2d9d576e4de0742b84ceb4043db5556d548fe3e9d1b187c2dad577fa7364007958e848f52af7f105226348 SHA512 38abeab8a107b36a8ff69c981099d970eb4a9c9004d95414e65510200b9e6ec034b2ed1dc91e2a3cdac620db605297ae090fe75af152be725bc610e582c76e06 diff --git a/app-emacs/company-mode/company-mode-0.10.0.ebuild b/app-emacs/company-mode/company-mode-0.10.0.ebuild new file mode 100644 index 000000000000..4894ec7e2e1a --- /dev/null +++ b/app-emacs/company-mode/company-mode-0.10.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="In-buffer completion front-end" +HOMEPAGE="https://company-mode.github.io/ + https://github.com/company-mode/company-mode/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" +else + SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +fi + +LICENSE="GPL-3+" +SLOT="0" + +PATCHES=( "${FILESDIR}/${PN}-company-icons-root.patch" ) + +DOCS=( CONTRIBUTING.md README.md NEWS.md ) +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + elisp_src_prepare + + sed "s|@SITEETC@|${SITEETC}/${PN}|" -i company.el || die +} + +src_compile() { + elisp_src_compile + + emake -C doc company.info +} + +src_test() { + emake test-batch +} + +src_install() { + elisp_src_install + + insinto "${SITEETC}/${PN}" + doins -r icons + + doinfo doc/company.info +} |