commit:     9b7b20aa30283918ea0c385dbacd6723a5e50e8d
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 23 14:01:54 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Aug 23 15:22:30 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b7b20aa

app-emacs/restclient: new package; add version 0_p20220426

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/restclient/Manifest                      |  1 +
 app-emacs/restclient/files/50restclient-gentoo.el  |  5 ++++
 app-emacs/restclient/metadata.xml                  | 18 +++++++++++++++
 app-emacs/restclient/restclient-0_p20220426.ebuild | 27 ++++++++++++++++++++++
 4 files changed, 51 insertions(+)

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>[email protected]</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"

Reply via email to