summaryrefslogtreecommitdiff
path: root/app-emacs/parseclj
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/parseclj')
-rw-r--r--app-emacs/parseclj/Manifest2
-rw-r--r--app-emacs/parseclj/parseclj-1.1.1.ebuild22
2 files changed, 13 insertions, 11 deletions
diff --git a/app-emacs/parseclj/Manifest b/app-emacs/parseclj/Manifest
index 57b63501a764..8192aa56701f 100644
--- a/app-emacs/parseclj/Manifest
+++ b/app-emacs/parseclj/Manifest
@@ -1,3 +1,3 @@
DIST parseclj-1.1.1.tar.gz 39388 BLAKE2B cd0303a9bbec275123389308332bb2f5edaae359d67f50c87a90b20ffe544a32e43b6b3160f16535aff820c6029554ab94029047bc4fd21e1dccf20830b09621 SHA512 b28c91a1d9d649cda041a89d1d6ccddc7aa0d6018e7ed45928a7ecebd59a3c1de8559347e695a64d2385477991280db9451a915868d54e272125ecaab951d6d4
-EBUILD parseclj-1.1.1.ebuild 601 BLAKE2B 2effc59202655dafe5eb4f5536b48c7ca739ed86824f4f6a30209e1f13c020c65a91920e6f47041d43749f379f6d89d017d58ebd50658bf6ed5650dbfd0779a3 SHA512 75596d148d036de994a07c4c483d8fac3e6856352d7f6bea8d8138596751eec3db6857bdf04da9c9ac010e50f16b90f0c1bfd0e3c0c7ea62bc79ff12fc43408d
+EBUILD parseclj-1.1.1.ebuild 594 BLAKE2B 1b19ba2e28c72aa3f41f99c949e5b41320c68d3612da05ebe43867abf786695b9f75eb7ae7890aeb5f3346e347a1c10ba47dd3356a86f012e6dbdd3a37e1b2a2 SHA512 3d857e8a4a93a666cd34b0cc902902041740456e51413293561ddea2658b867b15183d841a204df01ed11c434584ad6bf3b2eb74d3707bbf75711e661b40e496
MISC metadata.xml 659 BLAKE2B 0228d25161ab040e3d14af307f53239c39da58b5980d1a5bbe4628df1d9559e027a91ed345c696dbc910f75249dabe57a1f518ed74c06d48058a670b0249a35c SHA512 fde89c6cf6f7b41304a1824ec54cfd3293bc197cb7321b89ad9f8009b26f2376f6f62d920fc43d9e0b81851387c38d58e0cef86f3c39984572f642607f5f876e
diff --git a/app-emacs/parseclj/parseclj-1.1.1.ebuild b/app-emacs/parseclj/parseclj-1.1.1.ebuild
index 093bb113f3b6..e17fcc8ef904 100644
--- a/app-emacs/parseclj/parseclj-1.1.1.ebuild
+++ b/app-emacs/parseclj/parseclj-1.1.1.ebuild
@@ -7,20 +7,22 @@ inherit elisp
DESCRIPTION="Clojure Parser for Emacs Lisp"
HOMEPAGE="https://github.com/clojure-emacs/parseclj/"
-SRC_URI="https://github.com/clojure-emacs/${PN}/archive/v${PV}.tar.gz
- -> ${P}.tar.gz"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/clojure-emacs/${PN}.git"
+else
+ SRC_URI="https://github.com/clojure-emacs/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+ KEYWORDS="amd64 ~x86"
+fi
LICENSE="GPL-3+"
-KEYWORDS="amd64 ~x86"
SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="test? ( app-emacs/ert-runner )"
DOCS=( CHANGELOG.md DESIGN.md README.md )
SITEFILE="50${PN}-gentoo.el"
-src_test() {
- ert-runner -L . -L test --reporter ert+duration --script test || die
-}
+elisp-enable-tests ert-runner test