summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-09-14 15:00:51 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-09-14 18:03:06 +0200
commitace346b1d6682d4e809a8084c7a4acedafdb0673 (patch)
tree4bdba17c65e3742ba65651834a8fcea039beb12b /app-emacs/eldev
parentapp-emacs/all-the-icons-ivy-rich: bump to 1.8.0 (diff)
downloadgentoo-ace346b1d6682d4e809a8084c7a4acedafdb0673.tar.gz
gentoo-ace346b1d6682d4e809a8084c7a4acedafdb0673.tar.bz2
gentoo-ace346b1d6682d4e809a8084c7a4acedafdb0673.zip
app-emacs/eldev: bump to 1.2.2
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.2.2.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/app-emacs/eldev/Manifest b/app-emacs/eldev/Manifest
index 85b19e1013a3..a1a5ba1f300e 100644
--- a/app-emacs/eldev/Manifest
+++ b/app-emacs/eldev/Manifest
@@ -1,3 +1,4 @@
DIST eldev-1.1.3.tar.gz 215481 BLAKE2B 9eed051f29be1eda9e7bbb2f55fec69d217d52fda592b206afe39c7f64584140a8e3df75f0963f1f6ba95b555961218663bede39b32f86508f0ade95e627515b SHA512 5d91d3067d82287543d4ec55440874900c3cd52359415da961641af96984f7cee978ded1dc77752d6df55440d48c951c010070657177180aee623647c9dd76b4
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.2.tar.gz 237458 BLAKE2B 8b91de9fe66c3746519591f44fc7560971d7aff72c81b320991a8bb2dd2ac5a102ccbee2edb4b1488ed8492b42071c79be0c8ec1fa7fbccc4307132cfbf52706 SHA512 ca1fbf6af218ad4632f9b8d199bf6a25a75a915263dc92b3b5bc4681c62aa5523b4e6391a110fa961bc578ce01aa4c4ec62a543418febcb1e74e4e8706801884
diff --git a/app-emacs/eldev/eldev-1.2.2.ebuild b/app-emacs/eldev/eldev-1.2.2.ebuild
new file mode 100644
index 000000000000..3f35959f7270
--- /dev/null
+++ b/app-emacs/eldev/eldev-1.2.2.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)."
+}