blob: f2594705df4c9d87978fb8f15d51bea31dab9d89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
COMMIT=4b49c8d599d4cc0fbf994e9e54a9c78e5ab62a5f
NEED_EMACS=25.1
inherit elisp
DESCRIPTION="Benchmark Emacs Startup time without ever leaving it"
HOMEPAGE="https://github.com/jschaf/esup/"
SRC_URI="https://github.com/jschaf/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/${PN}-${COMMIT}
LICENSE="GPL-3+"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="app-emacs/s"
BDEPEND="
${RDEPEND}
test? (
app-emacs/buttercup
app-emacs/dash
app-emacs/noflet
app-emacs/undercover
)
"
DOCS=( README.md esup-screenshot.png )
SITEFILE="50${PN}-gentoo.el"
src_test() {
buttercup -L . -L test --traceback full test || die
}
|