public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/eldev/files/, app-emacs/eldev/
@ 2022-04-29 18:03 Maciej Barć
  0 siblings, 0 replies; only message in thread
From: Maciej Barć @ 2022-04-29 18:03 UTC (permalink / raw
  To: gentoo-commits

commit:     1b4040d4842fbfb36a0d936330cbef6ffec3f571
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 29 18:02:44 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Apr 29 18:02:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b4040d4

app-emacs/eldev: new package; add version 1.1

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/eldev/Manifest                |  1 +
 app-emacs/eldev/eldev-1.1.ebuild        | 45 +++++++++++++++++++++++++++++++++
 app-emacs/eldev/files/50eldev-gentoo.el |  1 +
 app-emacs/eldev/metadata.xml            | 22 ++++++++++++++++
 4 files changed, 69 insertions(+)

diff --git a/app-emacs/eldev/Manifest b/app-emacs/eldev/Manifest
new file mode 100644
index 000000000000..4c22e112d68a
--- /dev/null
+++ b/app-emacs/eldev/Manifest
@@ -0,0 +1 @@
+DIST eldev-1.1.tar.gz 214028 BLAKE2B 2e4a7b15df3e897df5fd029c9c2e298d46dd75316810dc5b859c933b818b65b53dd33451d6e284ec4a24de7de251f24225c8641d44f545db62f4f1777c776ab7 SHA512 acdea3eba36c7d1f06111c31b6e6467ec3b33ca42e06af64c0f67dbb2cbba631223c41dabba51eddf668920ab1eb4f75eaef2fe03a9bdd44163a2bc903cfb1ed

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>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-29 18:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-29 18:03 [gentoo-commits] repo/gentoo:master commit in: app-emacs/eldev/files/, app-emacs/eldev/ Maciej Barć

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox