commit:     ea34cfec63c19605368fdd135074d2656ff9595c
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 17 00:14:47 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Aug 17 00:17:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea34cfec

app-emacs/company-ebuild: new package; add version 0.1.0 and live

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/company-ebuild/Manifest                  |  1 +
 .../company-ebuild/company-ebuild-0.1.0.ebuild     | 30 ++++++++++++++++++++++
 .../company-ebuild/company-ebuild-9999.ebuild      | 30 ++++++++++++++++++++++
 .../files/50company-ebuild-gentoo.el               |  5 ++++
 app-emacs/company-ebuild/metadata.xml              | 16 ++++++++++++
 5 files changed, 82 insertions(+)

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>[email protected]</email>
+    <name>Gentoo GNU Emacs project</name>
+  </maintainer>
+  <stabilize-allarches />
+  <upstream>
+    <maintainer status="active">
+      <email>[email protected]</email>
+      <name>Gentoo Emacs project</name>
+    </maintainer>
+  </upstream>
+</pkgmetadata>

Reply via email to