summaryrefslogtreecommitdiff
path: root/app-emacs/company-mode
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-emacs/company-mode
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emacs/company-mode')
-rw-r--r--app-emacs/company-mode/Manifest8
-rw-r--r--app-emacs/company-mode/company-mode-0.6.14.ebuild38
-rw-r--r--app-emacs/company-mode/company-mode-0.7.ebuild38
-rw-r--r--app-emacs/company-mode/files/50company-mode-gentoo.el2
-rw-r--r--app-emacs/company-mode/metadata.xml15
5 files changed, 101 insertions, 0 deletions
diff --git a/app-emacs/company-mode/Manifest b/app-emacs/company-mode/Manifest
new file mode 100644
index 000000000000..aaa3b61f302a
--- /dev/null
+++ b/app-emacs/company-mode/Manifest
@@ -0,0 +1,8 @@
+AUX 50company-mode-gentoo.el 79 SHA256 9e50754cd23e5babffb29c4c93b4df8c34680fb714f6fc36a73d5c739cc4c3b0 SHA512 8c3c1d4a50bfd4729f8a06f33bf9d754b5865814cf15eee1f3c84c6726734f8ff26c21547f1453f7417a0b9d008fe7804104ee6e30f13c54625d2b4b6faa7e99 WHIRLPOOL 6f7259e32cec3249764b5c1858468f3625f7084b8b651392574a9ed20a9b42ae00d6abe5c601516df5b19cf934859237151d388b365bf5e0ba713d44e2a37bbc
+DIST company-mode-0.6.14.tar.gz 51776 SHA256 5472cd634bf09da4557f055d3615afdd5436f814f63923ad94ccbebe60ab5e08 SHA512 7b8c0b70dc9c010214e8671fd7393faa9d1dd0839f41d532eb93eda91c77b4c93f2145ad2d688011976bfbb45282f35b937f195499f29cda79147ec2815e94d9 WHIRLPOOL 1aeefc6e4a5d7e3696150c38187131811c88fd3e9478a401400a31a7f7f7e3aad42736cabb093398470f9b20041639143665bb9d7335e2ae40ccfab8d2ab91ce
+DIST company-mode-0.7.tar.gz 54670 SHA256 73d55d9288537800c23f5e9e5b6208dd5e36e29271dca1a6c3840ca20142a268 SHA512 375c8541a0c5b34fba37ea136c8549e6ec916c238bee8115f036d88f273d6bcb0c0f436a6193d3b4be6528945d8f85c605de8d340e903a9764f5ace664f8cf61 WHIRLPOOL 23e18a37be0a2c1f4c7ded455557a5503c8f25b910ce5c0f36d8b09a22bd4aa96a944b0363750fce6b111dc3854c896f1800ac4dad20f99c76d7e0c9829e6014
+EBUILD company-mode-0.6.14.ebuild 1000 SHA256 415566a286c5f63d5910ad9f6113573e2fe44c9eb97a11affefe153c2a63167d SHA512 62fced23f0b40ab4d4b93c2102202c00e7dc85d4541cdbbea9bd78d65d71b07d301700fa944d2729d0e59f2537e10fece36509daf0666179158acb0293c10804 WHIRLPOOL 458d48b6a72631722f7ae6c84e92bdb7ae5681319e93f0bda3071897668d2c0b26ae9b39071b1ad20600c398a54559e60da143783b516e82d1706eb02ae343ed
+EBUILD company-mode-0.7.ebuild 1000 SHA256 415566a286c5f63d5910ad9f6113573e2fe44c9eb97a11affefe153c2a63167d SHA512 62fced23f0b40ab4d4b93c2102202c00e7dc85d4541cdbbea9bd78d65d71b07d301700fa944d2729d0e59f2537e10fece36509daf0666179158acb0293c10804 WHIRLPOOL 458d48b6a72631722f7ae6c84e92bdb7ae5681319e93f0bda3071897668d2c0b26ae9b39071b1ad20600c398a54559e60da143783b516e82d1706eb02ae343ed
+MISC ChangeLog 2685 SHA256 1844a36c38cd60e67431d66293912e5301068256742384a006a9bb3a4b8bc637 SHA512 adcd14be5da53ee8b8eb6c617165554cb431cca54198dd0c5532d4734aefe11197497ac0eecd4ad10261d07f617cdc5c897001410fc13e12747ef9fccedb69bc WHIRLPOOL bee5ab33f3e035dc60b1cf528db80df29c7a5ae8b5cff0efad4245ce6e2a93545e3811aa14996b73e76f6cabb4d93a811041bea21d1e2beca04ba285438e4c38
+MISC ChangeLog-2015 3423 SHA256 e8bf0d3f8482cd2a8ec6e94628aa0d59e0c92a50cd4ca9f95291b303ab35ea8c SHA512 a0b77f5e626bedeb3a4030bc126a49d6869bef1daedc5efd51d75457d488e99c5a1b28d2362c9ea65b00484f060a90412303421ab0fd7372e73d06712075c749 WHIRLPOOL 0df18fbe5a148a549abe61ccd8584fbb10b1cbca929278f6246db04759de54c25626942df803a99304bacbceb541e1b7e901aae0bb7fa2ce7400ac8b774a2944
+MISC metadata.xml 446 SHA256 37de1020f9d8158ebedbb5463274af9786da1d21208d888332e87d1a1da8faea SHA512 cf910574b7e2a1ee4f1fddb54ea2b3f41d635d472930e529a051a3a6d9c350ad9fcca4b5d6b8f40a5c62d78c9dda1e2b5b9384a4f95c0b719ce0ae38810c17bb WHIRLPOOL 1a52ef25878f5f34260768b87b51e2c3d3e6f1915f3bf44f4653ed4b15609bb3622427c71d58ac39349b71bfe6e9e4a0f0fd2e71fc279b8182aa1a20f335b429
diff --git a/app-emacs/company-mode/company-mode-0.6.14.ebuild b/app-emacs/company-mode/company-mode-0.6.14.ebuild
new file mode 100644
index 000000000000..7b2e2231f50f
--- /dev/null
+++ b/app-emacs/company-mode/company-mode-0.6.14.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="In-buffer completion front-end"
+HOMEPAGE="https://company-mode.github.com/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ropemacs"
+RESTRICT="test"
+
+# Note: company-mode supports many backends, and we refrain from including
+# them all in RDEPEND. Only depend on things that are needed at build time.
+DEPEND="ropemacs? ( app-emacs/pymacs )"
+RDEPEND="${DEPEND}
+ ropemacs? ( dev-python/ropemacs )"
+
+SITEFILE="50${PN}-gentoo.el"
+DOCS="README.md NEWS.md"
+
+src_prepare() {
+ # Disable backends that require extra dependencies, unless they are
+ # selected by the respective USE flag
+
+ elog "Removing pysmell backend"
+ rm company-pysmell.el || die
+
+ if ! use ropemacs; then
+ elog "Removing ropemacs backend, as requested by USE=-ropemacs"
+ rm company-ropemacs.el || die
+ fi
+}
diff --git a/app-emacs/company-mode/company-mode-0.7.ebuild b/app-emacs/company-mode/company-mode-0.7.ebuild
new file mode 100644
index 000000000000..7b2e2231f50f
--- /dev/null
+++ b/app-emacs/company-mode/company-mode-0.7.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="In-buffer completion front-end"
+HOMEPAGE="https://company-mode.github.com/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ropemacs"
+RESTRICT="test"
+
+# Note: company-mode supports many backends, and we refrain from including
+# them all in RDEPEND. Only depend on things that are needed at build time.
+DEPEND="ropemacs? ( app-emacs/pymacs )"
+RDEPEND="${DEPEND}
+ ropemacs? ( dev-python/ropemacs )"
+
+SITEFILE="50${PN}-gentoo.el"
+DOCS="README.md NEWS.md"
+
+src_prepare() {
+ # Disable backends that require extra dependencies, unless they are
+ # selected by the respective USE flag
+
+ elog "Removing pysmell backend"
+ rm company-pysmell.el || die
+
+ if ! use ropemacs; then
+ elog "Removing ropemacs backend, as requested by USE=-ropemacs"
+ rm company-ropemacs.el || die
+ fi
+}
diff --git a/app-emacs/company-mode/files/50company-mode-gentoo.el b/app-emacs/company-mode/files/50company-mode-gentoo.el
new file mode 100644
index 000000000000..cd85457fe91e
--- /dev/null
+++ b/app-emacs/company-mode/files/50company-mode-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'company-mode "company" nil t)
diff --git a/app-emacs/company-mode/metadata.xml b/app-emacs/company-mode/metadata.xml
new file mode 100644
index 000000000000..13ad0d404147
--- /dev/null
+++ b/app-emacs/company-mode/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+</maintainer>
+<use>
+ <flag name="ropemacs">Install backend for
+ <pkg>dev-python/ropemacs</pkg></flag>
+</use>
+<upstream>
+ <remote-id type="github">company-mode/company-mode</remote-id>
+</upstream>
+</pkgmetadata>