Diff autothemer-0.2.18 with a autothemer-9999
| /usr/portage/app-emacs/autothemer/autothemer-9999.ebuild 2026-10-13 20:03:06.448590879 +0300 | ||
|---|---|---|
| 1 | 1 |
# Copyright 2023-2026 Gentoo Authors |
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 |
EAPI=8 |
|
| 4 |
EAPI=9 |
|
| 5 | ||
| 6 |
NEED_EMACS="26.1" |
|
| 5 | 7 | |
| 6 |
NEED_EMACS=26.1 |
|
| 7 | 8 |
inherit elisp |
| 8 | 9 | |
| 9 | 10 |
DESCRIPTION="Conveniently define themes for GNU Emacs" |
| 10 |
HOMEPAGE="https://github.com/jasonm23/autothemer" |
|
| 11 |
HOMEPAGE="https://github.com/jasonm23/autothemer/" |
|
| 11 | 12 | |
| 12 |
if [[ ${PV} == *9999* ]] ; then
|
|
| 13 |
if [[ "${PV}" == *9999* ]] ; then
|
|
| 13 | 14 |
inherit git-r3 |
| 14 |
EGIT_REPO_URI="https://github.com/jasonm23/autothemer.git" |
|
| 15 |
EGIT_REPO_URI="https://github.com/jasonm23/${PN}.git"
|
|
| 15 | 16 |
else |
| 16 |
# Recompressed from NonGNU ELPA. |
|
| 17 |
SRC_URI="https://dev.gentoo.org/~arsen/${P}.tar.xz"
|
|
| 18 |
KEYWORDS="amd64 ~arm64 ~x86" |
|
| 19 | ||
| 20 |
ELISP_REMOVE="${PN}-pkg.el"
|
|
| 17 |
SRC_URI="https://github.com/ocodo/${PN}/archive/refs/tags/${PV}.tar.gz
|
|
| 18 |
-> ${P}.gh.tar.gz"
|
|
| 19 |
KEYWORDS="~amd64 ~arm64 ~x86" |
|
| 21 | 20 |
fi |
| 22 | 21 | |
| 23 | 22 |
LICENSE="GPL-3+" |
| ... | ... | |
| 26 | 25 |
RDEPEND=" |
| 27 | 26 |
>=app-emacs/dash-2.10.0 |
| 28 | 27 |
" |
| 29 |
DEPEND="${RDEPEND}"
|
|
| 28 |
BDEPEND=" |
|
| 29 |
${RDEPEND}
|
|
| 30 |
" |
|
| 30 | 31 | |
| 31 |
ELISP_REMOVE="${PN}-pkg.el"
|
|
| 32 | 32 |
SITEFILE="50${PN}-gentoo.el"
|
| 33 |
DOCS=( {CONTRIBUTING,README,function-reference}.md )
|
|
| 33 | 34 | |
| 34 |
DOCS=( |
|
| 35 |
README.md |
|
| 36 |
CONTRIBUTING.md |
|
| 37 |
function-reference.md |
|
| 38 |
) |
|
| 39 | ||
| 40 |
elisp-enable-tests ert "${S}"/tests -l tests/"${PN}"-tests.el
|
|
| 35 |
elisp-enable-tests ert tests -l tests/${PN}-tests.el
|
|