mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
app-emacs/vw-mode: new package; add version 1.0_p20250609
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
parent
3c6183e762
commit
ecf3895380
1
app-emacs/vw-mode/Manifest
Normal file
1
app-emacs/vw-mode/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST vw-mode-1.0_p20250609.srht.tar.gz 17709 BLAKE2B 749af7ea32a7fa64ac0daeebf65691c407a4314db0afa1f95aad974247c9756fe9929e0b198e13523ccca5e08e47f9d62808e78b5b9d75211b6cdf34890825c6 SHA512 4e74698c66902829ae18d359e834ae711542b794ed8dce4f8c3ac2f46a7673e2e5b7d5a728984a5388e04fb541cb9bd9ce2dec539af43bc2d67b2a63f041185f
|
||||
2
app-emacs/vw-mode/files/50vw-mode-gentoo.el
Normal file
2
app-emacs/vw-mode/files/50vw-mode-gentoo.el
Normal file
@ -0,0 +1,2 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(load "@SITELISP@/vw-mode-autoloads.el" nil t)
|
||||
24
app-emacs/vw-mode/metadata.xml
Normal file
24
app-emacs/vw-mode/metadata.xml
Normal 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>
|
||||
36
app-emacs/vw-mode/vw-mode-1.0_p20250609.ebuild
Normal file
36
app-emacs/vw-mode/vw-mode-1.0_p20250609.ebuild
Normal 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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user