summaryrefslogtreecommitdiff
path: root/app-emacs/with-simulated-input
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /app-emacs/with-simulated-input
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'app-emacs/with-simulated-input')
-rw-r--r--app-emacs/with-simulated-input/Manifest1
-rw-r--r--app-emacs/with-simulated-input/metadata.xml21
-rw-r--r--app-emacs/with-simulated-input/with-simulated-input-3.0.ebuild27
3 files changed, 49 insertions, 0 deletions
diff --git a/app-emacs/with-simulated-input/Manifest b/app-emacs/with-simulated-input/Manifest
new file mode 100644
index 000000000000..7b7d7dde3c4f
--- /dev/null
+++ b/app-emacs/with-simulated-input/Manifest
@@ -0,0 +1 @@
+DIST with-simulated-input-3.0.tar.gz 26203 BLAKE2B 2629f28449a71828f67209b84123ee11b9eb838884560836129830f1c6e0dc12e95ba56e806de5eae8b29cbe1b3f199f9a9e292a2f048483b61a64aa138d2848 SHA512 ddb916e51e8f1da76a19a440f0a629ece6e27969be38b70d8b5156ab7c41084ef9a099970e2c74a680e0cdf75463698e60336fcd168f82d62acd1e0994d6897a
diff --git a/app-emacs/with-simulated-input/metadata.xml b/app-emacs/with-simulated-input/metadata.xml
new file mode 100644
index 000000000000..81e8e76653a0
--- /dev/null
+++ b/app-emacs/with-simulated-input/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/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/DarwinAwardWinner/with-simulated-input/issues/</bugs-to>
+ </upstream>
+ <longdescription>
+ This package provides an Emacs Lisp macro, with-simulated-input, which
+ evaluates one or more forms while simulating a sequence of input events for
+ those forms to read. The result is the same as if you had evaluated the
+ forms and then manually typed in the same input. This macro is useful for
+ non-interactive testing of normally interactive commands and functions,
+ such as completing-read.
+ </longdescription>
+ <stabilize-allarches />
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/app-emacs/with-simulated-input/with-simulated-input-3.0.ebuild b/app-emacs/with-simulated-input/with-simulated-input-3.0.ebuild
new file mode 100644
index 000000000000..325ce2045ec9
--- /dev/null
+++ b/app-emacs/with-simulated-input/with-simulated-input-3.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Emacs Lisp macro to simulate user input non-interactively"
+HOMEPAGE="https://github.com/DarwinAwardWinner/with-simulated-input/"
+SRC_URI="https://github.com/DarwinAwardWinner/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+KEYWORDS="amd64 ~x86"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? ( app-emacs/buttercup )"
+
+DOCS=( README.md )
+ELISP_REMOVE="tests/test-${PN}.el" # Remove failing tests; 11/49 specs
+SITEFILE="50${PN}-gentoo.el"
+
+src_test() {
+ buttercup -L . -L tests --traceback full tests || die
+}