diff options
author | Ulrich Müller <ulm@gentoo.org> | 2021-08-02 10:05:01 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2021-08-02 10:06:26 +0200 |
commit | 75af653f0b7692860439a9c9bbbebec43705480d (patch) | |
tree | c5037e8c61d738414558c0c5d1275751ee408d4f | |
parent | app-eselect/eselect-ctags: Version bump to 1.19 (diff) | |
download | gentoo-75af653f0b7692860439a9c9bbbebec43705480d.tar.gz gentoo-75af653f0b7692860439a9c9bbbebec43705480d.tar.bz2 gentoo-75af653f0b7692860439a9c9bbbebec43705480d.zip |
app-eselect/eselect-emacs: Version bump to 1.19
Bug: https://bugs.gentoo.org/805491
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r-- | app-eselect/eselect-emacs/Manifest | 1 | ||||
-rw-r--r-- | app-eselect/eselect-emacs/eselect-emacs-1.19.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/app-eselect/eselect-emacs/Manifest b/app-eselect/eselect-emacs/Manifest index 2118077c9be3..73d81b1bb740 100644 --- a/app-eselect/eselect-emacs/Manifest +++ b/app-eselect/eselect-emacs/Manifest @@ -1 +1,2 @@ DIST eselect-emacs-1.18.tar.xz 8964 BLAKE2B 218a9cb043bb00b853e3c51230632f9cdd28a0d2f0ca96bfb9f6840615059993edadd1ea3447d3c6b6411a6a4edda6c1ff34428659f3fa09ab306e53b5501885 SHA512 9e346dc2331e577716945360de199848606d6b67776c1e7875d1437ff7e03796ac64cd0a3656109be87c0578b45bee1175f0ba4af2be96d0e27442d51bf182aa +DIST eselect-emacs-1.19.tar.xz 9072 BLAKE2B 6921200085df464bac84510bea414a3c68ef978999d9f49cef9d059e0391d237506bdb35c3379a810307dbc188bba1062ff08c9136d2b331c4aa299cca91befd SHA512 269c7ab5402f2507255c36c62f036a9daddaaf9ee399e2566ecd819c8bec234177a274ebcf397414050f9adfd2c61fde64e22bab0f6dc7e03f7b8a54e38564b0 diff --git a/app-eselect/eselect-emacs/eselect-emacs-1.19.ebuild b/app-eselect/eselect-emacs/eselect-emacs-1.19.ebuild new file mode 100644 index 000000000000..4fa6b121b320 --- /dev/null +++ b/app-eselect/eselect-emacs/eselect-emacs-1.19.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Manage multiple Emacs versions on one system" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs" +SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" + +RDEPEND=">=app-admin/eselect-1.2.6 + ~app-eselect/eselect-ctags-${PV}" + +src_compile() { :; } + +src_install() { + insinto /usr/share/eselect/modules + doins {emacs,gnuclient}.eselect + doman {emacs,gnuclient}.eselect.5 + dodoc ChangeLog +} + +pkg_postinst() { + local v + for v in ${REPLACING_VERSIONS}; do + ver_test "${v}" -ge 1.19 && continue + # Refresh, 1.19 introduced a symlink in /usr/include + local target=$(eselect --brief emacs show) + [[ ${target// } == emacs* ]] && eselect emacs set "${target// }" + break + done +} |