From 4c034f91caed438b361c0db217f99e3c00e4c735 Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Mon, 1 Aug 2022 22:27:08 +0200 Subject: app-emacs/epl: remove ert-runner dependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit to make our lives easier ;^) Bug: https://bugs.gentoo.org/862858 Signed-off-by: Maciej Barć --- app-emacs/epl/epl-0.9-r1.ebuild | 27 --------------------------- app-emacs/epl/epl-0.9-r2.ebuild | 28 ++++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 27 deletions(-) delete mode 100644 app-emacs/epl/epl-0.9-r1.ebuild create mode 100644 app-emacs/epl/epl-0.9-r2.ebuild (limited to 'app-emacs') diff --git a/app-emacs/epl/epl-0.9-r1.ebuild b/app-emacs/epl/epl-0.9-r1.ebuild deleted file mode 100644 index c81cc69e6cb7..000000000000 --- a/app-emacs/epl/epl-0.9-r1.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -NEED_EMACS=24 - -inherit elisp - -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+" -SLOT="0" -KEYWORDS="~amd64 ~x64-macos" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND="test? ( app-emacs/ert-runner )" - -DOCS=( README.md ) -SITEFILE="50epl-gentoo.el" - -src_test() { - ert-runner --reporter ert+duration --script || die -} diff --git a/app-emacs/epl/epl-0.9-r2.ebuild b/app-emacs/epl/epl-0.9-r2.ebuild new file mode 100644 index 000000000000..377b6330fda9 --- /dev/null +++ b/app-emacs/epl/epl-0.9-r2.ebuild @@ -0,0 +1,28 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS=24 + +inherit elisp + +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+" +SLOT="0" +KEYWORDS="~amd64 ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( app-emacs/f )" + +DOCS=( README.md ) +SITEFILE="50epl-gentoo.el" + +src_test() { + ${EMACS} ${EMACSFLAGS} -L . -L test -l epl.el -l test/epl-test.el \ + -f ert-run-tests-batch-and-exit || die +} -- cgit v1.2.3-65-gdbad