mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-emacs/ht: minor tweaks
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user