summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-04-19 03:13:58 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-04-19 05:00:53 +0200
commit2a7c733537be79a0b295a94ade99e762a5bb7e02 (patch)
tree1dc178e971b6881b7531ae91db0aed5d90ebf05f /app-emacs/shut-up/shut-up-0.3.3.ebuild
parentapp-text/enchant: Version bump to 2.3.3 (diff)
downloadgentoo-2a7c733537be79a0b295a94ade99e762a5bb7e02.tar.gz
gentoo-2a7c733537be79a0b295a94ade99e762a5bb7e02.tar.bz2
gentoo-2a7c733537be79a0b295a94ade99e762a5bb7e02.zip
app-emacs/shut-up: new package; add version 0.3.3
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/shut-up/shut-up-0.3.3.ebuild')
-rw-r--r--app-emacs/shut-up/shut-up-0.3.3.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/app-emacs/shut-up/shut-up-0.3.3.ebuild b/app-emacs/shut-up/shut-up-0.3.3.ebuild
new file mode 100644
index 000000000000..f5a6d10ba523
--- /dev/null
+++ b/app-emacs/shut-up/shut-up-0.3.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS=24
+
+inherit elisp
+
+DESCRIPTION="Reduce Emacs output of messages"
+HOMEPAGE="https://github.com/cask/shut-up/"
+SRC_URI="https://github.com/cask/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ test? (
+ app-emacs/f
+ app-emacs/s
+ )
+"
+
+DOCS=( README.md )
+SITEFILE="50${PN}-gentoo.el"
+
+src_test() {
+ ${EMACS} ${EMACSFLAGS} -L . -L test -l test/${PN}-test.el \
+ -f ert-run-tests-batch-and-exit || die "tests failed"
+}