diff options
Diffstat (limited to 'app-emacs/raku-mode')
-rw-r--r-- | app-emacs/raku-mode/Manifest | 2 | ||||
-rw-r--r-- | app-emacs/raku-mode/raku-mode-0.2.1_p20211121.ebuild | 27 |
2 files changed, 16 insertions, 13 deletions
diff --git a/app-emacs/raku-mode/Manifest b/app-emacs/raku-mode/Manifest index 4a41cffd87f2..6e151025acd1 100644 --- a/app-emacs/raku-mode/Manifest +++ b/app-emacs/raku-mode/Manifest @@ -1,4 +1,4 @@ AUX 50raku-mode-gentoo.el 378 BLAKE2B 2fad21cf6b472bb3dcf41e1441e8ebc60aa846a43969431900077d146eeb82a713b1f3417febaa65093a65519dec9ff97f5584414e553524b86f55c0e90cd61c SHA512 776eec7d6e6994a485b0a696a649fa3c1afa6934f20f5e8b378124d18b9a1f0c64658c45a305cf2094d25edfef96e72b923823ffa4e67534580b07ba0d5314ab DIST raku-mode-0.2.1_p20211121.tar.gz 31506 BLAKE2B 7faa69740ea882482bf8462b4fa1da497bcce1ab46f19b7c54520d53c5e7e8f29f55204fc6f41b6ba4059503efe3057b3b901ec41d4d635975f81e6d90e2ba9a SHA512 ee2bce5ce585d2cdb7c3ca8f387dfa5acc774a5923d53567d655f9a15cefe322f486ba32e9ae4ff9105116a15cc948bc0eb9e7a30fd1b2e57ab90cd741386526 -EBUILD raku-mode-0.2.1_p20211121.ebuild 683 BLAKE2B 2f0f9a579b77b12baf9622531c255fdfd9b0cdb7180774b2ae2f68cc5c16e1a886afcbff49f01fd15b3abbd6f6de9b34ab1bc78687094ac13d672443d0d0f5da SHA512 135816942f55371cc0f520be61d9636239ddd01871f6bd8cfdb462a42357e24ae65fae75e7de7d4a8c3509fc9b37abe1a1a385144af10fbcde780228e2a538e7 +EBUILD raku-mode-0.2.1_p20211121.ebuild 671 BLAKE2B 157aec4adca5a15612ae3d17218e90d0317bec72ba1737301834ff9a531960bd7a2e96aff050acd216854f6aad4b577d18348a53bd26615260fb8654832133fb SHA512 4e022bfddeb70ea650472161d74eb6b2bc8e0fe39c38f8f70cce3b2c954a1b2a203fc6117bdf89018465c2a69c2326071cfc1b29e2be9ae42bd23838b80845e6 MISC metadata.xml 417 BLAKE2B d1a7d48fed4e51b12f25074826e192319b399ff5c8341fa202d3948d4260857fbff13d1eb6056a22bf8b8ec840573c8a753c9b10194ef588b804d5febcaeead7 SHA512 8096fecd39a7dfba608c0fe59cfe8b2d431db2c4f212c20691e69aa44acb9b67f8c08bf5ffe236a9392d92cb61cc529766824dcabf6faa238219efd978564f86 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 |