diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-14 04:04:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-14 04:04:03 +0100 |
commit | 2916cf6049cf9d3092021e247d56c580df6029a7 (patch) | |
tree | c796a6fc8b6fd0e4fd5ac06b009000b438fed7d9 /app-emacs/eldev | |
parent | 7b5306e0d287565138e8b051e32f57e6af6ae0ed (diff) |
gentoo auto-resync : 14:10:2024 - 04:04:03
Diffstat (limited to 'app-emacs/eldev')
-rw-r--r-- | app-emacs/eldev/Manifest | 2 | ||||
-rw-r--r-- | app-emacs/eldev/eldev-1.10.2.ebuild | 59 |
2 files changed, 61 insertions, 0 deletions
diff --git a/app-emacs/eldev/Manifest b/app-emacs/eldev/Manifest index 3b4a0c7ce49f..7e6295b5898b 100644 --- a/app-emacs/eldev/Manifest +++ b/app-emacs/eldev/Manifest @@ -1,4 +1,6 @@ DIST eldev-1.10.1.tar.gz 307097 BLAKE2B e86dbd717faca925c57c3331d2a5177e6ae96959b2425a1a62082ce268650f08b40744cab819f948d26c752523764ae330c6c57cffd0f1bcc440b8c0b4ea75b2 SHA512 8be7913457e826d10eea4625d5f412996e3b485d9d65749bcdc9bb020fac33aa41840d856e31fefe9a2f4b5a9dc597be8820416eaed96717287b8a966f663861 +DIST eldev-1.10.2.tar.gz 307514 BLAKE2B 9da91154ad464971798d6430d398b90c078e8cf32460c0bb1056d67a1e2599e33f9ee81d3e0d7c9dcd44e12c3c6d0cbcac459a714cb855ea454b78bc01fb315e SHA512 d82543271c235d25069008d87e885800342c4b13cf26adbd2cb9a64dfa224352c0019a322916191594b1be926d29830abbee8abbef1175a705d28e003f040ca3 EBUILD eldev-1.10.1.ebuild 1366 BLAKE2B 19e99d63e8aa7749c394106d19e4290618433af425de74afb00ae3c63f0f54d7e6070629faf87184c4892fead2201466ac6934ceb2de8ae95dd65fe01f8431b5 SHA512 0d541ea5355d0888b18def31486d8658d6e261a37708994b07e04ca14d890050d00b80738104da6d7ae6ad19842b66d697622dd0ecf28e188078ec37a2db7e2d +EBUILD eldev-1.10.2.ebuild 1367 BLAKE2B 37cc3419305ccfe35ec0b849c3b40209df863b2e1b8013d09ee2864a4f172ced1fd00171a7b6a99ff5f23ff892b0949d5fb02079540f60c1aee8fa56f87cb470 SHA512 2ace4b2f987434eafc3901c3eb0227707e9c4369c5a08982849d5d03e2363fd81d2f3bde188d43ac085d42fc49834d09ba3a9dea7ebeafd18b4e9723dd4ca231 EBUILD eldev-9999.ebuild 1266 BLAKE2B da46690b2345f74c543a5cd3fd94cfd2c072cdce13da71051c2f0ecfcd3a4fd82fa3b3976a08ff34b894b32104298964122a69ae94afe8741eae9dee2acbadc1 SHA512 01c6c2232244713f9533f4ef3e7b30df221c0fa42efb9fa15adeb68664ab20b823e296fbd24b2b5b1a6973969edc3e3d932366ce68dbe66ce34a405559f3a255 MISC metadata.xml 982 BLAKE2B db2324ced8f4bc4ba579130677175a9de7a8dc7b8d937cd902edd69a20bc897bf4ee034acb6a9400b88de82c58c2b144e62ec4ac7b75d8dc63cdf56670cacc9e SHA512 3e4d2d7ea4fbada45b4d933d7711266bcd9ffd217ee3c3e3351e9f66145785dc11449b4f09f5ffa4853d2b475db45e501848d259f80fb5aa26429acadcb6da7d diff --git a/app-emacs/eldev/eldev-1.10.2.ebuild b/app-emacs/eldev/eldev-1.10.2.ebuild new file mode 100644 index 000000000000..c7b3f8685f75 --- /dev/null +++ b/app-emacs/eldev/eldev-1.10.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="Emacs Lisp Development Tool" +HOMEPAGE="https://emacs-eldev.github.io/eldev/ + 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" + +ELISP_REMOVE=" + test/doctor.el +" + +DOCS=( README.adoc ) +SITEFILE="50${PN}-gentoo.el" + +src_test() { + ELDEV_LOCAL="${S}" "./bin/${PN}" test +} + +src_install() { + elisp_src_install + + exeinto /usr/bin + doexe "./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)." +} |