diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-10-06 20:10:40 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-10-06 21:51:28 +0200 |
commit | 5aed4d6fdcb4697603af448c8abae2a21fc37773 (patch) | |
tree | 90f907d1be60132240ca4a249b49346b53555f15 /app-emacs | |
parent | app-editors/vscode: add 1.94.0 (diff) | |
download | gentoo-5aed4d6fdcb4697603af448c8abae2a21fc37773.tar.gz gentoo-5aed4d6fdcb4697603af448c8abae2a21fc37773.tar.bz2 gentoo-5aed4d6fdcb4697603af448c8abae2a21fc37773.zip |
app-emacs/commander: minor tweaks
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/commander/commander-0.7.0-r1.ebuild | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/app-emacs/commander/commander-0.7.0-r1.ebuild b/app-emacs/commander/commander-0.7.0-r1.ebuild index 17ed3a1c20f3..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 ~arm ~arm64 ~ppc64 ~riscv ~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 } |