Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/restclient/, app-emacs/restclient/files/
Date: Tue, 23 Aug 2022 15:22:57
Message-Id: 1661268150.9b7b20aa30283918ea0c385dbacd6723a5e50e8d.xgqt@gentoo
1 commit: 9b7b20aa30283918ea0c385dbacd6723a5e50e8d
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 23 14:01:54 2022 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 23 15:22:30 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b7b20aa
7
8 app-emacs/restclient: new package; add version 0_p20220426
9
10 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
11
12 app-emacs/restclient/Manifest | 1 +
13 app-emacs/restclient/files/50restclient-gentoo.el | 5 ++++
14 app-emacs/restclient/metadata.xml | 18 +++++++++++++++
15 app-emacs/restclient/restclient-0_p20220426.ebuild | 27 ++++++++++++++++++++++
16 4 files changed, 51 insertions(+)
17
18 diff --git a/app-emacs/restclient/Manifest b/app-emacs/restclient/Manifest
19 new file mode 100644
20 index 000000000000..b5ff3087022a
21 --- /dev/null
22 +++ b/app-emacs/restclient/Manifest
23 @@ -0,0 +1 @@
24 +DIST restclient-0_p20220426.tar.gz 14762 BLAKE2B ff11d592cd81fa3bf59b577c18f2060a098a446ca1d103df746a1c1f46b4eb950cfad296cae2219c58bc59c52e287b7f7bc2d28264288cff8fdee5be0a2b868c SHA512 343e1b8761842b85e790a42367bc12e302ccbe2953fd0008c2a20d96444038fdabfdd0fca2e8b664c9d0e835ced252afa35ac67cfc992add47bec131c6badd1c
25
26 diff --git a/app-emacs/restclient/files/50restclient-gentoo.el b/app-emacs/restclient/files/50restclient-gentoo.el
27 new file mode 100644
28 index 000000000000..195168b5bf70
29 --- /dev/null
30 +++ b/app-emacs/restclient/files/50restclient-gentoo.el
31 @@ -0,0 +1,5 @@
32 +(add-to-list 'load-path "@SITELISP@")
33 +(autoload 'restclient-mode "restclient"
34 + "Turn on restclient mode." t)
35 +(autoload 'helm-restclient "restclient-helm"
36 + "Helm for Restclient." t)
37
38 diff --git a/app-emacs/restclient/metadata.xml b/app-emacs/restclient/metadata.xml
39 new file mode 100644
40 index 000000000000..dbc894047887
41 --- /dev/null
42 +++ b/app-emacs/restclient/metadata.xml
43 @@ -0,0 +1,18 @@
44 +<?xml version="1.0" encoding="UTF-8"?>
45 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
46 +
47 +<pkgmetadata>
48 + <maintainer type="project">
49 + <email>gnu-emacs@g.o</email>
50 + <name>Gentoo GNU Emacs project</name>
51 + </maintainer>
52 + <longdescription>
53 + This is a tool to manually explore and test HTTP REST webservices. Runs
54 + queries from a plain-text query sheet, displays results as a pretty-printed
55 + XML, JSON and even images.
56 + </longdescription>
57 + <upstream>
58 + <bugs-to>https://github.com/pashky/restclient.el/issues/</bugs-to>
59 + <remote-id type="github">pashky/restclient.el</remote-id>
60 + </upstream>
61 +</pkgmetadata>
62
63 diff --git a/app-emacs/restclient/restclient-0_p20220426.ebuild b/app-emacs/restclient/restclient-0_p20220426.ebuild
64 new file mode 100644
65 index 000000000000..52c1e985c9f5
66 --- /dev/null
67 +++ b/app-emacs/restclient/restclient-0_p20220426.ebuild
68 @@ -0,0 +1,27 @@
69 +# Copyright 1999-2022 Gentoo Authors
70 +# Distributed under the terms of the GNU General Public License v2
71 +
72 +EAPI=8
73 +
74 +H=ae79e7dd283890072da69b8f48aeec1afd0d9442
75 +NEED_EMACS=24.4
76 +
77 +inherit elisp
78 +
79 +DESCRIPTION="HTTP REST client tool for GNU Emacs"
80 +HOMEPAGE="https://github.com/pashky/restclient.el/"
81 +SRC_URI="https://github.com/pashky/${PN}.el/archive/${H}.tar.gz -> ${P}.tar.gz"
82 +S="${WORKDIR}"/${PN}.el-${H}
83 +
84 +LICENSE="public-domain"
85 +SLOT="0"
86 +KEYWORDS="~amd64 ~x86"
87 +
88 +RDEPEND="
89 + app-emacs/helm
90 + app-emacs/jq-mode
91 +"
92 +BDEPEND="${RDEPEND}"
93 +
94 +DOCS=( README.md examples )
95 +SITEFILE="50${PN}-gentoo.el"