public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/ghub/, app-emacs/ghub/files/
@ 2018-03-31  6:22 Hans de Graaff
  0 siblings, 0 replies; only message in thread
From: Hans de Graaff @ 2018-03-31  6:22 UTC (permalink / raw
  To: gentoo-commits

commit:     1eb09752210acf0072911688c4d897b831c1bb19
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 31 06:22:28 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Mar 31 06:22:28 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eb09752

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(+)

diff --git a/app-emacs/ghub/Manifest b/app-emacs/ghub/Manifest
new file mode 100644
index 00000000000..e84147fe4f4
--- /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 00000000000..37d6696a3da
--- /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 00000000000..4b577810fe6
--- /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 00000000000..864702cccea
--- /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>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-03-31  6:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-31  6:22 [gentoo-commits] repo/gentoo:master commit in: app-emacs/ghub/, app-emacs/ghub/files/ Hans de Graaff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox