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

EAPI=8

NEED_EMACS="25.1"

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
}