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

commit:     2a9873c345a0f8f010f8b3eb72e6946a5a010586
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 19 16:29:31 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Apr 19 16:34:20 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a9873c3

app-emacs/commander: new package; add version 0.7.0

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

 app-emacs/commander/Manifest                    |  1 +
 app-emacs/commander/commander-0.7.0.ebuild      | 45 +++++++++++++++++++++++++
 app-emacs/commander/files/50commander-gentoo.el |  1 +
 app-emacs/commander/metadata.xml                | 13 +++++++
 4 files changed, 60 insertions(+)

diff --git a/app-emacs/commander/Manifest b/app-emacs/commander/Manifest
new file mode 100644
index 000000000000..38064aa23bcc
--- /dev/null
+++ b/app-emacs/commander/Manifest
@@ -0,0 +1 @@
+DIST commander-0.7.0.tar.gz 37120 BLAKE2B 61e7262f7909d866f3890854cc695d1d8769ea54fa2a983d72a3e5b61217f1e898036026f71d8ae0d46e8d45af0b9e0e52c2f88d4f647dd50454877b9abd2946 SHA512 10d25d931f1faf88747c397594becc3832dfb56de7440ada2cd40e0329b0ca984eda77c62290329510ab87b53ac273e5d36e7acd628ff68ee0e981ccd9497d10

diff --git a/app-emacs/commander/commander-0.7.0.ebuild b/app-emacs/commander/commander-0.7.0.ebuild
new file mode 100644
index 000000000000..b73b413a0424
--- /dev/null
+++ b/app-emacs/commander/commander-0.7.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Emacs command line parser"
+HOMEPAGE="https://github.com/rejeep/commander.el/"
+SRC_URI="https://github.com/rejeep/${PN}.el/archive/v${PV}.tar.gz
+			-> ${P}.tar.gz"
+S="${WORKDIR}"/${PN}.el-${PV}
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	app-emacs/dash
+	app-emacs/f
+	app-emacs/s
+"
+BDEPEND="
+	${RDEPEND}
+	test? (
+		app-emacs/ecukes
+		app-emacs/el-mock
+		app-emacs/espuds
+	)
+"
+
+DOCS=( README.md )
+SITEFILE="50${PN}-gentoo.el"
+
+src_test() {
+	${EMACS} ${EMACSFLAGS} -L . -L test --eval "(require 'f)" \
+			 -l ${PN}-command-test.el -l ${PN}-config-test.el \
+			 -l ${PN}-init.el -l ${PN}-option-test.el -l ${PN}-test.el \
+			 -l ${PN}-usage-test.el -l ert-loader.el -l test-helper.el \
+			 -f ert-run-tests-batch-and-exit || die "tests failed"
+
+	ecukes --script features --debug || die
+}

diff --git a/app-emacs/commander/files/50commander-gentoo.el b/app-emacs/commander/files/50commander-gentoo.el
new file mode 100644
index 000000000000..431f7e90ae73
--- /dev/null
+++ b/app-emacs/commander/files/50commander-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")

diff --git a/app-emacs/commander/metadata.xml b/app-emacs/commander/metadata.xml
new file mode 100644
index 000000000000..6041ed51028f
--- /dev/null
+++ b/app-emacs/commander/metadata.xml
@@ -0,0 +1,13 @@
+<?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>
+    <bugs-to>https://github.com/rejeep/commander.el/issues/</bugs-to>
+    <remote-id type="github">rejeep/commander.el</remote-id>
+  </upstream>
+</pkgmetadata>


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

only message in thread, other threads:[~2022-04-19 16:34 UTC | newest]

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

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