commit: 00852cae56d2f9c5764686f328e0925f90fe44f6 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Wed Aug 10 12:44:03 2022 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Wed Aug 10 13:37:11 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00852cae
app-emacs/yaml: new package; add version 0.5.1 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> app-emacs/yaml/Manifest | 1 + app-emacs/yaml/files/50yaml-gentoo.el | 1 + app-emacs/yaml/metadata.xml | 18 ++++++++++++++++++ app-emacs/yaml/yaml-0.5.1.ebuild | 25 +++++++++++++++++++++++++ 4 files changed, 45 insertions(+) diff --git a/app-emacs/yaml/Manifest b/app-emacs/yaml/Manifest new file mode 100644 index 000000000000..4035343c164a --- /dev/null +++ b/app-emacs/yaml/Manifest @@ -0,0 +1 @@ +DIST yaml-0.5.1.tar.gz 44335 BLAKE2B dbcaf29d5d0a18e167cf0fd43d5ea0536d3879ed8bc924930c06aa1eedb2c268f91fd2d0c8981ab81f928db82148ad7fbc01a5926b3dd4645ec57cc78bac7256 SHA512 4ed2dc26a87137deb2d06cffac7c9b0748f66a9b05d91e33022da0edee0966b94ac2dfdb5a181628357dd3714ac55cfb48b1a35f9f6352c01d745a1d69131381 diff --git a/app-emacs/yaml/files/50yaml-gentoo.el b/app-emacs/yaml/files/50yaml-gentoo.el new file mode 100644 index 000000000000..431f7e90ae73 --- /dev/null +++ b/app-emacs/yaml/files/50yaml-gentoo.el @@ -0,0 +1 @@ +(add-to-list 'load-path "@SITELISP@") diff --git a/app-emacs/yaml/metadata.xml b/app-emacs/yaml/metadata.xml new file mode 100644 index 000000000000..ebb91ed4f6fa --- /dev/null +++ b/app-emacs/yaml/metadata.xml @@ -0,0 +1,18 @@ +<?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> + <longdescription> + yaml.el is a YAML parser written in Emacs List without any external + dependencies. It provides an interface similar to the Emacs JSON parsing + utility. + </longdescription> + <upstream> + <bugs-to>https://github.com/zkry/yaml.el/issues/</bugs-to> + <remote-id type="github">zkry/yaml.el</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-emacs/yaml/yaml-0.5.1.ebuild b/app-emacs/yaml/yaml-0.5.1.ebuild new file mode 100644 index 000000000000..7e951ead7442 --- /dev/null +++ b/app-emacs/yaml/yaml-0.5.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS=25.1 + +inherit elisp + +DESCRIPTION="YAML parser in Emacs Lisp" +HOMEPAGE="https://github.com/zkry/yaml.el/" +SRC_URI="https://github.com/zkry/yaml.el/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/yaml.el-${PV} + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DOCS=( README.md ) +SITEFILE="50${PN}-gentoo.el" + +src_test() { + # "test/string-inflection-test.el" calls "(ert-run-tests-batch t)" + ${EMACS} ${EMACSFLAGS} -L . -l yaml-tests.el || die +}
