summaryrefslogtreecommitdiff
blob: f1dc336ca4fec234c67f0300b7e5b28d1f73da72 (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
# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit elisp

DESCRIPTION="A project interaction library for Emacs"
HOMEPAGE="https://docs.projectile.mx"
SRC_URI="https://github.com/bbatsov/projectile/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"

BDEPEND="test? ( app-emacs/buttercup )"

SITEFILE="50projectile-gentoo.el"
DOCS=( README.md )

src_test() {
	mkdir -p "${HOME}"/.emacs.d || die  # For "projectile--directory-p" test
	buttercup -L . -L test --traceback full || die
}