summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-03-31 08:22:28 +0200
committerHans de Graaff <graaff@gentoo.org>2018-03-31 08:22:28 +0200
commit1eb09752210acf0072911688c4d897b831c1bb19 (patch)
treebc6461608fe52b917be598092af2fd72660065e0 /app-emacs
parentdev-ruby/charlock_holmes: add 0.7.6 (diff)
downloadgentoo-1eb09752210acf0072911688c4d897b831c1bb19.tar.gz
gentoo-1eb09752210acf0072911688c4d897b831c1bb19.tar.bz2
gentoo-1eb09752210acf0072911688c4d897b831c1bb19.zip
app-emacs/ghub: initial import of 2.0.0
New dependency for forthcoming versions of app-emacs/magit. Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/ghub/Manifest1
-rw-r--r--app-emacs/ghub/files/50ghub-gentoo.el3
-rw-r--r--app-emacs/ghub/ghub-2.0.0.ebuild21
-rw-r--r--app-emacs/ghub/metadata.xml29
4 files changed, 54 insertions, 0 deletions
diff --git a/app-emacs/ghub/Manifest b/app-emacs/ghub/Manifest
new file mode 100644
index 000000000000..e84147fe4f42
--- /dev/null
+++ b/app-emacs/ghub/Manifest
@@ -0,0 +1 @@
+DIST ghub-2.0.0.tar.gz 48150 BLAKE2B b9142f33f92dc08a1d5f3f3467361866b41d0d2c943465e803987a41a7bbba1bc4c7e30c058e6e3899110a57d3e1d49545df01efbceb67711186e6411ebc9a58 SHA512 39e1ac1760e1a8532ee5d6fd29386ccc24d7f0278f6c900d565a709f86ac6acf01ae49a3462b54054d5b0040102db82ea048157a12663c46b0c45fe11f2e86d6
diff --git a/app-emacs/ghub/files/50ghub-gentoo.el b/app-emacs/ghub/files/50ghub-gentoo.el
new file mode 100644
index 000000000000..37d6696a3da1
--- /dev/null
+++ b/app-emacs/ghub/files/50ghub-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'ghub-create-token "ghub" nil t)
+(autoload 'ghub-token-scopes "ghub" nil t)
diff --git a/app-emacs/ghub/ghub-2.0.0.ebuild b/app-emacs/ghub/ghub-2.0.0.ebuild
new file mode 100644
index 000000000000..4b577810fe60
--- /dev/null
+++ b/app-emacs/ghub/ghub-2.0.0.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+NEED_EMACS=24
+
+inherit elisp
+
+DESCRIPTION="minuscule client library for the Github API"
+HOMEPAGE="https://magit.vc/manual/ghub"
+SRC_URI="https://github.com/magit/ghub/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+SITEFILE="50${PN}-gentoo.el"
+ELISP_TEXINFO="*.texi"
+DOCS="README.md"
+
+DEPEND="sys-apps/texinfo"
diff --git a/app-emacs/ghub/metadata.xml b/app-emacs/ghub/metadata.xml
new file mode 100644
index 000000000000..864702cccea5
--- /dev/null
+++ b/app-emacs/ghub/metadata.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+</maintainer>
+<longdescription>
+Ghub is a library that provides basic support for using the Github API
+from Emacs packages. It abstracts access to API resources using only
+a handful of functions that are not resource-specific.
+
+Ghub handles the creation, storage and use of access tokens using a
+setup wizard to make it easier for users to get started and to reduce
+the support burden imposed on package maintainers. It also comes with
+a comprehensive manual to address the cases when things don't just
+work as expected or in case you don't want to use the wizard.
+
+Ghub is intentionally limited to only provide these two essential
+features — basic request functions and guided setup — to avoid being
+too opinionated, which would hinder wide adoption. It is assumed that
+wide adoption would make life easier for users and maintainers alike,
+because then all packages that talk to the Github API could be
+configured the same way.
+</longdescription>
+<upstream>
+ <remote-id type="github">magit/ghub</remote-id>
+</upstream>
+</pkgmetadata>