summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/shrink-path')
-rw-r--r--app-emacs/shrink-path/shrink-path-0.3.1.ebuild13
1 files changed, 3 insertions, 10 deletions
diff --git a/app-emacs/shrink-path/shrink-path-0.3.1.ebuild b/app-emacs/shrink-path/shrink-path-0.3.1.ebuild
index c855273dc798..519ca144af61 100644
--- a/app-emacs/shrink-path/shrink-path-0.3.1.ebuild
+++ b/app-emacs/shrink-path/shrink-path-0.3.1.ebuild
@@ -13,29 +13,22 @@ S="${WORKDIR}"/${PN}.el-v${PV}
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
RDEPEND="
app-emacs/s
app-emacs/dash
app-emacs/f
"
-BDEPEND="
- ${RDEPEND}
- test? ( app-emacs/buttercup )
-"
+BDEPEND="${RDEPEND}"
DOCS=( README.org )
SITEFILE="50${PN}-gentoo.el"
+elisp-enable-tests buttercup test
+
src_prepare() {
sed -i 's|it "same as shrink-path"|xit "same as shrink-path"|' \
"${S}"/test/shrink-path-test.el || die
default
}
-
-src_test() {
- buttercup -L . -L test --traceback full test || die
-}