From 9bff882df32ac73af2dfddb984411bbeba0ab5b8 Mon Sep 17 00:00:00 2001 From: Arsen Arsenović Date: Fri, 27 Jan 2023 13:47:59 +0100 Subject: app-emacs/poke-mode: new package, add 3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Arsen Arsenović --- app-emacs/poke-mode/Manifest | 1 + app-emacs/poke-mode/files/50poke-mode-gentoo.el | 7 +++++++ app-emacs/poke-mode/metadata.xml | 8 ++++++++ app-emacs/poke-mode/poke-mode-3.0.ebuild | 19 +++++++++++++++++++ 4 files changed, 35 insertions(+) create mode 100644 app-emacs/poke-mode/Manifest create mode 100644 app-emacs/poke-mode/files/50poke-mode-gentoo.el create mode 100644 app-emacs/poke-mode/metadata.xml create mode 100644 app-emacs/poke-mode/poke-mode-3.0.ebuild diff --git a/app-emacs/poke-mode/Manifest b/app-emacs/poke-mode/Manifest new file mode 100644 index 000000000000..5ca14b79a7e9 --- /dev/null +++ b/app-emacs/poke-mode/Manifest @@ -0,0 +1 @@ +DIST poke-mode-3.0.tar 20480 BLAKE2B f46b14be48bfed9187ba939277a0464050ebede46c9757450a5b79fd23d8fb48af4c220e36a00f4bb6bc3c1ad6597b763ff268b668bd6c5160740671c0d5b456 SHA512 d1d9af1d09ee80a75cd8ba50348a0d6496fc30f12ea9707a313111ac11d2e7222a701c6a75a1f06e6c785d56be4036e85c11ae1cf3b35de8303011617f51efab diff --git a/app-emacs/poke-mode/files/50poke-mode-gentoo.el b/app-emacs/poke-mode/files/50poke-mode-gentoo.el new file mode 100644 index 000000000000..53fd87c88d6d --- /dev/null +++ b/app-emacs/poke-mode/files/50poke-mode-gentoo.el @@ -0,0 +1,7 @@ +;;; poke-mode site configuration +(add-to-list 'load-path "@SITELISP@") + +(autoload 'poke-mode "poke-mode" + "Poke PK (pickle) editing mode." t) + +(add-to-list 'auto-mode-alist '(".*\\.pk" . poke-mode)) diff --git a/app-emacs/poke-mode/metadata.xml b/app-emacs/poke-mode/metadata.xml new file mode 100644 index 000000000000..d773a3050c42 --- /dev/null +++ b/app-emacs/poke-mode/metadata.xml @@ -0,0 +1,8 @@ + + + + + arsen@gentoo.org + Arsen Arsenović + + diff --git a/app-emacs/poke-mode/poke-mode-3.0.ebuild b/app-emacs/poke-mode/poke-mode-3.0.ebuild new file mode 100644 index 000000000000..bcb0f8ed172f --- /dev/null +++ b/app-emacs/poke-mode/poke-mode-3.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS=25 + +inherit elisp + +DESCRIPTION="Major mode for editing Poke programs" +HOMEPAGE="https://elpa.gnu.org/packages/poke-mode.html" +SRC_URI="https://elpa.gnu.org/packages/${P}.tar" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" + +ELISP_REMOVE="poke-mode-pkg.el" +SITEFILE="50${PN}-gentoo.el" -- cgit v1.2.3-65-gdbad