summaryrefslogtreecommitdiff
path: root/app-emacs/mocker
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/mocker')
-rw-r--r--app-emacs/mocker/Manifest4
-rw-r--r--app-emacs/mocker/files/50mocker-gentoo.el1
-rw-r--r--app-emacs/mocker/metadata.xml13
-rw-r--r--app-emacs/mocker/mocker-0.5.0.ebuild27
4 files changed, 45 insertions, 0 deletions
diff --git a/app-emacs/mocker/Manifest b/app-emacs/mocker/Manifest
new file mode 100644
index 000000000000..9235d83cb8ba
--- /dev/null
+++ b/app-emacs/mocker/Manifest
@@ -0,0 +1,4 @@
+AUX 50mocker-gentoo.el 38 BLAKE2B e96c6cf48d1522d89450e11d339c76210c672377208b56951791b83c6ef22b2c872d313084e199dd5d7b533a99106a87dbc7f15b5ee6126f71bf5f2e84165ffa SHA512 5c00bcabe2d7cc03013dc7a54b2c653940c08098ca5646d7c73624cb1ca04376ae9dcf88a7166b1925c69f0c5d192d90f6bd790fdef8ed8c3b0f9d163c987da5
+DIST mocker-0.5.0.tar.gz 7538 BLAKE2B 6998955dad68acf1a1dec8029dcaf0c5670e7594f77deb6d52873c2b9018ca329885120ee12f50c08d2a4014d94f3614f25d3f804df422b33f50cee74a46f935 SHA512 f649f8065734e8591b23f7887157ab0fadaca459a37761d8415e09957ad4a007f0896042511e842cd7d77294483d833552170cbdbb19b03638f7890e85605459
+EBUILD mocker-0.5.0.ebuild 631 BLAKE2B f73c7107f067886dae6d8be7adbb28d2c889ffb005312055c155184c6659ce3d6f5f53045765a35655298ebc74095df2af399eb2324597b24ea16515269dfb2d SHA512 4d9ba2a56766f7f7b47d8b6ee9a2ed1bbe562bda5708321d5a47198a9511a619c46e55bdfa528f94f99aa4ef97e4d59b47898be7826649211f10bb498f6467e2
+MISC metadata.xml 419 BLAKE2B b404cbd9a3007416336acff6a1d4caad461145aae28319323edec845d94a2f235991cb5b5fa777c57ddc5066a6da217d642bb7e23b6b71990892407004213b88 SHA512 b6f1a62c6962b5c8c61586621e0306e91a58b20e3ba71700d2097eb819a77c7c1db7b1dfa751b800ffda3dc7a63acbf81948c6511edc473decc2ff5d9977b5ec
diff --git a/app-emacs/mocker/files/50mocker-gentoo.el b/app-emacs/mocker/files/50mocker-gentoo.el
new file mode 100644
index 000000000000..431f7e90ae73
--- /dev/null
+++ b/app-emacs/mocker/files/50mocker-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")
diff --git a/app-emacs/mocker/metadata.xml b/app-emacs/mocker/metadata.xml
new file mode 100644
index 000000000000..93a04ebb0d74
--- /dev/null
+++ b/app-emacs/mocker/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/sigma/mocker.el/issues/</bugs-to>
+ <remote-id type="github">sigma/mocker.el</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-emacs/mocker/mocker-0.5.0.ebuild b/app-emacs/mocker/mocker-0.5.0.ebuild
new file mode 100644
index 000000000000..8c112ede6dc9
--- /dev/null
+++ b/app-emacs/mocker/mocker-0.5.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN=${PN}.el
+NEED_EMACS=25.1
+
+inherit elisp
+
+DESCRIPTION="Simple mocking framework for Emacs "
+HOMEPAGE="https://github.com/sigma/mocker.el/"
+SRC_URI="https://github.com/sigma/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/${MY_PN}-${PV}
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DOCS=( README.markdown )
+SITEFILE="50${PN}-gentoo.el"
+
+src_test() {
+ ${EMACS} ${EMACSFLAGS} ${BYTECOMPFLAGS} \
+ -L ./test -l ./test/mocker-test.el \
+ -f ert-run-tests-batch-and-exit || die "tests failed"
+}