From owner-svn-ports-all@freebsd.org Mon Apr 2 21:19:21 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 80ADCF85D18; Mon, 2 Apr 2018 21:19:21 +0000 (UTC) (envelope-from jrm@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 29BEE72632; Mon, 2 Apr 2018 21:19:21 +0000 (UTC) (envelope-from jrm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 17F6F1AFD9; Mon, 2 Apr 2018 21:19:21 +0000 (UTC) (envelope-from jrm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w32LJK03002397; Mon, 2 Apr 2018 21:19:20 GMT (envelope-from jrm@FreeBSD.org) Received: (from jrm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w32LJKOA002392; Mon, 2 Apr 2018 21:19:20 GMT (envelope-from jrm@FreeBSD.org) Message-Id: <201804022119.w32LJKOA002392@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jrm set sender to jrm@FreeBSD.org using -f From: Joseph Mingrone Date: Mon, 2 Apr 2018 21:19:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466263 - in head/devel: . ghub X-SVN-Group: ports-head X-SVN-Commit-Author: jrm X-SVN-Commit-Paths: in head/devel: . ghub X-SVN-Commit-Revision: 466263 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2018 21:19:21 -0000 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 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