summaryrefslogtreecommitdiff
path: root/app-emacs/erobot
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-emacs/erobot
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-emacs/erobot')
-rw-r--r--app-emacs/erobot/Manifest5
-rw-r--r--app-emacs/erobot/erobot-2.1.0-r1.ebuild17
-rw-r--r--app-emacs/erobot/files/50erobot-gentoo.el4
-rw-r--r--app-emacs/erobot/files/erobot-2.1.0-fix-interactive.patch11
-rw-r--r--app-emacs/erobot/metadata.xml9
5 files changed, 46 insertions, 0 deletions
diff --git a/app-emacs/erobot/Manifest b/app-emacs/erobot/Manifest
new file mode 100644
index 000000000000..b64445a6cc40
--- /dev/null
+++ b/app-emacs/erobot/Manifest
@@ -0,0 +1,5 @@
+AUX 50erobot-gentoo.el 195 BLAKE2B 126c2a886e010a18541b17222bf6fe03719fe280bedc50eb4cdd9991a7a212671122ec8dfcaf8b9db0e548d0c247dc983b404460da7be59781b41154353f17f4 SHA512 451baf6369149ad36ab35defec43da2cc095688776fe24f3c786fd107b8e5fdc02e7aadb52f3905f9350e273d3c1e08512ae42feaad9fa0650fe31483d4f3f0d
+AUX erobot-2.1.0-fix-interactive.patch 520 BLAKE2B 9d1120fc449b24bd8607c348abe0dc648dbf83ded0ebaaf7dc56fb8b796f2b029bdf42e3bd0162647e50cf7e9bbefbab532a4a2e8701ad5bb5c9a71c4dac3231 SHA512 c71434f7a44e65657ba8fdfb32b0b377773fed3850e2c3ef6f5e6c00fedb059748fa64e7fb2315e7e6cf3d85003846a0828941e0969e86f86c94ee2987550b4b
+DIST erobot-2.1.0.tar.bz2 8748 BLAKE2B 920ef81a774b12cce29f8aaa75e4fa2462e034f91a2e1c791817f22d79387067d2760662b4c838d7b73d04cd88e9eb17045c6df6abbb5df4c944513e50a19222 SHA512 a5e8ad1d6cbc736302d846576a3effb6ef6a22b31677e604374df50920435a8082a8b3124a3a76c5086a066956ba457bfb4d2477cdc16ae45919aa7dd8c7e874
+EBUILD erobot-2.1.0-r1.ebuild 388 BLAKE2B 831ea91c1b741638f5a3ded855d1ced41a8ca1bb30b2c27f98250e8cdaefa1cf335def4ebed23cea9fcd1e1161284e53ffb571887761930c853687840d270820 SHA512 c89ba622de92643650abdf649228dc73cd689d5ce3832f12882d916994be16da153ca582ac11b631722a3c5f7e73b90d0d0560e2376d88975ae2302d89738f9d
+MISC metadata.xml 282 BLAKE2B 432e60a3b04def9f566fde3852011e006c0d578c72c42115734d1af5c128440fcee68134c8f891baad437e64a8d61fbbac49e70a35ed4f6f85641e888d3a2547 SHA512 1838e22e1f5b849b816a05d1b25bd81333c8cf67ceb996177e05ba7a555b8e0e307e62cb53e6f1217f4216823e2fecf050e85437678503d60e10c6b2d5303072
diff --git a/app-emacs/erobot/erobot-2.1.0-r1.ebuild b/app-emacs/erobot/erobot-2.1.0-r1.ebuild
new file mode 100644
index 000000000000..86427fec6924
--- /dev/null
+++ b/app-emacs/erobot/erobot-2.1.0-r1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Battle-bots for Emacs!"
+HOMEPAGE="https://www.emacswiki.org/emacs/EmacsRobots"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+
+ELISP_PATCHES="${P}-fix-interactive.patch"
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/erobot/files/50erobot-gentoo.el b/app-emacs/erobot/files/50erobot-gentoo.el
new file mode 100644
index 000000000000..9ca415017af3
--- /dev/null
+++ b/app-emacs/erobot/files/50erobot-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'erobot "erobot" "Starts a game of erobot." t)
+(autoload 'erobot-tour "erobot"
+ "Introduction to some of the erobots included in the package." t)
diff --git a/app-emacs/erobot/files/erobot-2.1.0-fix-interactive.patch b/app-emacs/erobot/files/erobot-2.1.0-fix-interactive.patch
new file mode 100644
index 000000000000..69b195170a85
--- /dev/null
+++ b/app-emacs/erobot/files/erobot-2.1.0-fix-interactive.patch
@@ -0,0 +1,11 @@
+--- erobot.el~ 2002-09-28 21:25:39.000000000 +0200
++++ erobot.el 2007-04-21 11:57:15.000000000 +0200
+@@ -230,7 +230,7 @@
+ `erobot-max-turns' has been exceeded, or if the char q is pressed
+ while the game is running. When the game ends, the candidates on
+ the map are returned in a list."
+- (interactive "i\n\naCandidate A: \naCandidate B: ")
++ (interactive "aCandidate A: \naCandidate B: ")
+ ;; Place candidates on the map and set erobot-candidates
+ (setq erobot-candidates nil)
+ (erobot-initialize candidates)
diff --git a/app-emacs/erobot/metadata.xml b/app-emacs/erobot/metadata.xml
new file mode 100644
index 000000000000..c918cdef9591
--- /dev/null
+++ b/app-emacs/erobot/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+</maintainer>
+<stabilize-allarches/>
+</pkgmetadata>