* [gentoo-commits] repo/gentoo:master commit in: app-emacs/polymode/, app-emacs/polymode/files/
@ 2022-05-04 12:46 Maciej Barć
0 siblings, 0 replies; only message in thread
From: Maciej Barć @ 2022-05-04 12:46 UTC (permalink / raw
To: gentoo-commits
commit: b7c36d41e93d2dd8fcee5730fe25717544b0d39c
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed May 4 10:15:57 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed May 4 12:45:43 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7c36d41
app-emacs/polymode: new package; add version 0.2.2_p20220322
2022.03.22 snapshot
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
app-emacs/polymode/Manifest | 1 +
app-emacs/polymode/files/50polymode-gentoo.el | 1 +
app-emacs/polymode/metadata.xml | 18 ++++++++++++
app-emacs/polymode/polymode-0.2.2_p20220322.ebuild | 33 ++++++++++++++++++++++
4 files changed, 53 insertions(+)
diff --git a/app-emacs/polymode/Manifest b/app-emacs/polymode/Manifest
new file mode 100644
index 000000000000..913ddcd3f944
--- /dev/null
+++ b/app-emacs/polymode/Manifest
@@ -0,0 +1 @@
+DIST polymode-0.2.2_p20220322.tar.gz 417218 BLAKE2B 7f2846a6fed751f7fb0e7d6b50ca2bb40232007e7f8cef801b22b252ca39a65658d0059ddb8ba384ed2f6b1bdbddaf39fcaa09d91787b8523f9872162156f25a SHA512 2e1d49cd3086cb7a8551a4c48cd6655e1c41155f1e518b1cfae5493ac382d566bc7a8969a167063c0384978b70d79f2d2557fc9a6d12e54a985fdbf24315bf0b
diff --git a/app-emacs/polymode/files/50polymode-gentoo.el b/app-emacs/polymode/files/50polymode-gentoo.el
new file mode 100644
index 000000000000..431f7e90ae73
--- /dev/null
+++ b/app-emacs/polymode/files/50polymode-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")
diff --git a/app-emacs/polymode/metadata.xml b/app-emacs/polymode/metadata.xml
new file mode 100644
index 000000000000..f362d712f750
--- /dev/null
+++ b/app-emacs/polymode/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/polymode/polymode/issues/</bugs-to>
+ <remote-id type="github">polymode/polymode</remote-id>
+ </upstream>
+ <longdescription>
+ Polymode is a framework for multiple major modes (MMM) inside a single
+ Emacs buffer. It is fast and has a simple but flexible object oriented
+ design. Creating new polymodes normally takes a few lines of code.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-emacs/polymode/polymode-0.2.2_p20220322.ebuild b/app-emacs/polymode/polymode-0.2.2_p20220322.ebuild
new file mode 100644
index 000000000000..c41d8cbfa476
--- /dev/null
+++ b/app-emacs/polymode/polymode-0.2.2_p20220322.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+H=2094c92403fe395dfb2b8b2521da1012a966e9ab
+NEED_EMACS=25
+
+inherit elisp
+
+DESCRIPTION="Framework for Multiple Major Modes in Emacs"
+HOMEPAGE="https://github.com/polymode/polymode/"
+SRC_URI="https://github.com/polymode/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/${PN}-${H}
+
+LICENSE="GPL-3+"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+
+DOCS=( readme.md )
+# The "compat-tests" downloads resources from network and "define-tests" fails
+ELISP_REMOVE="tests/compat-tests.el tests/define-tests.el"
+SITEFILE="50${PN}-gentoo.el"
+
+src_test() {
+ ${EMACS} ${EMACSFLAGS} -L . --load targets/test.el
+}
+
+src_install() {
+ elisp_src_install
+
+ dodoc -r samples
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-04 12:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-04 12:46 [gentoo-commits] repo/gentoo:master commit in: app-emacs/polymode/, app-emacs/polymode/files/ Maciej Barć
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox