Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/company-ebuild/files/, app-emacs/company-ebuild/
Date: Wed, 17 Aug 2022 00:18:56
Message-Id: 1660695460.ea34cfec63c19605368fdd135074d2656ff9595c.xgqt@gentoo
1 commit: ea34cfec63c19605368fdd135074d2656ff9595c
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 17 00:14:47 2022 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 17 00:17:40 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea34cfec
7
8 app-emacs/company-ebuild: new package; add version 0.1.0 and live
9
10 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
11
12 app-emacs/company-ebuild/Manifest | 1 +
13 .../company-ebuild/company-ebuild-0.1.0.ebuild | 30 ++++++++++++++++++++++
14 .../company-ebuild/company-ebuild-9999.ebuild | 30 ++++++++++++++++++++++
15 .../files/50company-ebuild-gentoo.el | 5 ++++
16 app-emacs/company-ebuild/metadata.xml | 16 ++++++++++++
17 5 files changed, 82 insertions(+)
18
19 diff --git a/app-emacs/company-ebuild/Manifest b/app-emacs/company-ebuild/Manifest
20 new file mode 100644
21 index 000000000000..33e0976da34b
22 --- /dev/null
23 +++ b/app-emacs/company-ebuild/Manifest
24 @@ -0,0 +1 @@
25 +DIST company-ebuild-0.1.0.tar.gz 10938 BLAKE2B e89e389b49b32057a6acd72cf7a0eb68b10d005824287c112528e3136e7d969e3b678450fc997800d83b3c8f226030b0e2724c63b3ae82d78ad16af49bc10984 SHA512 bc7fec05fbc3600ce6b5111b4e1817bfe04f7185a6a33bf5b83291feb795f47b91f827960b29f844f2627e885a05cc156b755a468e5eb0c314345c869678ea17
26
27 diff --git a/app-emacs/company-ebuild/company-ebuild-0.1.0.ebuild b/app-emacs/company-ebuild/company-ebuild-0.1.0.ebuild
28 new file mode 100644
29 index 000000000000..febf2b249a55
30 --- /dev/null
31 +++ b/app-emacs/company-ebuild/company-ebuild-0.1.0.ebuild
32 @@ -0,0 +1,30 @@
33 +# Copyright 1999-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +NEED_EMACS=25.1
39 +
40 +inherit elisp
41 +
42 +DESCRIPTION="Company backend for editing Ebuild files"
43 +HOMEPAGE="https://gitweb.gentoo.org/proj/company-ebuild.git"
44 +
45 +if [[ ${PV} == *9999* ]] ; then
46 + inherit git-r3
47 + EGIT_REPO_URI="https://gitweb.gentoo.org/proj/${PN}.git"
48 +else
49 + SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.gz"
50 + KEYWORDS="~amd64 ~x86"
51 +fi
52 +
53 +LICENSE="GPL-2+"
54 +SLOT="0"
55 +
56 +SITEFILE="50${PN}-gentoo.el"
57 +
58 +RDEPEND="
59 + app-emacs/company-mode
60 + app-emacs/ebuild-mode
61 +"
62 +BDEPEND="${RDEPEND}"
63
64 diff --git a/app-emacs/company-ebuild/company-ebuild-9999.ebuild b/app-emacs/company-ebuild/company-ebuild-9999.ebuild
65 new file mode 100644
66 index 000000000000..febf2b249a55
67 --- /dev/null
68 +++ b/app-emacs/company-ebuild/company-ebuild-9999.ebuild
69 @@ -0,0 +1,30 @@
70 +# Copyright 1999-2022 Gentoo Authors
71 +# Distributed under the terms of the GNU General Public License v2
72 +
73 +EAPI=8
74 +
75 +NEED_EMACS=25.1
76 +
77 +inherit elisp
78 +
79 +DESCRIPTION="Company backend for editing Ebuild files"
80 +HOMEPAGE="https://gitweb.gentoo.org/proj/company-ebuild.git"
81 +
82 +if [[ ${PV} == *9999* ]] ; then
83 + inherit git-r3
84 + EGIT_REPO_URI="https://gitweb.gentoo.org/proj/${PN}.git"
85 +else
86 + SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.gz"
87 + KEYWORDS="~amd64 ~x86"
88 +fi
89 +
90 +LICENSE="GPL-2+"
91 +SLOT="0"
92 +
93 +SITEFILE="50${PN}-gentoo.el"
94 +
95 +RDEPEND="
96 + app-emacs/company-mode
97 + app-emacs/ebuild-mode
98 +"
99 +BDEPEND="${RDEPEND}"
100
101 diff --git a/app-emacs/company-ebuild/files/50company-ebuild-gentoo.el b/app-emacs/company-ebuild/files/50company-ebuild-gentoo.el
102 new file mode 100644
103 index 000000000000..45da4c86348f
104 --- /dev/null
105 +++ b/app-emacs/company-ebuild/files/50company-ebuild-gentoo.el
106 @@ -0,0 +1,5 @@
107 +(add-to-list 'load-path "@SITELISP@")
108 +(autoload 'company-ebuild "company-ebuild"
109 + "Company backend for editing Ebuild files." t)
110 +(autoload 'company-ebuild-setup "company-ebuild"
111 + "Setup for Company-Ebuild.")
112
113 diff --git a/app-emacs/company-ebuild/metadata.xml b/app-emacs/company-ebuild/metadata.xml
114 new file mode 100644
115 index 000000000000..243979d0ba2e
116 --- /dev/null
117 +++ b/app-emacs/company-ebuild/metadata.xml
118 @@ -0,0 +1,16 @@
119 +<?xml version="1.0" encoding="UTF-8"?>
120 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
121 +
122 +<pkgmetadata>
123 + <maintainer type="project">
124 + <email>gnu-emacs@g.o</email>
125 + <name>Gentoo GNU Emacs project</name>
126 + </maintainer>
127 + <stabilize-allarches />
128 + <upstream>
129 + <maintainer status="active">
130 + <email>emacs@g.o</email>
131 + <name>Gentoo Emacs project</name>
132 + </maintainer>
133 + </upstream>
134 +</pkgmetadata>