diff options
-rw-r--r-- | app-emacs/epl/epl-0.9-r1.ebuild (renamed from app-emacs/epl/epl-0.9.ebuild) | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/app-emacs/epl/epl-0.9.ebuild b/app-emacs/epl/epl-0.9-r1.ebuild index 8a13d13e32de..0b280f43e459 100644 --- a/app-emacs/epl/epl-0.9.ebuild +++ b/app-emacs/epl/epl-0.9-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -NEED_EMACS="24" +NEED_EMACS=24 inherit elisp @@ -11,10 +11,17 @@ DESCRIPTION="A convenient high-level API for package.el" HOMEPAGE="https://github.com/cask/epl" SRC_URI="https://github.com/cask/epl/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="GPL-3" +LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64" -RESTRICT="test" # test requires cask and ert-runner which are not packaged +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( app-emacs/ert-runner )" -SITEFILE="50epl-gentoo.el" DOCS=( README.md ) +SITEFILE="50epl-gentoo.el" + +src_test() { + ert-runner || die +} |