From 1eb09752210acf0072911688c4d897b831c1bb19 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sat, 31 Mar 2018 08:22:28 +0200 Subject: 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 --- app-emacs/ghub/Manifest | 1 + app-emacs/ghub/files/50ghub-gentoo.el | 3 +++ app-emacs/ghub/ghub-2.0.0.ebuild | 21 +++++++++++++++++++++ app-emacs/ghub/metadata.xml | 29 +++++++++++++++++++++++++++++ 4 files changed, 54 insertions(+) create mode 100644 app-emacs/ghub/Manifest create mode 100644 app-emacs/ghub/files/50ghub-gentoo.el create mode 100644 app-emacs/ghub/ghub-2.0.0.ebuild create mode 100644 app-emacs/ghub/metadata.xml (limited to 'app-emacs') 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 @@ + + + + + gnu-emacs@gentoo.org + Gentoo GNU Emacs project + + +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. + + + magit/ghub + + -- cgit v1.2.3-18-g5258