diff options
Diffstat (limited to 'app-emacs/eldev')
-rw-r--r-- | app-emacs/eldev/Manifest | 4 | ||||
-rw-r--r-- | app-emacs/eldev/eldev-1.1.ebuild | 45 | ||||
-rw-r--r-- | app-emacs/eldev/files/50eldev-gentoo.el | 1 | ||||
-rw-r--r-- | app-emacs/eldev/metadata.xml | 22 |
4 files changed, 72 insertions, 0 deletions
diff --git a/app-emacs/eldev/Manifest b/app-emacs/eldev/Manifest new file mode 100644 index 000000000000..3d2807b4b2f6 --- /dev/null +++ b/app-emacs/eldev/Manifest @@ -0,0 +1,4 @@ +AUX 50eldev-gentoo.el 38 BLAKE2B e96c6cf48d1522d89450e11d339c76210c672377208b56951791b83c6ef22b2c872d313084e199dd5d7b533a99106a87dbc7f15b5ee6126f71bf5f2e84165ffa SHA512 5c00bcabe2d7cc03013dc7a54b2c653940c08098ca5646d7c73624cb1ca04376ae9dcf88a7166b1925c69f0c5d192d90f6bd790fdef8ed8c3b0f9d163c987da5 +DIST eldev-1.1.tar.gz 214028 BLAKE2B 2e4a7b15df3e897df5fd029c9c2e298d46dd75316810dc5b859c933b818b65b53dd33451d6e284ec4a24de7de251f24225c8641d44f545db62f4f1777c776ab7 SHA512 acdea3eba36c7d1f06111c31b6e6467ec3b33ca42e06af64c0f67dbb2cbba631223c41dabba51eddf668920ab1eb4f75eaef2fe03a9bdd44163a2bc903cfb1ed +EBUILD eldev-1.1.ebuild 1149 BLAKE2B 2934e5c1b708cd0f46b9940452ffdfdfbfcf49bf9db0107f169e76d7128403f8b1bbf545709f64052e8d8410ae54db280714edc97f7836d87f7722c411240469 SHA512 57c6d579e2f77a6738a515f30a6498b2c90010a98f063e43fe9c702267c054111e85374a5b5829595a6df4a02331232509b298d511e7b05e0364bd441ebe20c9 +MISC metadata.xml 982 BLAKE2B db2324ced8f4bc4ba579130677175a9de7a8dc7b8d937cd902edd69a20bc897bf4ee034acb6a9400b88de82c58c2b144e62ec4ac7b75d8dc63cdf56670cacc9e SHA512 3e4d2d7ea4fbada45b4d933d7711266bcd9ffd217ee3c3e3351e9f66145785dc11449b4f09f5ffa4853d2b475db45e501848d259f80fb5aa26429acadcb6da7d diff --git a/app-emacs/eldev/eldev-1.1.ebuild b/app-emacs/eldev/eldev-1.1.ebuild new file mode 100644 index 000000000000..3f35959f7270 --- /dev/null +++ b/app-emacs/eldev/eldev-1.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)." +} diff --git a/app-emacs/eldev/files/50eldev-gentoo.el b/app-emacs/eldev/files/50eldev-gentoo.el new file mode 100644 index 000000000000..431f7e90ae73 --- /dev/null +++ b/app-emacs/eldev/files/50eldev-gentoo.el @@ -0,0 +1 @@ +(add-to-list 'load-path "@SITELISP@") diff --git a/app-emacs/eldev/metadata.xml b/app-emacs/eldev/metadata.xml new file mode 100644 index 000000000000..cb313e2aec78 --- /dev/null +++ b/app-emacs/eldev/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="project"> + <email>gnu-emacs@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> + </maintainer> + <upstream> + <changelog>https://github.com/doublep/eldev/releases/</changelog> + <bugs-to>https://github.com/doublep/eldev/issues/</bugs-to> + <remote-id type="github">doublep/eldev</remote-id> + </upstream> + <longdescription> + Eldev (Elisp Development Tool) is an Emacs-based build tool, targeted + solely at Elisp projects. It is an alternative to Cask. Unlike Cask, Eldev + itself is fully written in Elisp and its configuration files are also Elisp + programs. If you are familiar with Java world, Cask can be seen as a + parallel to Maven — it uses project description, while Eldev is sort of a + parallel to Gradle — its configuration is a program on its own. + </longdescription> +</pkgmetadata> |