Skip to content

Commit

Permalink
app-emacs/ansi: new package; add version 0.4.1_p20211104
Browse files Browse the repository at this point in the history
2021.11.04 snapshot

Signed-off-by: Maciej Barć <[email protected]>
  • Loading branch information
xgqt committed Apr 19, 2022
1 parent 111093c commit c4a6cc8
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-emacs/ansi/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST ansi-0.4.1_p20211104.tar.gz 5498 BLAKE2B aabfd9eca6b74e20bc2b435df08aa66971396fc64c9967682c744e53a703b1853af5e72682466fd89e0d4cb06fa264e1c9d7a5970004a2ccd4637ba3ff0d028b SHA512 ea4cf098aec0bace89de9bfebb36be493b4b73311525dd088a081e90aa41b6e4d15519a4e871bb4a2ef9bcd6450943d80f05619fb7290c341a0d5785bac00615
42 changes: 42 additions & 0 deletions app-emacs/ansi/ansi-0.4.1_p20211104.ebuild
Original file line number Diff line number Diff line change
@@ -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"
}
1 change: 1 addition & 0 deletions app-emacs/ansi/files/50ansi-gentoo.el
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(add-to-list 'load-path "@SITELISP@")
13 changes: 13 additions & 0 deletions app-emacs/ansi/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</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>

0 comments on commit c4a6cc8

Please sign in to comment.