public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/ht/
Date: Wed, 20 Apr 2022 14:24:05 +0000 (UTC)	[thread overview]
Message-ID: <1650464594.8ea06ecc4cdffc801330ae7c1eeb38b821b44ffa.xgqt@gentoo> (raw)

commit:     8ea06ecc4cdffc801330ae7c1eeb38b821b44ffa
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 20 14:23:14 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Apr 20 14:23:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ea06ecc

app-emacs/ht: enable tests

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/ht/ht-2.3.ebuild | 27 +++++++++++++++++----------
 1 file changed, 17 insertions(+), 10 deletions(-)

diff --git a/app-emacs/ht/ht-2.3.ebuild b/app-emacs/ht/ht-2.3.ebuild
index 2b56bec9cad3..aac3d564cceb 100644
--- a/app-emacs/ht/ht-2.3.ebuild
+++ b/app-emacs/ht/ht-2.3.ebuild
@@ -1,28 +1,35 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 inherit elisp
 
-IUSE=""
-
 DESCRIPTION="The missing hash table library for Emacs"
 HOMEPAGE="https://github.com/Wilfred/ht.el"
 SRC_URI="https://github.com/Wilfred/ht.el/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/ht.el-${PV}"
+
 LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64"
-DOCS="CHANGELOG.md README.md"
-
-SITEFILE="50${PN}-gentoo.el"
+IUSE="test"
+RESTRICT="!test? ( test )"
 
 RDEPEND="
 	>=app-emacs/dash-2.12.0
 "
-DEPEND=${RDEPEND}
+BDEPEND="
+	${RDEPEND}
+	test? (
+		app-emacs/f
+		app-emacs/ert-runner
+	)
+"
 
-S="${WORKDIR}/ht.el-${PV}"
+DOCS="CHANGELOG.md README.md"
+SITEFILE="50${PN}-gentoo.el"
 
-# Requires unpackaged dependencies, e.g. Cask
-RESTRICT="test"
+src_test() {
+	ert-runner --reporter ert+duration --script || die
+}


             reply	other threads:[~2022-04-20 14:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-20 14:24 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-01-27 17:13 [gentoo-commits] repo/gentoo:master commit in: app-emacs/ht/ Arthur Zamarin
2024-01-14 17:54 Arthur Zamarin
2024-10-06 19:53 Maciej Barć

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1650464594.8ea06ecc4cdffc801330ae7c1eeb38b821b44ffa.xgqt@gentoo \
    --to=xgqt@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox