summaryrefslogtreecommitdiff
path: root/app-emacs/commander
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/commander')
-rw-r--r--app-emacs/commander/Manifest2
-rw-r--r--app-emacs/commander/commander-0.7.0-r1.ebuild26
2 files changed, 20 insertions, 8 deletions
diff --git a/app-emacs/commander/Manifest b/app-emacs/commander/Manifest
index b240e85cfa94..5b0941d824cf 100644
--- a/app-emacs/commander/Manifest
+++ b/app-emacs/commander/Manifest
@@ -1,3 +1,3 @@
DIST commander-0.7.0.tar.gz 37120 BLAKE2B 61e7262f7909d866f3890854cc695d1d8769ea54fa2a983d72a3e5b61217f1e898036026f71d8ae0d46e8d45af0b9e0e52c2f88d4f647dd50454877b9abd2946 SHA512 10d25d931f1faf88747c397594becc3832dfb56de7440ada2cd40e0329b0ca984eda77c62290329510ab87b53ac273e5d36e7acd628ff68ee0e981ccd9497d10
-EBUILD commander-0.7.0-r1.ebuild 749 BLAKE2B 8cc53af053adffbc323ac43ea00502f15c4bede532e8efd763e5aadb5540aa6d1cd3f14724dbe9d4ca6c741a89cf32cfc3c87c947b6fe7bfa37de0ec1cf22bcd SHA512 f3f8d780c3d51dc608cdb9ad74d261fcea9b91acb49575ab79efdffe3a43532950a3a2171318c94f4c7158b8fc636701fa362a4eefb76e7fa5d6748c6fc489d0
+EBUILD commander-0.7.0-r1.ebuild 937 BLAKE2B 78207b0637208d9f4eac774eea661983bec942d7a55d72cd8e98ff3e77cb741926818ba16e5c56eaee6db519c582d3c29f6386b24ae569c2e7093b8a4cab4d46 SHA512 6f2885186d5db1efe898448f3538fdcf9dc49020bb9d99acf3ef89eb2c2049d3eef71c02b05a0896dedc3c4799633f93dad59e3558ddb6a80898cb730d82c544
MISC metadata.xml 453 BLAKE2B e6c89a0c177d45a51005024560a54b25202a9e603298e2f65935d09a55b8170949df1ff45e541c37d461865dcb0b48d9282f967195e3b6fd596965213006faf0 SHA512 30c2a1be96e04192caa48c863f1dab32013e1054c65c37b72e89224e375bbad51974939696b265d2efb1643d8b9ff3d2252a972f66515ff05674520fd11d4d2e
diff --git a/app-emacs/commander/commander-0.7.0-r1.ebuild b/app-emacs/commander/commander-0.7.0-r1.ebuild
index c61c6bff1a9a..24ef9870b876 100644
--- a/app-emacs/commander/commander-0.7.0-r1.ebuild
+++ b/app-emacs/commander/commander-0.7.0-r1.ebuild
@@ -3,17 +3,25 @@
EAPI=8
-inherit elisp
+inherit elisp edo
DESCRIPTION="Emacs command line parser"
HOMEPAGE="https://github.com/rejeep/commander.el/"
-SRC_URI="https://github.com/rejeep/${PN}.el/archive/v${PV}.tar.gz
- -> ${P}.tar.gz"
-S="${WORKDIR}"/${PN}.el-${PV}
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/rejeep/${PN}.el.git"
+else
+ SRC_URI="https://github.com/rejeep/${PN}.el/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}.el-${PV}"
+
+ KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc ~x86"
+fi
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="amd64 ~arm64 ~sparc ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
@@ -32,10 +40,14 @@ BDEPEND="
)
"
+ELISP_REMOVE="
+ features/usage.feature
+"
+
DOCS=( README.md )
SITEFILE="50${PN}-gentoo.el"
src_test() {
- ert-runner || die
- ecukes --debug --reporter spec --script features || die
+ edo ert-runner
+ edo ecukes --debug --reporter spec --script --verbose features
}