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)
This commit is contained in:
parent
21830c187d
commit
bd2d7975b9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=466263
@ -740,6 +740,7 @@
|
||||
SUBDIR += gettext-runtime
|
||||
SUBDIR += gettext-tools
|
||||
SUBDIR += gflags
|
||||
SUBDIR += ghub
|
||||
SUBDIR += giggle
|
||||
SUBDIR += gindent
|
||||
SUBDIR += gio-sharp
|
||||
|
39
devel/ghub/Makefile
Normal file
39
devel/ghub/Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
# $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>
|
3
devel/ghub/distinfo
Normal file
3
devel/ghub/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1522501604
|
||||
SHA256 (magit-ghub-v2.0.0_GH0.tar.gz) = 6c77664c36258a5af756781c0c8c9cba8f069a001974a8c443422802661f2bff
|
||||
SIZE (magit-ghub-v2.0.0_GH0.tar.gz) = 48150
|
19
devel/ghub/pkg-descr
Normal file
19
devel/ghub/pkg-descr
Normal file
@ -0,0 +1,19 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user