diff options
author | Maciej Barć <xgqt@gentoo.org> | 2022-08-23 16:01:54 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2022-08-23 17:22:30 +0200 |
commit | 9b7b20aa30283918ea0c385dbacd6723a5e50e8d (patch) | |
tree | 425232495aeffafa7dc83109070f64e6fe79ac0c /app-emacs | |
parent | app-text/pandoc-bin: drop old 2.18 (diff) | |
download | gentoo-9b7b20aa30283918ea0c385dbacd6723a5e50e8d.tar.gz gentoo-9b7b20aa30283918ea0c385dbacd6723a5e50e8d.tar.bz2 gentoo-9b7b20aa30283918ea0c385dbacd6723a5e50e8d.zip |
app-emacs/restclient: new package; add version 0_p20220426
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/restclient/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/restclient/files/50restclient-gentoo.el | 5 | ||||
-rw-r--r-- | app-emacs/restclient/metadata.xml | 18 | ||||
-rw-r--r-- | app-emacs/restclient/restclient-0_p20220426.ebuild | 27 |
4 files changed, 51 insertions, 0 deletions
diff --git a/app-emacs/restclient/Manifest b/app-emacs/restclient/Manifest new file mode 100644 index 000000000000..b5ff3087022a --- /dev/null +++ b/app-emacs/restclient/Manifest @@ -0,0 +1 @@ +DIST restclient-0_p20220426.tar.gz 14762 BLAKE2B ff11d592cd81fa3bf59b577c18f2060a098a446ca1d103df746a1c1f46b4eb950cfad296cae2219c58bc59c52e287b7f7bc2d28264288cff8fdee5be0a2b868c SHA512 343e1b8761842b85e790a42367bc12e302ccbe2953fd0008c2a20d96444038fdabfdd0fca2e8b664c9d0e835ced252afa35ac67cfc992add47bec131c6badd1c diff --git a/app-emacs/restclient/files/50restclient-gentoo.el b/app-emacs/restclient/files/50restclient-gentoo.el new file mode 100644 index 000000000000..195168b5bf70 --- /dev/null +++ b/app-emacs/restclient/files/50restclient-gentoo.el @@ -0,0 +1,5 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'restclient-mode "restclient" + "Turn on restclient mode." t) +(autoload 'helm-restclient "restclient-helm" + "Helm for Restclient." t) diff --git a/app-emacs/restclient/metadata.xml b/app-emacs/restclient/metadata.xml new file mode 100644 index 000000000000..dbc894047887 --- /dev/null +++ b/app-emacs/restclient/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>gnu-emacs@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> + </maintainer> + <longdescription> + This is a tool to manually explore and test HTTP REST webservices. Runs + queries from a plain-text query sheet, displays results as a pretty-printed + XML, JSON and even images. + </longdescription> + <upstream> + <bugs-to>https://github.com/pashky/restclient.el/issues/</bugs-to> + <remote-id type="github">pashky/restclient.el</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-emacs/restclient/restclient-0_p20220426.ebuild b/app-emacs/restclient/restclient-0_p20220426.ebuild new file mode 100644 index 000000000000..52c1e985c9f5 --- /dev/null +++ b/app-emacs/restclient/restclient-0_p20220426.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +H=ae79e7dd283890072da69b8f48aeec1afd0d9442 +NEED_EMACS=24.4 + +inherit elisp + +DESCRIPTION="HTTP REST client tool for GNU Emacs" +HOMEPAGE="https://github.com/pashky/restclient.el/" +SRC_URI="https://github.com/pashky/${PN}.el/archive/${H}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/${PN}.el-${H} + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + app-emacs/helm + app-emacs/jq-mode +" +BDEPEND="${RDEPEND}" + +DOCS=( README.md examples ) +SITEFILE="50${PN}-gentoo.el" |