summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-05-06 23:47:40 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-05-06 23:50:34 +0200
commit6173313ed603cd8f3e317fa80d9fb1ed2473acc2 (patch)
treedd470f4a23f61896f7fbf55aed7a5dbe3f2d52bb /app-emacs/rainbow-mode
parentapp-editors/fe: Don't rename configure.in (diff)
downloadgentoo-6173313ed603cd8f3e317fa80d9fb1ed2473acc2.tar.gz
gentoo-6173313ed603cd8f3e317fa80d9fb1ed2473acc2.tar.bz2
gentoo-6173313ed603cd8f3e317fa80d9fb1ed2473acc2.zip
app-emacs/rainbow-mode: new package; add version 1.0.6
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/rainbow-mode')
-rw-r--r--app-emacs/rainbow-mode/Manifest1
-rw-r--r--app-emacs/rainbow-mode/files/50rainbow-mode-gentoo.el3
-rw-r--r--app-emacs/rainbow-mode/metadata.xml12
-rw-r--r--app-emacs/rainbow-mode/rainbow-mode-1.0.6.ebuild17
4 files changed, 33 insertions, 0 deletions
diff --git a/app-emacs/rainbow-mode/Manifest b/app-emacs/rainbow-mode/Manifest
new file mode 100644
index 000000000000..5d727eda46e0
--- /dev/null
+++ b/app-emacs/rainbow-mode/Manifest
@@ -0,0 +1 @@
+DIST rainbow-mode-1.0.6.tar 51200 BLAKE2B 950da4039eb392d42281d301de05cb669255b95a4382e582258676082516208980540eeb8b69293e2cd73fda3b0438256def408a2804a58bdb745cd72eeef604 SHA512 a7a3f18239dac7e63d022f513e028718552efc13da9589901a0e64377a00d9f3f56a0b708c55eacaf7b438fd29f7bbdb69fafcc4ba65dd6f9e72a82e3ce7efa7
diff --git a/app-emacs/rainbow-mode/files/50rainbow-mode-gentoo.el b/app-emacs/rainbow-mode/files/50rainbow-mode-gentoo.el
new file mode 100644
index 000000000000..624fcb4663ea
--- /dev/null
+++ b/app-emacs/rainbow-mode/files/50rainbow-mode-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'rainbow-mode "rainbow-mode"
+ "Colorize strings that represent colors." t)
diff --git a/app-emacs/rainbow-mode/metadata.xml b/app-emacs/rainbow-mode/metadata.xml
new file mode 100644
index 000000000000..76127bfcf698
--- /dev/null
+++ b/app-emacs/rainbow-mode/metadata.xml
@@ -0,0 +1,12 @@
+<?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>
+ <remote-id type="github">emacsmirror/rainbow-mode</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-emacs/rainbow-mode/rainbow-mode-1.0.6.ebuild b/app-emacs/rainbow-mode/rainbow-mode-1.0.6.ebuild
new file mode 100644
index 000000000000..bd405af3dce1
--- /dev/null
+++ b/app-emacs/rainbow-mode/rainbow-mode-1.0.6.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Colorize strings that represent colors inside Emacs buffers"
+HOMEPAGE="https://elpa.gnu.org/packages/rainbow-mode.html"
+SRC_URI="https://elpa.gnu.org/packages/${P}.tar"
+
+LICENSE="GPL-3+"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+
+ELISP_REMOVE="${PN}-pkg.el"
+SITEFILE="50${PN}-gentoo.el"