app-emacs/esup: new package; add version 0.7.1_p20220203
2022.02.03 snapshot Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
parent
feed2edc9f
commit
53facdb0dd
|
@ -0,0 +1 @@
|
|||
DIST esup-0.7.1_p20220203.tar.gz 54747 BLAKE2B 09d07300796b0874bbfe4c91f91ba9d56000e097c3ead2759d284f113ee3a34701952662f5e37a32cac889e9811b0ec53dbf93c7104d8530434c5fbb6fffb7da SHA512 4b361121273c8791f107e9b883bd6983d6be23f1abd9187347c510a4c11d8e8edf3b533aa7af561f869f9ebc8b1a6f12e5351127d30e8fd4127eface290cf8c7
|
|
@ -0,0 +1,38 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
H=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/${H}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/${PN}-${H}
|
||||
|
||||
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
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
(add-to-list 'load-path "@SITELISP@")
|
||||
(autoload 'esup "esup"
|
||||
"Profile the startup time of Emacs in the background." t)
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnu-emacs@gentoo.org</email>
|
||||
<name>Gentoo GNU Emacs project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/jschaf/esup/issues/</bugs-to>
|
||||
<remote-id type="github">jschaf/esup</remote-id>
|
||||
</upstream>
|
||||
<longdescription>
|
||||
Esup profiles your Emacs startup time by examining all top-level
|
||||
S-expressions (sexps). Esup starts a new Emacs process from Emacs to
|
||||
profile each SEXP. After the profiled Emacs is complete, it will exit and
|
||||
your Emacs will display the results.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue