From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/parseedn/
Date: Sun, 6 Oct 2024 19:53:31 +0000 (UTC) [thread overview]
Message-ID: <1728244291.c2fdcdc7700242f3b9a835fe151d412a71a26e8f.xgqt@gentoo> (raw)
commit: c2fdcdc7700242f3b9a835fe151d412a71a26e8f
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 6 18:38:38 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Oct 6 19:51:31 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2fdcdc7
app-emacs/parseedn: minor tweaks
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
app-emacs/parseedn/parseedn-1.2.1.ebuild | 33 ++++++++++++++++++++------------
1 file changed, 21 insertions(+), 12 deletions(-)
diff --git a/app-emacs/parseedn/parseedn-1.2.1.ebuild b/app-emacs/parseedn/parseedn-1.2.1.ebuild
index 4d4b7b12cefa..1e7379362bd7 100644
--- a/app-emacs/parseedn/parseedn-1.2.1.ebuild
+++ b/app-emacs/parseedn/parseedn-1.2.1.ebuild
@@ -3,31 +3,40 @@
EAPI=8
-NEED_EMACS=26
+NEED_EMACS="26"
inherit elisp
DESCRIPTION="EDN parser for Emacs Lisp"
HOMEPAGE="https://github.com/clojure-emacs/parseedn/"
-SRC_URI="https://github.com/clojure-emacs/${PN}/archive/v${PV}.tar.gz
- -> ${P}.tar.gz"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/clojure-emacs/${PN}.git"
+else
+ SRC_URI="https://github.com/clojure-emacs/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+ KEYWORDS="amd64 ~x86"
+fi
LICENSE="GPL-3+"
-KEYWORDS="amd64 ~x86"
SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-RDEPEND="app-emacs/parseclj"
+RDEPEND="
+ app-emacs/parseclj
+"
BDEPEND="
${RDEPEND}
- test? ( app-emacs/ert-runner )
"
-ELISP_REMOVE="test/${PN}-test.el" # Remove bad tests.
+# Remove bad tests.
+ELISP_REMOVE="
+ test/${PN}-test.el
+"
+
DOCS=( CHANGELOG.md README.md )
SITEFILE="50${PN}-gentoo.el"
-src_test() {
- ert-runner -L . -L test --reporter ert+duration --script test || die
-}
+elisp-enable-tests ert-runner test
next reply other threads:[~2024-10-06 19:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-06 19:53 Maciej Barć [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-01-06 8:16 [gentoo-commits] repo/gentoo:master commit in: app-emacs/parseedn/ Sam James
2023-12-04 8:43 Maciej Barć
2023-12-04 8:43 Maciej Barć
2023-10-31 0:16 Sam James
2023-09-30 14:24 Maciej Barć
2023-04-02 1:45 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1728244291.c2fdcdc7700242f3b9a835fe151d412a71a26e8f.xgqt@gentoo \
--to=xgqt@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox