summaryrefslogtreecommitdiff
path: root/app-emacs/epc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-07 04:26:50 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-07 04:26:50 +0100
commit7ad61ca2bfc8f8da08d2fb3085e4333dcccb0a64 (patch)
treef7c41a49b46acf8ae70e84a70c452a7d121c5458 /app-emacs/epc
parentd6106fb0c1ab8f79024ab6a9ac2062ddc85d4e07 (diff)
gentoo auto-resync : 07:10:2024 - 04:26:50
Diffstat (limited to 'app-emacs/epc')
-rw-r--r--app-emacs/epc/Manifest2
-rw-r--r--app-emacs/epc/epc-0.1.1.ebuild27
2 files changed, 18 insertions, 11 deletions
diff --git a/app-emacs/epc/Manifest b/app-emacs/epc/Manifest
index af02f95085e3..3b2a5de932a3 100644
--- a/app-emacs/epc/Manifest
+++ b/app-emacs/epc/Manifest
@@ -1,3 +1,3 @@
DIST epc-0.1.1.tar.gz 158462 BLAKE2B afbaa496799ac698af885872ab3409ac0e7b27d1299c0450aec75cad6d213fc4efe5b6c2dc48a383b9b061c457accfea81dd821062a7027b781f005cba67e35e SHA512 c6c6e9c2f241ca275b807a387c4fb6916edb02c390d7bc350388d729e2214d7fe5addb7ea634bebc75aa09e510ab2d141ae6a197b328d1f506ee51660a5b8ddc
-EBUILD epc-0.1.1.ebuild 649 BLAKE2B 8947a807e28a1ae0885a7e0ab486b8a6bba7f5e8d75ba8f6943947f008e2dfc6af5df0d4a108db117e80df36f9e2e321f9d6b0cb14d0f7261547a544f2229f23 SHA512 382105a4269c089e38cc747644602ce368f7cee2cac28ada05898a060c55e2c118f155dce1dc9ea58f5d22412adfd63cfffdd13157ca29b2154a9e68c68671bb
+EBUILD epc-0.1.1.ebuild 702 BLAKE2B de88e0d312760ed5cd036159da720fd8f9d5aa1a0d26977d8657c502810e09b92fdcec8da35b6c21f9e35f152cc3b3e7b50da7efc0123137e3ff3e48ef0a09e6 SHA512 2e688124e846bd0d1e4d6b0232e226e44202ddee6800c20528101681110a7c2b8547efc277d6fa57ad5cd8a5e392695b9039e2135a975ee4ae04e1deb05d4eb1
MISC metadata.xml 425 BLAKE2B 83112e87e10dc5e7d0bfbaedc9e5f426be8402ca62383dabc37234dfe2bb31e8cdc46cf235140c83e4319e3d0a7a533d8f5445c1f7a7397da3a074a9bb731426 SHA512 56db95632e644c0733ad83ae3d8ffa36f6805087d59ce3f7dac428b1ef2e6e3bb85b72e10af673b047e1aafaf96cde9faef3049c840859af974f886df2ad86e4
diff --git a/app-emacs/epc/epc-0.1.1.ebuild b/app-emacs/epc/epc-0.1.1.ebuild
index 631dd47f8e71..1709c8e7e76c 100644
--- a/app-emacs/epc/epc-0.1.1.ebuild
+++ b/app-emacs/epc/epc-0.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -7,24 +7,31 @@ inherit elisp
DESCRIPTION="RPC stack for Emacs Lisp"
HOMEPAGE="https://github.com/kiwanami/emacs-epc/"
-SRC_URI="https://github.com/kiwanami/emacs-epc/archive/${PV}.tar.gz
- -> ${P}.tar.gz"
-S="${WORKDIR}"/emacs-${P}
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/kiwanami/emacs-epc.git"
+else
+ SRC_URI="https://github.com/kiwanami/emacs-epc/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}/emacs-${P}"
+
+ KEYWORDS="~amd64 ~x86"
+fi
LICENSE="GPL-3+"
-KEYWORDS="~amd64 ~x86"
SLOT="0"
RDEPEND="
app-emacs/ctable
app-emacs/deferred
"
-BDEPEND="${RDEPEND}"
+BDEPEND="
+ ${RDEPEND}
+"
DOCS=( readme.md demo img )
SITEFILE="50${PN}-gentoo.el"
-src_test() {
- ${EMACS} ${EMACSFLAGS} -L . -l epc.el -l epcs.el -l test-epc.el \
- -f ert-run-tests-batch-and-exit || die "tests failed"
-}
+elisp-enable-tests ert "${S}" -l epc.el -l epcs.el -l test-epc.el