diff options
Diffstat (limited to 'app-emacs/company-mode')
-rw-r--r-- | app-emacs/company-mode/Manifest | 2 | ||||
-rw-r--r-- | app-emacs/company-mode/company-mode-0.10.2.ebuild | 59 |
2 files changed, 61 insertions, 0 deletions
diff --git a/app-emacs/company-mode/Manifest b/app-emacs/company-mode/Manifest index e5d90ca43e66..d2305c5b4775 100644 --- a/app-emacs/company-mode/Manifest +++ b/app-emacs/company-mode/Manifest @@ -1,5 +1,7 @@ AUX 50company-mode-gentoo.el 221 BLAKE2B 353a829a13e544c5da76d7a39a0af76310bc94384e2a21729bbb3912edb09423f03cbc078436c491da5741c9120d6c2047170eb3d96907305a0def4fd00c3166 SHA512 5456259e279908c8c2042c1c1b06bdf6d4a3ecfadb6c4ec04e3b13ecace4e126519635985bac45d77eb6b25bc575a8663caed2e41997b3002884269cc44b0dbf AUX company-mode-company-icons-root.patch 394 BLAKE2B 86fb5fdf0a8e28b0f2440f84d2e5ca98967897bf68506ae9c3ff5ae73896843ea956e4d03f6f935dc481c0c503254fb0285737ea8b4c23d38b2b4de051b56dfd SHA512 091ad65fec36b54ff36d201022e06d8f2db2b70f0e4cd01ff8749ab14afc9efee29dd6664aa602519d10a3ad637bc1cbed210a613cbb61467afe1c1e6953b098 DIST company-mode-0.10.1.tar.gz 2199879 BLAKE2B 01001537447849ea6a83bc90096945deef76e8b68d2d9d576e4de0742b84ceb4043db5556d548fe3e9d1b187c2dad577fa7364007958e848f52af7f105226348 SHA512 38abeab8a107b36a8ff69c981099d970eb4a9c9004d95414e65510200b9e6ec034b2ed1dc91e2a3cdac620db605297ae090fe75af152be725bc610e582c76e06 +DIST company-mode-0.10.2.tar.gz 2199965 BLAKE2B f5c931fd128543780a3f61f7f25bc0ac58bdc2e974390482374728b9a6059f35562cc2a201484cb3670bdc6dec63eb423b0c7714605df6457da0fa54008a5a4a SHA512 343ddc7cdeb1b6705a4a2a44979f3940034b32c8725eda2cc29673669737dc8d96d266bd2d44755901665706d0b34abc9e3665e24016f55c1646219029796ade EBUILD company-mode-0.10.1.ebuild 916 BLAKE2B d86583d0a7c8cc0ad96c7596fb4805918a5d599542eb3dcef298d010e4edddd7da162ebc61d0e50ed8b2efb0c7cf62e3ff078c13d48bb320f072357a647c8e90 SHA512 750b20943e67bbe0635fde81f374aef19e5f510161cfb6e03b691556c9f0f8ddb1a24bfef0f346cdfacff653454af524d364a157115c3679aa44957279e3b61b +EBUILD company-mode-0.10.2.ebuild 1048 BLAKE2B a5837ed90a45ad5f4ff83813b08095a71cbdedda9534fa622b96c0e829f7998a90b9ea428425f1ab16a2a4bf79fa040db4040909dc4b918c2ce7275184fac2d1 SHA512 e37c519b1ca05f7d36a793f76cecd8c8ec8d879f128ab09cc6787e4b6bf26a5a3473954ec94a965ff3af9e300c6fc887f0caf28186205b85414db96559861063 MISC metadata.xml 371 BLAKE2B 802336a86d961a5eaa5079ff9a556a7bb435d9e52e9a8a901bfb6e49739b5e27ebe73f00016fe20fdc023f2dd1af4b2b082926011ae8ce2a9fa220e36475a2aa SHA512 93d3bf18ee05d67814ce1965b23a1b5274d37322eca0f02144eab1af23c13d5e811f026c6378e9f9b53d2e67a15e8b75730efbca16d07cc9afa684c1cbb10e1c diff --git a/app-emacs/company-mode/company-mode-0.10.2.ebuild b/app-emacs/company-mode/company-mode-0.10.2.ebuild new file mode 100644 index 000000000000..54c0bf43dad6 --- /dev/null +++ b/app-emacs/company-mode/company-mode-0.10.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 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/refs/tags/${PV}.tar.gz + -> ${P}.tar.gz" + + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +fi + +LICENSE="GPL-3+" +SLOT="0" + +ELISP_REMOVE=" + test/elisp-tests.el +" +PATCHES=( + "${FILESDIR}/${PN}-company-icons-root.patch" +) + +SITEFILE="50${PN}-gentoo.el" +DOCS=( CONTRIBUTING.md README.md NEWS.md ) + +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 +} |