summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-08-17 02:14:47 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-08-17 02:17:40 +0200
commitea34cfec63c19605368fdd135074d2656ff9595c (patch)
tree8a3ea5835c9207758308aeb946fc661f65c7580d /app-emacs/company-ebuild
parentapp-emacs/exec-path-from-shell: new package; add version 1.12 (diff)
downloadgentoo-ea34cfec63c19605368fdd135074d2656ff9595c.tar.gz
gentoo-ea34cfec63c19605368fdd135074d2656ff9595c.tar.bz2
gentoo-ea34cfec63c19605368fdd135074d2656ff9595c.zip
app-emacs/company-ebuild: new package; add version 0.1.0 and live
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/company-ebuild')
-rw-r--r--app-emacs/company-ebuild/Manifest1
-rw-r--r--app-emacs/company-ebuild/company-ebuild-0.1.0.ebuild30
-rw-r--r--app-emacs/company-ebuild/company-ebuild-9999.ebuild30
-rw-r--r--app-emacs/company-ebuild/files/50company-ebuild-gentoo.el5
-rw-r--r--app-emacs/company-ebuild/metadata.xml16
5 files changed, 82 insertions, 0 deletions
diff --git a/app-emacs/company-ebuild/Manifest b/app-emacs/company-ebuild/Manifest
new file mode 100644
index 000000000000..33e0976da34b
--- /dev/null
+++ b/app-emacs/company-ebuild/Manifest
@@ -0,0 +1 @@
+DIST company-ebuild-0.1.0.tar.gz 10938 BLAKE2B e89e389b49b32057a6acd72cf7a0eb68b10d005824287c112528e3136e7d969e3b678450fc997800d83b3c8f226030b0e2724c63b3ae82d78ad16af49bc10984 SHA512 bc7fec05fbc3600ce6b5111b4e1817bfe04f7185a6a33bf5b83291feb795f47b91f827960b29f844f2627e885a05cc156b755a468e5eb0c314345c869678ea17
diff --git a/app-emacs/company-ebuild/company-ebuild-0.1.0.ebuild b/app-emacs/company-ebuild/company-ebuild-0.1.0.ebuild
new file mode 100644
index 000000000000..febf2b249a55
--- /dev/null
+++ b/app-emacs/company-ebuild/company-ebuild-0.1.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS=25.1
+
+inherit elisp
+
+DESCRIPTION="Company backend for editing Ebuild files"
+HOMEPAGE="https://gitweb.gentoo.org/proj/company-ebuild.git"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitweb.gentoo.org/proj/${PN}.git"
+else
+ SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+
+SITEFILE="50${PN}-gentoo.el"
+
+RDEPEND="
+ app-emacs/company-mode
+ app-emacs/ebuild-mode
+"
+BDEPEND="${RDEPEND}"
diff --git a/app-emacs/company-ebuild/company-ebuild-9999.ebuild b/app-emacs/company-ebuild/company-ebuild-9999.ebuild
new file mode 100644
index 000000000000..febf2b249a55
--- /dev/null
+++ b/app-emacs/company-ebuild/company-ebuild-9999.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS=25.1
+
+inherit elisp
+
+DESCRIPTION="Company backend for editing Ebuild files"
+HOMEPAGE="https://gitweb.gentoo.org/proj/company-ebuild.git"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitweb.gentoo.org/proj/${PN}.git"
+else
+ SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+
+SITEFILE="50${PN}-gentoo.el"
+
+RDEPEND="
+ app-emacs/company-mode
+ app-emacs/ebuild-mode
+"
+BDEPEND="${RDEPEND}"
diff --git a/app-emacs/company-ebuild/files/50company-ebuild-gentoo.el b/app-emacs/company-ebuild/files/50company-ebuild-gentoo.el
new file mode 100644
index 000000000000..45da4c86348f
--- /dev/null
+++ b/app-emacs/company-ebuild/files/50company-ebuild-gentoo.el
@@ -0,0 +1,5 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'company-ebuild "company-ebuild"
+ "Company backend for editing Ebuild files." t)
+(autoload 'company-ebuild-setup "company-ebuild"
+ "Setup for Company-Ebuild.")
diff --git a/app-emacs/company-ebuild/metadata.xml b/app-emacs/company-ebuild/metadata.xml
new file mode 100644
index 000000000000..243979d0ba2e
--- /dev/null
+++ b/app-emacs/company-ebuild/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+ </maintainer>
+ <stabilize-allarches />
+ <upstream>
+ <maintainer status="active">
+ <email>emacs@gentoo.org</email>
+ <name>Gentoo Emacs project</name>
+ </maintainer>
+ </upstream>
+</pkgmetadata>