mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
app-emacs/cask: bump to 0.9.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST cask-0.9.0.gh.tar.gz 280606 BLAKE2B 17d216ac354c4b34d1663a23a0f7961c68acf544d64e911e54fac29a454a1b4737718903db637097c17dd28d083f91519ea7543a8ee57f2188d20d67cd604e3c SHA512 9e1e9eb0146504fc3ff2dc5358edc59b8157948df4698c7fbec14c28720458cd28b0b9ef9dc34b23a615e5b0a8ef843f9a9bdd9f7030aef797fa3df7864ae46a
|
||||
DIST cask-0.9.1.gh.tar.gz 280631 BLAKE2B 834a7949d164bc9140841f9771162ea192b834f9444c72a10e0895957894a68b5b1df4f5b454c8d55ed038b2e464cf99beb85f30666b3950aef86a5ecba5c8e8 SHA512 19e18ee41ceb89c190078d9496494f9039a84f9dc07e22e51d611c7266f53f1ea28c98ecbcfdf6d6e53f952149ec8dd58bb0db44072ecda00ad3e491a3cacfc4
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp optfeature
|
||||
|
||||
DESCRIPTION="Project management for Emacs package development"
|
||||
HOMEPAGE="https://github.com/cask/cask/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/cask/${PN}"
|
||||
else
|
||||
SRC_URI="https://github.com/cask/${PN}/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
RESTRICT="test" # Most tests fail.
|
||||
|
||||
RDEPEND="
|
||||
app-emacs/ansi
|
||||
app-emacs/commander
|
||||
app-emacs/epl
|
||||
app-emacs/f
|
||||
app-emacs/package-build
|
||||
app-emacs/s
|
||||
app-emacs/shut-up
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
ELISP_REMOVE="
|
||||
${PN}-bootstrap.el
|
||||
"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/cask-0.9.0-bin-launcher-fix.patch"
|
||||
"${FILESDIR}/cask-0.9.0-home-dir.patch"
|
||||
"${FILESDIR}/cask-no-bootstrap.patch"
|
||||
)
|
||||
|
||||
DOCS=( README.org cask_small.png )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
elisp_src_prepare
|
||||
sed -i "./bin/${PN}" -e "s|@SITELISP@|${EPREFIX}${SITELISP}/${PN}|" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp_src_install
|
||||
dobin "./bin/${PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp_pkg_postinst
|
||||
optfeature "using ELPA archives via SSL" \
|
||||
"net-libs/gnutls[tools] app-editors/emacs[ssl]"
|
||||
}
|
||||
Reference in New Issue
Block a user