app-emacs/cond-let: new package; add version 0.1.1

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2025-09-30 20:25:20 +02:00
parent 7dcaf59531
commit a00b784fce
3 changed files with 57 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST cond-let-0.1.1.tar.gz 19578 BLAKE2B 166edee3ef2275e500f981e10b61b643b184a0980f838f0e0be30809c729677c9672b4781f47dd715c982cbd55afb6985e06e2e0f59228db109a297c85cabc20 SHA512 64870edb9ea57299b84b3ac8b3bf78ea30bcf737bb4acbffe26deb33e99e98a95d26a328de09a4c118cb0f2ba714d84972e586462a45fed437582dafdef48ff4

View File

@@ -0,0 +1,37 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
NEED_EMACS="28.1"
inherit elisp
DESCRIPTION="Additional and improved binding conditionals for GNU Emacs"
HOMEPAGE="https://github.com/tarsius/cond-let/
https://github.com/tarsius/cond-let/wiki/"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/tarsius/${PN}"
else
SRC_URI="https://github.com/tarsius/${PN}/archive/v${PV}.tar.gz
-> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3+"
SLOT="0"
DOCS=( README.org )
SITEFILE="50${PN}-gentoo.el"
elisp-enable-tests ert . -l "${PN}-tests.el"
src_install() {
rm -f "${PN}-tests.el"*
elisp_src_install
}

View File

@@ -0,0 +1,19 @@
<?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>
<longdescription>
Emacs provides the binding conditionals if-let, if-let*, when-let,
when-let*, and-let* and while-let.
</longdescription>
<stabilize-allarches/>
<upstream>
<bugs-to>https://github.com/tarsius/cond-let/issues/</bugs-to>
<doc>https://github.com/tarsius/cond-let/wiki/</doc>
<remote-id type="github">tarsius/cond-let</remote-id>
</upstream>
</pkgmetadata>