Diff m-buffer-0.15 with a m-buffer-0.16.1
| /usr/portage/app-emacs/m-buffer/m-buffer-0.16.1.ebuild 2025-07-29 16:22:12.552447973 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2024 Gentoo Authors |
|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 | 5 | |
| 6 |
inherit elisp |
|
| 6 |
[[ "${PV}" == 0.16.1 ]] && COMMIT="5e7714835b2289f61dad24c0b5cf98d28fc313b0"
|
|
| 7 | ||
| 8 |
inherit elisp edo |
|
| 7 | 9 | |
| 8 | 10 |
DESCRIPTION="List Oriented Buffer Operations for Emacs" |
| 9 | 11 |
HOMEPAGE="https://github.com/phillord/m-buffer-el/" |
| 10 |
SRC_URI="https://github.com/phillord/${PN}-el/archive/v${PV}.tar.gz
|
|
| 11 |
-> ${P}.tar.gz"
|
|
| 12 |
S="${WORKDIR}"/${PN}-el-${PV}
|
|
| 12 | ||
| 13 |
if [[ "${PV}" == *9999* ]] ; then
|
|
| 14 |
inherit git-r3 |
|
| 15 | ||
| 16 |
EGIT_REPO_URI="https://github.com/phillord/${PN}-el"
|
|
| 17 |
else |
|
| 18 |
SRC_URI="https://github.com/phillord/${PN}-el/archive/${COMMIT}.tar.gz
|
|
| 19 |
-> ${P}.gh.tar.gz"
|
|
| 20 |
S="${WORKDIR}/${PN}-el-${COMMIT}"
|
|
| 21 | ||
| 22 |
KEYWORDS="amd64 ~x86" |
|
| 23 |
fi |
|
| 13 | 24 | |
| 14 | 25 |
LICENSE="GPL-3+" |
| 15 |
KEYWORDS="amd64 ~x86" |
|
| 16 | 26 |
SLOT="0" |
| 17 | 27 |
IUSE="test" |
| 18 | 28 |
RESTRICT="!test? ( test )" |
| 19 | 29 | |
| 20 |
BDEPEND="test? ( app-emacs/load-relative )" |
|
| 30 |
BDEPEND=" |
|
| 31 |
test? ( |
|
| 32 |
app-emacs/load-relative |
|
| 33 |
) |
|
| 34 |
" |
|
| 21 | 35 | |
| 22 | 36 |
DOCS=( README.md ) |
| 23 | 37 |
SITEFILE="50${PN}-gentoo.el"
|
| 24 | 38 | |
| 25 | 39 |
src_test() {
|
| 26 |
${EMACS} ${EMACSFLAGS} -L . -L test \
|
|
| 27 |
-l dev/assess-discover -f assess-discover-run-and-exit-batch || die |
|
| 40 |
edo ${EMACS} ${EMACSFLAGS} -L . -L test \
|
|
| 41 |
--load dev/fudge-discover --funcall fudge-discover-run-and-exit-batch |
|
| 28 | 42 |
} |