You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
651 B
29 lines
651 B
2 years ago
|
# 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
|
||
|
}
|