diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-10-06 20:46:02 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-10-06 21:51:33 +0200 |
commit | 3d607179d8b6048096ee97512c355b954c92846a (patch) | |
tree | 4a60362ec777498efcdf6e7b8abb4cd9473f6944 /app-emacs/raku-mode | |
parent | app-emacs/parseclj: minor tweaks (diff) | |
download | gentoo-3d607179d8b6048096ee97512c355b954c92846a.tar.gz gentoo-3d607179d8b6048096ee97512c355b954c92846a.tar.bz2 gentoo-3d607179d8b6048096ee97512c355b954c92846a.zip |
app-emacs/raku-mode: minor tweaks
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/raku-mode')
-rw-r--r-- | app-emacs/raku-mode/raku-mode-0.2.1_p20211121.ebuild | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/app-emacs/raku-mode/raku-mode-0.2.1_p20211121.ebuild b/app-emacs/raku-mode/raku-mode-0.2.1_p20211121.ebuild index b551d291f2d8..015b978de23b 100644 --- a/app-emacs/raku-mode/raku-mode-0.2.1_p20211121.ebuild +++ b/app-emacs/raku-mode/raku-mode-0.2.1_p20211121.ebuild @@ -1,28 +1,31 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -COMMIT=977b14a7c1295ebf2aad2f807d3f8e7c27aeb47f +COMMIT="977b14a7c1295ebf2aad2f807d3f8e7c27aeb47f" inherit elisp DESCRIPTION="Major mode for editing Raku code" HOMEPAGE="https://github.com/Raku/raku-mode/" -SRC_URI="https://github.com/Raku/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}"/${PN}-${COMMIT} + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/Raku/${PN}.git" +else + SRC_URI="https://github.com/Raku/${PN}/archive/${COMMIT}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}" + + 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 README.md README.tmp-imenu-notes ) SITEFILE="50${PN}-gentoo.el" -src_test() { - ert-runner -L . -L test --reporter ert+duration --script test || die -} +elisp-enable-tests ert-runner test |