1 |
commit: 1eb09752210acf0072911688c4d897b831c1bb19 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 31 06:22:28 2018 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 31 06:22:28 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eb09752 |
7 |
|
8 |
app-emacs/ghub: initial import of 2.0.0 |
9 |
|
10 |
New dependency for forthcoming versions of app-emacs/magit. |
11 |
|
12 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
13 |
|
14 |
app-emacs/ghub/Manifest | 1 + |
15 |
app-emacs/ghub/files/50ghub-gentoo.el | 3 +++ |
16 |
app-emacs/ghub/ghub-2.0.0.ebuild | 21 +++++++++++++++++++++ |
17 |
app-emacs/ghub/metadata.xml | 29 +++++++++++++++++++++++++++++ |
18 |
4 files changed, 54 insertions(+) |
19 |
|
20 |
diff --git a/app-emacs/ghub/Manifest b/app-emacs/ghub/Manifest |
21 |
new file mode 100644 |
22 |
index 00000000000..e84147fe4f4 |
23 |
--- /dev/null |
24 |
+++ b/app-emacs/ghub/Manifest |
25 |
@@ -0,0 +1 @@ |
26 |
+DIST ghub-2.0.0.tar.gz 48150 BLAKE2B b9142f33f92dc08a1d5f3f3467361866b41d0d2c943465e803987a41a7bbba1bc4c7e30c058e6e3899110a57d3e1d49545df01efbceb67711186e6411ebc9a58 SHA512 39e1ac1760e1a8532ee5d6fd29386ccc24d7f0278f6c900d565a709f86ac6acf01ae49a3462b54054d5b0040102db82ea048157a12663c46b0c45fe11f2e86d6 |
27 |
|
28 |
diff --git a/app-emacs/ghub/files/50ghub-gentoo.el b/app-emacs/ghub/files/50ghub-gentoo.el |
29 |
new file mode 100644 |
30 |
index 00000000000..37d6696a3da |
31 |
--- /dev/null |
32 |
+++ b/app-emacs/ghub/files/50ghub-gentoo.el |
33 |
@@ -0,0 +1,3 @@ |
34 |
+(add-to-list 'load-path "@SITELISP@") |
35 |
+(autoload 'ghub-create-token "ghub" nil t) |
36 |
+(autoload 'ghub-token-scopes "ghub" nil t) |
37 |
|
38 |
diff --git a/app-emacs/ghub/ghub-2.0.0.ebuild b/app-emacs/ghub/ghub-2.0.0.ebuild |
39 |
new file mode 100644 |
40 |
index 00000000000..4b577810fe6 |
41 |
--- /dev/null |
42 |
+++ b/app-emacs/ghub/ghub-2.0.0.ebuild |
43 |
@@ -0,0 +1,21 @@ |
44 |
+# Copyright 1999-2018 Gentoo Foundation |
45 |
+# Distributed under the terms of the GNU General Public License v2 |
46 |
+ |
47 |
+EAPI=6 |
48 |
+NEED_EMACS=24 |
49 |
+ |
50 |
+inherit elisp |
51 |
+ |
52 |
+DESCRIPTION="minuscule client library for the Github API" |
53 |
+HOMEPAGE="https://magit.vc/manual/ghub" |
54 |
+SRC_URI="https://github.com/magit/ghub/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
55 |
+ |
56 |
+LICENSE="GPL-3" |
57 |
+SLOT="0" |
58 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
59 |
+ |
60 |
+SITEFILE="50${PN}-gentoo.el" |
61 |
+ELISP_TEXINFO="*.texi" |
62 |
+DOCS="README.md" |
63 |
+ |
64 |
+DEPEND="sys-apps/texinfo" |
65 |
|
66 |
diff --git a/app-emacs/ghub/metadata.xml b/app-emacs/ghub/metadata.xml |
67 |
new file mode 100644 |
68 |
index 00000000000..864702cccea |
69 |
--- /dev/null |
70 |
+++ b/app-emacs/ghub/metadata.xml |
71 |
@@ -0,0 +1,29 @@ |
72 |
+<?xml version="1.0" encoding="UTF-8"?> |
73 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
74 |
+<pkgmetadata> |
75 |
+<maintainer type="project"> |
76 |
+ <email>gnu-emacs@g.o</email> |
77 |
+ <name>Gentoo GNU Emacs project</name> |
78 |
+</maintainer> |
79 |
+<longdescription> |
80 |
+Ghub is a library that provides basic support for using the Github API |
81 |
+from Emacs packages. It abstracts access to API resources using only |
82 |
+a handful of functions that are not resource-specific. |
83 |
+ |
84 |
+Ghub handles the creation, storage and use of access tokens using a |
85 |
+setup wizard to make it easier for users to get started and to reduce |
86 |
+the support burden imposed on package maintainers. It also comes with |
87 |
+a comprehensive manual to address the cases when things don't just |
88 |
+work as expected or in case you don't want to use the wizard. |
89 |
+ |
90 |
+Ghub is intentionally limited to only provide these two essential |
91 |
+features — basic request functions and guided setup — to avoid being |
92 |
+too opinionated, which would hinder wide adoption. It is assumed that |
93 |
+wide adoption would make life easier for users and maintainers alike, |
94 |
+because then all packages that talk to the Github API could be |
95 |
+configured the same way. |
96 |
+</longdescription> |
97 |
+<upstream> |
98 |
+ <remote-id type="github">magit/ghub</remote-id> |
99 |
+</upstream> |
100 |
+</pkgmetadata> |