summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-09-05 15:44:11 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-09-05 16:11:38 +0200
commitd308879c932782320bb9c070278498f1b901983e (patch)
tree8cba2d1581c18dfa9497afa94b702055e45d0256 /app-emacs
parentapp-emacs/eldev: drop old 1.5 (diff)
downloadgentoo-d308879c932782320bb9c070278498f1b901983e.tar.gz
gentoo-d308879c932782320bb9c070278498f1b901983e.tar.bz2
gentoo-d308879c932782320bb9c070278498f1b901983e.zip
app-emacs/eldev: bump to 1.6
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/eldev/Manifest1
-rw-r--r--app-emacs/eldev/eldev-1.6.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/app-emacs/eldev/Manifest b/app-emacs/eldev/Manifest
index 39c0ce98a6db..5fec732ea9e7 100644
--- a/app-emacs/eldev/Manifest
+++ b/app-emacs/eldev/Manifest
@@ -1,2 +1,3 @@
DIST eldev-1.5.1.tar.gz 277342 BLAKE2B 9efc21e393703aa6649bf95ce0ab774f0306e04371001ab8de9202a9c0c975c9c8ba695dddecfb2be1717b49862aaea9a4ea714f38ccd05545597a93ddf2d61b SHA512 a06f8ecd9b5e1536f03fc6b23b721febb11841fe63b610ae410fe1a317f9e0c28c5cba590104d899e3987acb17bf354bdd17a0447aa83fab99871717574e7598
DIST eldev-1.5.2.tar.gz 278912 BLAKE2B 6f4aa63817f09bd5fc744a08b7204227c607e1c1cf586d31d0f1835bdc720ab41a272c9dbcd309a8512ef5ddec31db50f6d31e4d52446b66aa3b5abd0e7f6c36 SHA512 86f91c7dde1a1f1012268f6b32d86855d6996ab70c828c70dd188d01609dacbba8aa68dfd86a4995a1ee944aca08d08f844696bd70f996346279dd808ab446b2
+DIST eldev-1.6.tar.gz 283833 BLAKE2B c9111b97ef0ca8a70d60909f5ecacf6628e571e547a83a78aee478964bd8194b93a3c5c2fc83278a5e5e5c9909492699abe9edc1b8e113d2dafeb4af64b000b7 SHA512 855c63e173fa3ed8294eeabb08effb621e1b13d672ce035559f9eaa2dc5fa095302cc52b76fd3716312f0e5922b2774d3ccad741b764d67155f8d73c032acbe7
diff --git a/app-emacs/eldev/eldev-1.6.ebuild b/app-emacs/eldev/eldev-1.6.ebuild
new file mode 100644
index 000000000000..413e8c727a11
--- /dev/null
+++ b/app-emacs/eldev/eldev-1.6.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Emacs Lisp Development Tool"
+HOMEPAGE="https://github.com/doublep/eldev/"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/doublep/${PN}.git"
+else
+ SRC_URI="https://github.com/doublep/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="GPL-3+"
+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)."
+}