commit: a00b784fce0ae1db72f7de609943782e55fb8475 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Tue Sep 30 18:25:20 2025 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Tue Sep 30 19:01:06 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a00b784f
app-emacs/cond-let: new package; add version 0.1.1 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> app-emacs/cond-let/Manifest | 1 + app-emacs/cond-let/cond-let-0.1.1.ebuild | 37 ++++++++++++++++++++++++++++++++ app-emacs/cond-let/metadata.xml | 19 ++++++++++++++++ 3 files changed, 57 insertions(+) diff --git a/app-emacs/cond-let/Manifest b/app-emacs/cond-let/Manifest new file mode 100644 index 000000000000..a2d4a1dd22a3 --- /dev/null +++ b/app-emacs/cond-let/Manifest @@ -0,0 +1 @@ +DIST cond-let-0.1.1.tar.gz 19578 BLAKE2B 166edee3ef2275e500f981e10b61b643b184a0980f838f0e0be30809c729677c9672b4781f47dd715c982cbd55afb6985e06e2e0f59228db109a297c85cabc20 SHA512 64870edb9ea57299b84b3ac8b3bf78ea30bcf737bb4acbffe26deb33e99e98a95d26a328de09a4c118cb0f2ba714d84972e586462a45fed437582dafdef48ff4 diff --git a/app-emacs/cond-let/cond-let-0.1.1.ebuild b/app-emacs/cond-let/cond-let-0.1.1.ebuild new file mode 100644 index 000000000000..59639d32677a --- /dev/null +++ b/app-emacs/cond-let/cond-let-0.1.1.ebuild @@ -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 +} diff --git a/app-emacs/cond-let/metadata.xml b/app-emacs/cond-let/metadata.xml new file mode 100644 index 000000000000..f2969c96557f --- /dev/null +++ b/app-emacs/cond-let/metadata.xml @@ -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>[email protected]</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>
