summaryrefslogtreecommitdiff
path: root/app-emacs/deferred
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/deferred')
-rw-r--r--app-emacs/deferred/Manifest4
-rw-r--r--app-emacs/deferred/deferred-0.5.1.ebuild37
-rw-r--r--app-emacs/deferred/files/50deferred-gentoo.el1
-rw-r--r--app-emacs/deferred/metadata.xml13
4 files changed, 55 insertions, 0 deletions
diff --git a/app-emacs/deferred/Manifest b/app-emacs/deferred/Manifest
new file mode 100644
index 000000000000..90bb5a2eb1b2
--- /dev/null
+++ b/app-emacs/deferred/Manifest
@@ -0,0 +1,4 @@
+AUX 50deferred-gentoo.el 38 BLAKE2B e96c6cf48d1522d89450e11d339c76210c672377208b56951791b83c6ef22b2c872d313084e199dd5d7b533a99106a87dbc7f15b5ee6126f71bf5f2e84165ffa SHA512 5c00bcabe2d7cc03013dc7a54b2c653940c08098ca5646d7c73624cb1ca04376ae9dcf88a7166b1925c69f0c5d192d90f6bd790fdef8ed8c3b0f9d163c987da5
+DIST deferred-0.5.1.tar.gz 55894 BLAKE2B 61ba363620d56ad4c5f3fb9434f9550015681f6b8eafb318a9e6aa227aa17875218c12338fe377a840bdc429972d6e285a9744ec6640f277bfe7e4bdaee4a733 SHA512 357890f73917c7929cbb79f71a26901ac24abe9ea532181b730deee8eba97709b41c360904e2a2a8028ee1295e7ae845da5c702c74256a450f3d144080960a2b
+EBUILD deferred-0.5.1.ebuild 852 BLAKE2B 8ffce52a393e31cc432baff3e8595016d381cb0b00a3507c721970054fc4344f5b979b33227c8c0ef2e0a524d224378da3c5008f5b476b0da81414b8439861e9 SHA512 ed1dfff32f7609ec1c32484faf638e84689cbd1ad729b92a393a32791beac37143e6dec56761af3fa67d6372251483335536358ce82fa3334f7434c143a7e8ff
+MISC metadata.xml 435 BLAKE2B 50ce940d588ca40bbe43a84b98ab49cf8caf22c834b91b1d5964537ebb8e3c1e6d36e3585efd437938e7fa7845f555c1b4d433e45d3053a60044ed101b60390c SHA512 dd497ff5d533ba9026520476c6bd63c0c702911fb1609ee021e9fd34ad72742cd9abf6acf2312340cfc4f0ea044a6e588989ad55bbed857f762ebcb0d7f58458
diff --git a/app-emacs/deferred/deferred-0.5.1.ebuild b/app-emacs/deferred/deferred-0.5.1.ebuild
new file mode 100644
index 000000000000..a128977ca6b4
--- /dev/null
+++ b/app-emacs/deferred/deferred-0.5.1.ebuild
@@ -0,0 +1,37 @@
+# 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="Deferred and Concurrent - simple asynchronous functions for Emacs Lisp"
+HOMEPAGE="https://github.com/kiwanami/emacs-deferred/"
+SRC_URI="https://github.com/kiwanami/emacs-${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/emacs-${P}
+
+LICENSE="GPL-3+"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ test? (
+ app-emacs/ert-runner
+ app-emacs/undercover
+ )
+"
+
+DOCS=( README-concurrent.ja.markdown README-concurrent.markdown
+ README.ja.markdown README.markdown sample )
+
+# "Concurrent" tests pass, "Deferred" tests are malformed
+ELISP_REMOVE="test/${PN}-test.el"
+SITEFILE="50${PN}-gentoo.el"
+
+src_test() {
+ ert-runner --reporter ert+duration || die
+}
diff --git a/app-emacs/deferred/files/50deferred-gentoo.el b/app-emacs/deferred/files/50deferred-gentoo.el
new file mode 100644
index 000000000000..431f7e90ae73
--- /dev/null
+++ b/app-emacs/deferred/files/50deferred-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")
diff --git a/app-emacs/deferred/metadata.xml b/app-emacs/deferred/metadata.xml
new file mode 100644
index 000000000000..1ee0a0b8a641
--- /dev/null
+++ b/app-emacs/deferred/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/kiwanami/emacs-deferred/issues/</bugs-to>
+ <remote-id type="github">kiwanami/emacs-deferred</remote-id>
+ </upstream>
+</pkgmetadata>