diff --git a/app-emacs/company-ebuild/Manifest b/app-emacs/company-ebuild/Manifest new file mode 100644 index 0000000000000..33e0976da34b7 --- /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 0000000000000..febf2b249a558 --- /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 0000000000000..febf2b249a558 --- /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 0000000000000..45da4c86348f5 --- /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 0000000000000..243979d0ba2ee --- /dev/null +++ b/app-emacs/company-ebuild/metadata.xml @@ -0,0 +1,16 @@ + + + + + + gnu-emacs@gentoo.org + Gentoo GNU Emacs project + + + + + emacs@gentoo.org + Gentoo Emacs project + + +