From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A53DE15808D for ; Tue, 19 Apr 2022 16:34:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5253AE0809; Tue, 19 Apr 2022 16:34:29 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 56A1AE0809 for ; Tue, 19 Apr 2022 16:34:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 11671341BDC for ; Tue, 19 Apr 2022 16:34:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 65C0D3B3 for ; Tue, 19 Apr 2022 16:34:23 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1650386060.2a9873c345a0f8f010f8b3eb72e6946a5a010586.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/commander/files/, app-emacs/commander/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/commander/Manifest app-emacs/commander/commander-0.7.0.ebuild app-emacs/commander/files/50commander-gentoo.el app-emacs/commander/metadata.xml X-VCS-Directories: app-emacs/commander/files/ app-emacs/commander/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 2a9873c345a0f8f010f8b3eb72e6946a5a010586 X-VCS-Branch: master Date: Tue, 19 Apr 2022 16:34:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e957c34f-398d-4218-94f4-6933a148f405 X-Archives-Hash: 119230915de09c55b3850ae737ac1921 commit: 2a9873c345a0f8f010f8b3eb72e6946a5a010586 Author: Maciej Barć gentoo org> AuthorDate: Tue Apr 19 16:29:31 2022 +0000 Commit: Maciej Barć gentoo 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ć 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 @@ + + + + + + gnu-emacs@gentoo.org + Gentoo GNU Emacs project + + + https://github.com/rejeep/commander.el/issues/ + rejeep/commander.el + +