From afa092ba14a1c95f7daf9199fd65216c7e271a50 Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Sun, 6 Oct 2024 20:20:42 +0200 Subject: app-emacs/ht: minor tweaks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- app-emacs/ht/ht-2.3.ebuild | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'app-emacs/ht') diff --git a/app-emacs/ht/ht-2.3.ebuild b/app-emacs/ht/ht-2.3.ebuild index 57af14755328..c5b952f5298a 100644 --- a/app-emacs/ht/ht-2.3.ebuild +++ b/app-emacs/ht/ht-2.3.ebuild @@ -7,14 +7,21 @@ inherit elisp 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}" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/Wilfred/ht.el.git" +else + SRC_URI="https://github.com/Wilfred/ht.el/archive/${PV}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/ht.el-${PV}" + + KEYWORDS="amd64 ~arm64" +fi LICENSE="GPL-3+" SLOT="0" -KEYWORDS="amd64 ~arm64" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND=" >=app-emacs/dash-2.12.0 @@ -23,13 +30,10 @@ BDEPEND=" ${RDEPEND} test? ( app-emacs/f - app-emacs/ert-runner ) " -DOCS="CHANGELOG.md README.md" +DOCS=( CHANGELOG.md README.md ) SITEFILE="50${PN}-gentoo.el" -src_test() { - ert-runner --reporter ert+duration --script || die -} +elisp-enable-tests ert-runner . -- cgit v1.2.3-65-gdbad