Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2018 21:19:20 +0000 (UTC)
From:      Joseph Mingrone <jrm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r466263 - in head/devel: . ghub
Message-ID:  <201804022119.w32LJKOA002392@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jrm
Date: Mon Apr  2 21:19:20 2018
New Revision: 466263
URL: https://svnweb.freebsd.org/changeset/ports/466263

Log:
  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)

Added:
  head/devel/ghub/
  head/devel/ghub/Makefile   (contents, props changed)
  head/devel/ghub/distinfo   (contents, props changed)
  head/devel/ghub/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile   (contents, props changed)

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Apr  2 20:20:05 2018	(r466262)
+++ head/devel/Makefile	Mon Apr  2 21:19:20 2018	(r466263)
@@ -740,6 +740,7 @@
     SUBDIR += gettext-runtime
     SUBDIR += gettext-tools
     SUBDIR += gflags
+    SUBDIR += ghub
     SUBDIR += giggle
     SUBDIR += gindent
     SUBDIR += gio-sharp

Added: head/devel/ghub/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ghub/Makefile	Mon Apr  2 21:19:20 2018	(r466263)
@@ -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>

Added: head/devel/ghub/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ghub/distinfo	Mon Apr  2 21:19:20 2018	(r466263)
@@ -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

Added: head/devel/ghub/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ghub/pkg-descr	Mon Apr  2 21:19:20 2018	(r466263)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804022119.w32LJKOA002392>