summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-04-20 01:50:24 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-04-20 02:02:59 +0200
commit7d78c94d5c6b55abf4ea3ab852ef1556c456b644 (patch)
treeb3d331307c6ebc37ca6dd1e1411b585571d24c9d /app-emacs
parentapp-emacs/doom-modeline: bump to 3.4.0 (diff)
downloadgentoo-7d78c94d5c6b55abf4ea3ab852ef1556c456b644.tar.gz
gentoo-7d78c94d5c6b55abf4ea3ab852ef1556c456b644.tar.bz2
gentoo-7d78c94d5c6b55abf4ea3ab852ef1556c456b644.zip
app-emacs/projectile: use elisp-enable-tests
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/projectile/projectile-2.5.0-r1.ebuild15
-rw-r--r--app-emacs/projectile/projectile-2.6.0.ebuild15
-rw-r--r--app-emacs/projectile/projectile-2.7.0.ebuild15
3 files changed, 24 insertions, 21 deletions
diff --git a/app-emacs/projectile/projectile-2.5.0-r1.ebuild b/app-emacs/projectile/projectile-2.5.0-r1.ebuild
index f1dc336ca4fe..4e3c229ebadd 100644
--- a/app-emacs/projectile/projectile-2.5.0-r1.ebuild
+++ b/app-emacs/projectile/projectile-2.5.0-r1.ebuild
@@ -6,21 +6,22 @@ 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"
+HOMEPAGE="https://docs.projectile.mx
+ https://github.com/bbatsov/projectile/"
+SRC_URI="https://github.com/bbatsov/projectile/archive/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 )
+elisp-enable-tests buttercup test
+
src_test() {
mkdir -p "${HOME}"/.emacs.d || die # For "projectile--directory-p" test
- buttercup -L . -L test --traceback full || die
+
+ elisp-test
}
diff --git a/app-emacs/projectile/projectile-2.6.0.ebuild b/app-emacs/projectile/projectile-2.6.0.ebuild
index f1dc336ca4fe..4e3c229ebadd 100644
--- a/app-emacs/projectile/projectile-2.6.0.ebuild
+++ b/app-emacs/projectile/projectile-2.6.0.ebuild
@@ -6,21 +6,22 @@ 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"
+HOMEPAGE="https://docs.projectile.mx
+ https://github.com/bbatsov/projectile/"
+SRC_URI="https://github.com/bbatsov/projectile/archive/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 )
+elisp-enable-tests buttercup test
+
src_test() {
mkdir -p "${HOME}"/.emacs.d || die # For "projectile--directory-p" test
- buttercup -L . -L test --traceback full || die
+
+ elisp-test
}
diff --git a/app-emacs/projectile/projectile-2.7.0.ebuild b/app-emacs/projectile/projectile-2.7.0.ebuild
index f1dc336ca4fe..4e3c229ebadd 100644
--- a/app-emacs/projectile/projectile-2.7.0.ebuild
+++ b/app-emacs/projectile/projectile-2.7.0.ebuild
@@ -6,21 +6,22 @@ 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"
+HOMEPAGE="https://docs.projectile.mx
+ https://github.com/bbatsov/projectile/"
+SRC_URI="https://github.com/bbatsov/projectile/archive/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 )
+elisp-enable-tests buttercup test
+
src_test() {
mkdir -p "${HOME}"/.emacs.d || die # For "projectile--directory-p" test
- buttercup -L . -L test --traceback full || die
+
+ elisp-test
}