app-emacs/vw-mode: new package; add version 1.0_p20250609

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć 2025-10-19 14:14:44 +02:00
parent 3c6183e762
commit ecf3895380
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
4 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST vw-mode-1.0_p20250609.srht.tar.gz 17709 BLAKE2B 749af7ea32a7fa64ac0daeebf65691c407a4314db0afa1f95aad974247c9756fe9929e0b198e13523ccca5e08e47f9d62808e78b5b9d75211b6cdf34890825c6 SHA512 4e74698c66902829ae18d359e834ae711542b794ed8dce4f8c3ac2f46a7673e2e5b7d5a728984a5388e04fb541cb9bd9ce2dec539af43bc2d67b2a63f041185f

View File

@ -0,0 +1,2 @@
(add-to-list 'load-path "@SITELISP@")
(load "@SITELISP@/vw-mode-autoloads.el" nil t)

View File

@ -0,0 +1,24 @@
<?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>
<stabilize-allarches/>
<longdescription>
Major mode for editing programming language descriptions in the
style used by the Algol 68 Revised Report. The syntax of the language
is expressed formally using a van-Wijngaarden grammar, also known as
VW-grammars or two-level grammars. These grammars have the same
expression power than a Turing machine, and can therefore cover much
more than the usual BNF-style representations which are restricted to
what can be expressed by context-free grammars. Pragmatic annotations
and cross-references complement the grammar rules, which are organized
in numbered sections.
</longdescription>
<upstream>
<remote-id type="sourcehut">~jemarch/vw-mode</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,36 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit elisp
DESCRIPTION="Major mode for editing VW Grammars for GNU Emacs"
HOMEPAGE="https://git.sr.ht/~jemarch/vw-mode/"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://git.sr.ht/~jemarch/${PN}"
else
if [[ "${PV}" == *_p20250609 ]] ; then
COMMIT="d9c537065074f5752458f481a09faa93b244ce05"
fi
SRC_URI="https://git.sr.ht/~jemarch/${PN}/archive/${COMMIT}.tar.gz
-> ${P}.srht.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3+"
SLOT="0"
DOCS=( README.md abc.vw )
SITEFILE="50${PN}-gentoo.el"
src_compile() {
elisp_src_compile
elisp-make-autoload-file
}