public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/editorconfig-emacs/, app-emacs/editorconfig-emacs/files/
@ 2018-06-11 22:52 Ulrich Müller
  0 siblings, 0 replies; 3+ messages in thread
From: Ulrich Müller @ 2018-06-11 22:52 UTC (permalink / raw
  To: gentoo-commits

commit:     1a39b19911428fedd6f81071347d5165fde01e56
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 11 22:31:54 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Jun 11 22:52:05 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a39b199

app-emacs/editorconfig-emacs: Update site-init file.

Follow Emacs project standards, i.e., don't activate features as
site default but leave this to the user.

Commit with permission of zmedico in #gentoo-dev.

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 ...8.ebuild => editorconfig-emacs-0.7.8-r1.ebuild} | 22 ++++++++--------------
 .../files/50editorconfig-emacs-gentoo.el           |  7 +++++++
 app-emacs/editorconfig-emacs/metadata.xml          |  5 +++++
 3 files changed, 20 insertions(+), 14 deletions(-)

diff --git a/app-emacs/editorconfig-emacs/editorconfig-emacs-0.7.8.ebuild b/app-emacs/editorconfig-emacs/editorconfig-emacs-0.7.8-r1.ebuild
similarity index 54%
rename from app-emacs/editorconfig-emacs/editorconfig-emacs-0.7.8.ebuild
rename to app-emacs/editorconfig-emacs/editorconfig-emacs-0.7.8-r1.ebuild
index 8b6ace3612d..f79186d032e 100644
--- a/app-emacs/editorconfig-emacs/editorconfig-emacs-0.7.8.ebuild
+++ b/app-emacs/editorconfig-emacs/editorconfig-emacs-0.7.8-r1.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit elisp
+inherit elisp readme.gentoo-r1
 
 DESCRIPTION="EditorConfig plugin for emacs"
 HOMEPAGE="https://github.com/editorconfig/editorconfig-emacs"
@@ -12,16 +12,10 @@ SRC_URI="https://github.com/editorconfig/${PN}/archive/v${PV}.tar.gz -> ${P}.tar
 LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
-RESTRICT="test"
+RESTRICT="test"		# make test requires a git repo
 
-src_install() {
-	local site_file="${T}/50${PN}-gentoo.el"
-	echo "
-(require 'editorconfig)
-(editorconfig-mode 1)
-" > "${site_file}" || die
-	elisp-site-file-install "${site_file}"
-	elisp_src_install
-	dodoc README.md
-}
+SITEFILE="50${PN}-gentoo.el"
+DOCS="README.md"
+DOC_CONTENTS="The EditorConfig feature is not enabled as a site default.
+	Add the following line to your ~/.emacs file to activate it:
+	\n\t(editorconfig-mode 1)"

diff --git a/app-emacs/editorconfig-emacs/files/50editorconfig-emacs-gentoo.el b/app-emacs/editorconfig-emacs/files/50editorconfig-emacs-gentoo.el
new file mode 100644
index 00000000000..93d6816e8e7
--- /dev/null
+++ b/app-emacs/editorconfig-emacs/files/50editorconfig-emacs-gentoo.el
@@ -0,0 +1,7 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'editorconfig-mode "editorconfig"
+  "Toggle EditorConfig feature." t)
+(autoload 'editorconfig-conf-mode "editorconfig-conf-mode"
+  "Major mode for editing .editorconfig files." t)
+(add-to-list 'auto-mode-alist
+	     '("/\\.editorconfig\\'" . editorconfig-conf-mode))

diff --git a/app-emacs/editorconfig-emacs/metadata.xml b/app-emacs/editorconfig-emacs/metadata.xml
index 14acb12060d..65f408f2b6b 100644
--- a/app-emacs/editorconfig-emacs/metadata.xml
+++ b/app-emacs/editorconfig-emacs/metadata.xml
@@ -7,4 +7,9 @@
 	<maintainer type="person">
 		<email>zmedico@gentoo.org</email>
 	</maintainer>
+	<maintainer type="project">
+		<email>gnu-emacs@gentoo.org</email>
+		<name>Gentoo GNU Emacs project</name>
+	</maintainer>
+	<stabilize-allarches/>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-emacs/editorconfig-emacs/, app-emacs/editorconfig-emacs/files/
@ 2022-04-07 23:32 Maciej Barć
  0 siblings, 0 replies; 3+ messages in thread
From: Maciej Barć @ 2022-04-07 23:32 UTC (permalink / raw
  To: gentoo-commits

commit:     6113892094e88820c9c32925b46df4891e8f4e2b
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  7 23:32:00 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Apr  7 23:32:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61138920

app-emacs/editorconfig-emacs: also autoload editorconfig-apply

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

 ...onfig-emacs-0.7.8-r1.ebuild => editorconfig-emacs-0.7.8-r2.ebuild} | 2 +-
 ...orconfig-emacs-0.8.2.ebuild => editorconfig-emacs-0.8.2-r1.ebuild} | 2 +-
 app-emacs/editorconfig-emacs/files/50editorconfig-emacs-gentoo.el     | 4 +++-
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/app-emacs/editorconfig-emacs/editorconfig-emacs-0.7.8-r1.ebuild b/app-emacs/editorconfig-emacs/editorconfig-emacs-0.7.8-r2.ebuild
similarity index 94%
rename from app-emacs/editorconfig-emacs/editorconfig-emacs-0.7.8-r1.ebuild
rename to app-emacs/editorconfig-emacs/editorconfig-emacs-0.7.8-r2.ebuild
index 5108959d687f..0fbc0588065e 100644
--- a/app-emacs/editorconfig-emacs/editorconfig-emacs-0.7.8-r1.ebuild
+++ b/app-emacs/editorconfig-emacs/editorconfig-emacs-0.7.8-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7

diff --git a/app-emacs/editorconfig-emacs/editorconfig-emacs-0.8.2.ebuild b/app-emacs/editorconfig-emacs/editorconfig-emacs-0.8.2-r1.ebuild
similarity index 94%
rename from app-emacs/editorconfig-emacs/editorconfig-emacs-0.8.2.ebuild
rename to app-emacs/editorconfig-emacs/editorconfig-emacs-0.8.2-r1.ebuild
index 28b91eb6580a..d24511f11c4b 100644
--- a/app-emacs/editorconfig-emacs/editorconfig-emacs-0.8.2.ebuild
+++ b/app-emacs/editorconfig-emacs/editorconfig-emacs-0.8.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8

diff --git a/app-emacs/editorconfig-emacs/files/50editorconfig-emacs-gentoo.el b/app-emacs/editorconfig-emacs/files/50editorconfig-emacs-gentoo.el
index 93d6816e8e7b..d1f1e86dcd8e 100644
--- a/app-emacs/editorconfig-emacs/files/50editorconfig-emacs-gentoo.el
+++ b/app-emacs/editorconfig-emacs/files/50editorconfig-emacs-gentoo.el
@@ -1,7 +1,9 @@
 (add-to-list 'load-path "@SITELISP@")
 (autoload 'editorconfig-mode "editorconfig"
   "Toggle EditorConfig feature." t)
+(autoload 'editorconfig-apply "editorconfig"
+  "Get and apply EditorConfig properties to current buffer." t)
 (autoload 'editorconfig-conf-mode "editorconfig-conf-mode"
   "Major mode for editing .editorconfig files." t)
 (add-to-list 'auto-mode-alist
-	     '("/\\.editorconfig\\'" . editorconfig-conf-mode))
+             '("/\\.editorconfig\\'" . editorconfig-conf-mode))


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-emacs/editorconfig-emacs/, app-emacs/editorconfig-emacs/files/
@ 2022-04-08  0:15 Maciej Barć
  0 siblings, 0 replies; 3+ messages in thread
From: Maciej Barć @ 2022-04-08  0:15 UTC (permalink / raw
  To: gentoo-commits

commit:     a9cee516b2b538d79ef3d622815e7e83a6076cbc
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  8 00:11:53 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Apr  8 00:15:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9cee516

app-emacs/editorconfig-emacs: autoload editorconfig-core

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

 ...onfig-emacs-0.7.8-r2.ebuild => editorconfig-emacs-0.7.8-r3.ebuild} | 0
 ...onfig-emacs-0.8.2-r1.ebuild => editorconfig-emacs-0.8.2-r2.ebuild} | 0
 app-emacs/editorconfig-emacs/files/50editorconfig-emacs-gentoo.el     | 4 ++--
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-emacs/editorconfig-emacs/editorconfig-emacs-0.7.8-r2.ebuild b/app-emacs/editorconfig-emacs/editorconfig-emacs-0.7.8-r3.ebuild
similarity index 100%
rename from app-emacs/editorconfig-emacs/editorconfig-emacs-0.7.8-r2.ebuild
rename to app-emacs/editorconfig-emacs/editorconfig-emacs-0.7.8-r3.ebuild

diff --git a/app-emacs/editorconfig-emacs/editorconfig-emacs-0.8.2-r1.ebuild b/app-emacs/editorconfig-emacs/editorconfig-emacs-0.8.2-r2.ebuild
similarity index 100%
rename from app-emacs/editorconfig-emacs/editorconfig-emacs-0.8.2-r1.ebuild
rename to app-emacs/editorconfig-emacs/editorconfig-emacs-0.8.2-r2.ebuild

diff --git a/app-emacs/editorconfig-emacs/files/50editorconfig-emacs-gentoo.el b/app-emacs/editorconfig-emacs/files/50editorconfig-emacs-gentoo.el
index d1f1e86dcd8e..247365df8ecd 100644
--- a/app-emacs/editorconfig-emacs/files/50editorconfig-emacs-gentoo.el
+++ b/app-emacs/editorconfig-emacs/files/50editorconfig-emacs-gentoo.el
@@ -1,8 +1,8 @@
 (add-to-list 'load-path "@SITELISP@")
+(autoload 'editorconfig-core-get-properties-hash "editorconfig-core"
+  "Get EditorConfig properties for FILE." t)
 (autoload 'editorconfig-mode "editorconfig"
   "Toggle EditorConfig feature." t)
-(autoload 'editorconfig-apply "editorconfig"
-  "Get and apply EditorConfig properties to current buffer." t)
 (autoload 'editorconfig-conf-mode "editorconfig-conf-mode"
   "Major mode for editing .editorconfig files." t)
 (add-to-list 'auto-mode-alist


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-04-08  0:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-07 23:32 [gentoo-commits] repo/gentoo:master commit in: app-emacs/editorconfig-emacs/, app-emacs/editorconfig-emacs/files/ Maciej Barć
  -- strict thread matches above, loose matches on Subject: below --
2022-04-08  0:15 Maciej Barć
2018-06-11 22:52 Ulrich Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox