diff options
author | Maciej Barć <xgqt@gentoo.org> | 2022-11-26 13:45:21 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2022-11-26 13:47:42 +0100 |
commit | 56fc578ecfe0a39ca7324aede85c074705e8e688 (patch) | |
tree | bbba66e44b23274a9b4fc4a2865063f1353aa299 /app-emacs/eldev | |
parent | app-emacs/eldev: drop old 1.1.3 (diff) | |
download | gentoo-56fc578ecfe0a39ca7324aede85c074705e8e688.tar.gz gentoo-56fc578ecfe0a39ca7324aede85c074705e8e688.tar.bz2 gentoo-56fc578ecfe0a39ca7324aede85c074705e8e688.zip |
app-emacs/eldev: bump to 1.3
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/eldev')
-rw-r--r-- | app-emacs/eldev/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/eldev/eldev-1.3.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/app-emacs/eldev/Manifest b/app-emacs/eldev/Manifest index 6eb5250552d5..fac0e127d13f 100644 --- a/app-emacs/eldev/Manifest +++ b/app-emacs/eldev/Manifest @@ -1,2 +1,3 @@ DIST eldev-1.2.1.tar.gz 238318 BLAKE2B 18c75aab3b06254ab1c8fe87c11104977066bc5fddfcd5e11c413e9d2df7458cef55da9349bf1bc68cb126c02addbc7ee2f071c698f8bc1ba1195dbe694a99ba SHA512 88a3750eccd10eccedb2cff1b807d65d8026c07cc1255ba9d562c1ddc662c2c14641cd4053d82574b2007ca1ce1470bd1f2ebc5bcd99207ef7e0749eb6b6f505 DIST eldev-1.2.2.tar.gz 238729 BLAKE2B d1d896033a98ed12c64a90fba828f28794c4196e62007004e14648db3f5bf19a253d50977ba335457793c7e2176857160e684f395429ce4f71ac0a794e10b776 SHA512 b0cdad8b09d019adb9f6c6347e3a3194dc7486e14046ee8d100addbb0e46db23b996237d4008e823a6713c0f55dc7bcb3d6044e3723b95e754e0e121d42beef2 +DIST eldev-1.3.tar.gz 258781 BLAKE2B cb5b48622d77a3f79dfad7b9acb08705edaf6b9bc9c5086bd8afad515d0cf0f25a504f2c39a0bfa7a7f55d2855d11d993c02a46fbdf57d4f47e7c0530412f057 SHA512 ed7edbc6c2601cd1db669545d9103c632c46d498eb3839fc87003c1bdc2bbf6eac76f996bb3290e5115b8f474afc0d028db740f2c6bcd1b67e0f6174d321fbcd diff --git a/app-emacs/eldev/eldev-1.3.ebuild b/app-emacs/eldev/eldev-1.3.ebuild new file mode 100644 index 000000000000..3f35959f7270 --- /dev/null +++ b/app-emacs/eldev/eldev-1.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS=24.4 + +inherit elisp + +DESCRIPTION="Emacs Lisp Development Tool" +HOMEPAGE="https://github.com/doublep/eldev/" +SRC_URI="https://github.com/doublep/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +KEYWORDS="~amd64 ~x86" +SLOT="0" + +DOCS=( README.adoc ) +SITEFILE="50${PN}-gentoo.el" + +src_test() { + ELDEV_LOCAL="${S}" ./bin/${PN} test +} + +src_install() { + elisp_src_install + dobin bin/${PN} + + # NOTICE: If ELDEV_LOCAL is defined Eldev will use it + # to load up it's components, + # if it is not it will bootstrap itself from network + # always check if it uses installed Emacs Lisp files. + # Also, do not forget to run `env-update` & reopen your shell. + # https://github.com/doublep/eldev#influential-environment-variables + echo "ELDEV_LOCAL=${SITELISP}/${PN}" >> "${T}"/99${PN} || die + doenvd "${T}"/99${PN} +} + +pkg_postinst() { + elisp_pkg_postinst + + ewarn "Remember to run \`env-update && source /etc/profile\` if you plan" + ewarn "to use Eldev in a shell before logging out (or restarting" + ewarn "your login manager)." +} |