Commit f6b7c99a authored by jrm's avatar jrm
Browse files

New port, devel/ghub: Minuscule client library for the Github API

WWW: https://github.com/magit/ghub

PR:		227135
Submitted by:	yasu@utahime.org (maintainer)
parent 0d14096a
......@@ -740,6 +740,7 @@
SUBDIR += gettext-runtime
SUBDIR += gettext-tools
SUBDIR += gflags
SUBDIR += ghub
SUBDIR += giggle
SUBDIR += gindent
SUBDIR += gio-sharp
......
# $FreeBSD$
PORTNAME= ghub
PORTVERSION= 2.0.0
DISTVERSIONPREFIX= v
CATEGORIES= devel elisp
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= yasu@utahime.org
COMMENT= Minuscule client library for the Github API
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= emacs gmake makeinfo
USE_GITHUB= yes
GH_ACCOUNT= magit
INFO= ghub
NO_ARCH= yes
PORTDOCS= README.md
PLIST_FILES= ${EMACS_VERSION_SITE_LISPDIR}/ghub.el \
${EMACS_VERSION_SITE_LISPDIR}/ghub.elc \
${EMACS_VERSION_SITE_LISPDIR}/ghub-autoloads.el
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
${INSTALL_DATA} ${WRKSRC}/ghub*.el* \
${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
TIMESTAMP = 1522501604
SHA256 (magit-ghub-v2.0.0_GH0.tar.gz) = 6c77664c36258a5af756781c0c8c9cba8f069a001974a8c443422802661f2bff
SIZE (magit-ghub-v2.0.0_GH0.tar.gz) = 48150
Ghub is a library that provides basic support for using the Github
REST (v3) and GraphQL (v4) APIs 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.
WWW: https://github.com/magit/ghub
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment