summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-12-21 15:24:35 +0100
committerMaciej Barć <xgqt@gentoo.org>2022-12-21 15:24:35 +0100
commitb4934bff4af4a986e7a3ef1d52cb9df66028f954 (patch)
tree72ca60a3c031bf9940530def21624056fd8115bf /app-emacs/eldev
parentapp-emacs/org-contrib: drop old 0.2 (diff)
downloadgentoo-b4934bff4af4a986e7a3ef1d52cb9df66028f954.tar.gz
gentoo-b4934bff4af4a986e7a3ef1d52cb9df66028f954.tar.bz2
gentoo-b4934bff4af4a986e7a3ef1d52cb9df66028f954.zip
app-emacs/eldev: bump to 1.3.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/eldev')
-rw-r--r--app-emacs/eldev/Manifest1
-rw-r--r--app-emacs/eldev/eldev-1.3.1.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/app-emacs/eldev/Manifest b/app-emacs/eldev/Manifest
index fac0e127d13f..0c499fdb4a39 100644
--- a/app-emacs/eldev/Manifest
+++ b/app-emacs/eldev/Manifest
@@ -1,3 +1,4 @@
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.1.tar.gz 259101 BLAKE2B 838c000865c04079c0ca6d03fff0bf3b9a45d1494a9b1d471303769ff21f2bdd99914e188c9fbf450ded8434bab6a5cb40b7c3b8e445f379f32519dda05d94aa SHA512 255f9a8bc68fb625e5ba5cc8f26720f5736ee70f2e08bec1e088e37705576d8d07607f1c365eb4891aa9b8fa422ea034c88e580b7024e3d4548e0fd250c28fa7
DIST eldev-1.3.tar.gz 258781 BLAKE2B cb5b48622d77a3f79dfad7b9acb08705edaf6b9bc9c5086bd8afad515d0cf0f25a504f2c39a0bfa7a7f55d2855d11d993c02a46fbdf57d4f47e7c0530412f057 SHA512 ed7edbc6c2601cd1db669545d9103c632c46d498eb3839fc87003c1bdc2bbf6eac76f996bb3290e5115b8f474afc0d028db740f2c6bcd1b67e0f6174d321fbcd
diff --git a/app-emacs/eldev/eldev-1.3.1.ebuild b/app-emacs/eldev/eldev-1.3.1.ebuild
new file mode 100644
index 000000000000..3f35959f7270
--- /dev/null
+++ b/app-emacs/eldev/eldev-1.3.1.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)."
+}