summaryrefslogtreecommitdiff
path: root/app-emacs/company-mode
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/company-mode')
-rw-r--r--app-emacs/company-mode/Manifest2
-rw-r--r--app-emacs/company-mode/company-mode-1.0.2.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/app-emacs/company-mode/Manifest b/app-emacs/company-mode/Manifest
index ad5329d0d121..1fdc7c80d9f6 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.2.tar.gz 2199965 BLAKE2B f5c931fd128543780a3f61f7f25bc0ac58bdc2e974390482374728b9a6059f35562cc2a201484cb3670bdc6dec63eb423b0c7714605df6457da0fa54008a5a4a SHA512 343ddc7cdeb1b6705a4a2a44979f3940034b32c8725eda2cc29673669737dc8d96d266bd2d44755901665706d0b34abc9e3665e24016f55c1646219029796ade
+DIST company-mode-1.0.2.tar.gz 2208441 BLAKE2B 344f2375baf7397f16d7b5c93f31468ff33242f1730e8654e79a9f18201a59bd0187a0479e2720f5cd122f52e232e0486915ad6a4a3852f9003a9c9eee5ad6b1 SHA512 232902ef1d03a57dd06745ae641e7646a81e96d998aa39752a04204fc767e45837bd9dc48b9a534682180cb51b5229e177174d6eb373f4a9e617d92cc45f508b
EBUILD company-mode-0.10.2.ebuild 1046 BLAKE2B 44ac6205f519769d804557b6614e3574dbd24c92020631d62412a254ac6660c21517b97a604ba5096ffcffbdb5eddfb31811ec3782630aaa179044485c577149 SHA512 a9d81d549ade2243a464e1713cd5baf0842ead383f05f06ba6bf888baee319ec141633afed08a0a6aa7a0a1c07d9035204e0d8720340c4c9280d85d0b3702311
+EBUILD company-mode-1.0.2.ebuild 1009 BLAKE2B cd4470648f0d90656a6545852c2c242a19462afaa1fe2f700bb2598d94d94f6898cbf1d05affe3d29fc9de3d4aa7cb5e4d96b9bc4fde951029485311a7d0bcaf SHA512 0ae6437ae2ed82714562d210b537d8ad1a3ace56c0b1a15d726edc2837007af658a1956febf0ab51e3c4efa283f86caa5f21a6a794cf2acf4c106ef47d15be03
MISC metadata.xml 371 BLAKE2B 802336a86d961a5eaa5079ff9a556a7bb435d9e52e9a8a901bfb6e49739b5e27ebe73f00016fe20fdc023f2dd1af4b2b082926011ae8ce2a9fa220e36475a2aa SHA512 93d3bf18ee05d67814ce1965b23a1b5274d37322eca0f02144eab1af23c13d5e811f026c6378e9f9b53d2e67a15e8b75730efbca16d07cc9afa684c1cbb10e1c
diff --git a/app-emacs/company-mode/company-mode-1.0.2.ebuild b/app-emacs/company-mode/company-mode-1.0.2.ebuild
new file mode 100644
index 000000000000..c175042d75af
--- /dev/null
+++ b/app-emacs/company-mode/company-mode-1.0.2.ebuild
@@ -0,0 +1,54 @@
+# 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"
+
+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
+}