app-emacs/polymode: new package; add version 0.2.2_p20220322

2022.03.22 snapshot

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2022-05-04 12:15:57 +02:00
parent aac12d2807
commit b7c36d41e9
4 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST polymode-0.2.2_p20220322.tar.gz 417218 BLAKE2B 7f2846a6fed751f7fb0e7d6b50ca2bb40232007e7f8cef801b22b252ca39a65658d0059ddb8ba384ed2f6b1bdbddaf39fcaa09d91787b8523f9872162156f25a SHA512 2e1d49cd3086cb7a8551a4c48cd6655e1c41155f1e518b1cfae5493ac382d566bc7a8969a167063c0384978b70d79f2d2557fc9a6d12e54a985fdbf24315bf0b

View File

@@ -0,0 +1 @@
(add-to-list 'load-path "@SITELISP@")

View File

@@ -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>

View File

@@ -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
}