summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-04-19 04:30:10 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-04-19 05:00:54 +0200
commitc4a6cc8faece98f52fdbfa331db126f98b3d6fa2 (patch)
treef278a7e96e4069edcd6d7835d3f1a9698bdc0a6d /app-emacs/ansi
parentapp-emacs/el-mock: new package; add version 1.25.1 (diff)
downloadgentoo-c4a6cc8faece98f52fdbfa331db126f98b3d6fa2.tar.gz
gentoo-c4a6cc8faece98f52fdbfa331db126f98b3d6fa2.tar.bz2
gentoo-c4a6cc8faece98f52fdbfa331db126f98b3d6fa2.zip
app-emacs/ansi: new package; add version 0.4.1_p20211104
2021.11.04 snapshot Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/ansi')
-rw-r--r--app-emacs/ansi/Manifest1
-rw-r--r--app-emacs/ansi/ansi-0.4.1_p20211104.ebuild42
-rw-r--r--app-emacs/ansi/files/50ansi-gentoo.el1
-rw-r--r--app-emacs/ansi/metadata.xml13
4 files changed, 57 insertions, 0 deletions
diff --git a/app-emacs/ansi/Manifest b/app-emacs/ansi/Manifest
new file mode 100644
index 000000000000..f3872ab0c6ba
--- /dev/null
+++ b/app-emacs/ansi/Manifest
@@ -0,0 +1 @@
+DIST ansi-0.4.1_p20211104.tar.gz 5498 BLAKE2B aabfd9eca6b74e20bc2b435df08aa66971396fc64c9967682c744e53a703b1853af5e72682466fd89e0d4cb06fa264e1c9d7a5970004a2ccd4637ba3ff0d028b SHA512 ea4cf098aec0bace89de9bfebb36be493b4b73311525dd088a081e90aa41b6e4d15519a4e871bb4a2ef9bcd6450943d80f05619fb7290c341a0d5785bac00615
diff --git a/app-emacs/ansi/ansi-0.4.1_p20211104.ebuild b/app-emacs/ansi/ansi-0.4.1_p20211104.ebuild
new file mode 100644
index 000000000000..12ba90c2412a
--- /dev/null
+++ b/app-emacs/ansi/ansi-0.4.1_p20211104.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+H=2367fba7b3b2340364a30cd6de7f3eb6bb9898a3
+NEED_EMACS=24
+
+inherit elisp
+
+DESCRIPTION="Emacs library to convert strings into ansi"
+HOMEPAGE="https://github.com/rejeep/ansi.el/"
+SRC_URI="https://github.com/rejeep/${PN}.el/archive/${H}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/${PN}.el-${H}
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ test? (
+ app-emacs/dash
+ app-emacs/el-mock
+ app-emacs/f
+ app-emacs/s
+ app-emacs/undercover
+ )
+"
+
+DOCS=( README.markdown )
+SITEFILE="50${PN}-gentoo.el"
+
+src_test() {
+ ${EMACS} ${EMACSFLAGS} -L . -L test \
+ -l ansi.el -l test/ansi-color-test.el -l test/ansi-csi-test.el \
+ -l test/ansi-format-test.el -l test/ansi-init.el \
+ -l test/ansi-on-color-test.el -l test/ansi-style-test.el \
+ -l test/ansi-test.el -l test/test-helper.el \
+ -f ert-run-tests-batch-and-exit || die "tests failed"
+}
diff --git a/app-emacs/ansi/files/50ansi-gentoo.el b/app-emacs/ansi/files/50ansi-gentoo.el
new file mode 100644
index 000000000000..431f7e90ae73
--- /dev/null
+++ b/app-emacs/ansi/files/50ansi-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")
diff --git a/app-emacs/ansi/metadata.xml b/app-emacs/ansi/metadata.xml
new file mode 100644
index 000000000000..7ffd242cdb37
--- /dev/null
+++ b/app-emacs/ansi/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/rejeep/ansi.el/issues/</bugs-to>
+ <remote-id type="github">rejeep/ansi.el</remote-id>
+ </upstream>
+</pkgmetadata>