From nobody Mon Aug 01 16:19:32 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4LxNcN5Wlvz4Wx6b; Mon, 1 Aug 2022 16:19:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LxNcN54qvz3V54; Mon, 1 Aug 2022 16:19:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659370772; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=v4NxUPfSCEu6tnIAdBZige+xpb+czKVClpmu3eGHXUI=; b=dR1mtjW9zeAvLrkH7aMqE9bBRa2BfZoYqzzCbyGgeZFfFTKREEYRkhOxlvNO5S2Ctxq2vi v9AB8wkUiCUSXVSqHVb6awS1JKxxcxXyeuWV6IqRTcY5GuzahW+nYm63AnKg66MuhWmMs1 NxYEHFPj709lExnA64phNWeHSzoPSb3/53Jap0BWAhOLSU6cvvdqI8zeNahpkudDoffoIu A1j7Cw0dBniAp7ZRFTn5kCFhtY7MwdNnCQME88sferDUI5/tkZ0yDmDlREr2WfmRYqfqWI iMf+MzpC8vlb+oaASxpP51d4fmPZ74ekVqSdfQN+uCfIi+VAPXcz4DpCB+6EoA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LxNcN47nyzft7; Mon, 1 Aug 2022 16:19:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 271GJWA7087629; Mon, 1 Aug 2022 16:19:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 271GJWmg087628; Mon, 1 Aug 2022 16:19:32 GMT (envelope-from git) Date: Mon, 1 Aug 2022 16:19:32 GMT Message-Id: <202208011619.271GJWmg087628@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yasuhiro Kimura Subject: git: 9ada097d0bf6 - main - devel/ghub-devel: Add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yasu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9ada097d0bf6b8932d6073c49fd59b5cb4159e1b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659370772; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=v4NxUPfSCEu6tnIAdBZige+xpb+czKVClpmu3eGHXUI=; b=E1wtVjQX0Cu8xZ/t2NpGpByLoQOGQ/3CvBuj8aDjIyiZlZSwlvL+r3dGLhmdAnDU6t56OC vgMv++8w8QzYv9DJf0KEWqyG8NRhThtlQrCg7GV/wtdD2KzwpcDl96YYD/X3LAXMACj9BF kK/3XC8wCT7TNzTgkfyr8Y35+lwwgZ9nuxWF0tj+72OfTv8voaswF3BHyevPSPL8jUBEoi bitvt1rq5p0dca/GZRePsAxdlGrlfXb+nU1ydO3OobrqPoVijOjZqsLld5jX0kKhiVbswY fmgd2ZcRg+U6+A9yiM2dIaKnQHyoB0/x+LihX+w7Z0Ye8hXAZarlwbjtM+uLRA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659370772; a=rsa-sha256; cv=none; b=JXJKc8V8glwjd5iq/miEcyk8LcZw3SHNMiYS8P+rERvgmZ5bxk9ZIkA9q8jyDoBmyMa5bq KeBxveOMeI7LXWdRtxgZnyN3/Fl3LYMoUsyEHWnawRb74JqLCJManbvLjuwzWWDTmXqMjU lujXOc8svv3cHnTZIQTDdzKQtXPp0seU1Y3PpyV8lf6aJ1lbf5OaNYGJBUMaQLTaRgieaZ n/3eGUtQj/TfZt08GxY+SiN2jxJarrTYnvk+QJNH+RYue2wub31iOxcOCizcGReW+bd43t CrLQwri4wV6Q3tiDyxtYY54Z0Fhb1FoKcg5skOw3Idi+0pyC9hu+KC78EkveDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=9ada097d0bf6b8932d6073c49fd59b5cb4159e1b commit 9ada097d0bf6b8932d6073c49fd59b5cb4159e1b Author: Yasuhiro Kimura AuthorDate: 2022-08-01 10:34:59 +0000 Commit: Yasuhiro Kimura CommitDate: 2022-08-01 16:13:03 +0000 devel/ghub-devel: Add new port Add devel/ghub-devel, development version of client libraries for the APIs of various Git forges. https://github.com/magit/ghub --- devel/Makefile | 1 + devel/ghub-devel/Makefile | 64 ++++++++++++++++++++++++++++++++++++++++++++++ devel/ghub-devel/distinfo | 3 +++ devel/ghub-devel/pkg-descr | 19 ++++++++++++++ devel/ghub-devel/pkg-plist | 15 +++++++++++ devel/ghub/Makefile | 2 ++ 6 files changed, 104 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 200d075b6753..1e7d62e70de7 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -776,6 +776,7 @@ SUBDIR += ghidra SUBDIR += ghq SUBDIR += ghub + SUBDIR += ghub-devel SUBDIR += gindent SUBDIR += gio-sharp SUBDIR += git diff --git a/devel/ghub-devel/Makefile b/devel/ghub-devel/Makefile new file mode 100644 index 000000000000..1f510c5734ba --- /dev/null +++ b/devel/ghub-devel/Makefile @@ -0,0 +1,64 @@ +PORTNAME= ghub +DISTVERSIONPREFIX= v +DISTVERSION= 3.5.6-33 +DISTVERSIONSUFFIX= -g94f5aa2 +CATEGORIES= devel elisp +PKGNAMESUFFIX= -devel${EMACS_PKGNAMESUFFIX} + +MAINTAINER= yasu@FreeBSD.org +COMMENT= Client libraries for the APIs of various Git forges + +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= compat.el${EMACS_PKGNAMESUFFIX}>=28.1.1.0:misc/compat.el@${EMACS_FLAVOR} \ + treepy.el${EMACS_PKGNAMESUFFIX}>=0.1.1:devel/treepy.el@${EMACS_FLAVOR} +RUN_DEPENDS= compat.el${EMACS_PKGNAMESUFFIX}>=28.1.1.0:misc/compat.el@${EMACS_FLAVOR} \ + treepy.el${EMACS_PKGNAMESUFFIX}>=0.1.1:devel/treepy.el@${EMACS_FLAVOR} + +USES= emacs gmake makeinfo +USE_GITHUB= yes +GH_ACCOUNT= magit + +MAKE_ARGS= LOAD_PATH="-L ${PREFIX}/${EMACS_SITE_LISPDIR} -L ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} -L ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/compat -L ." +ALL_TARGET= lisp info + +CONFLICTS_INSTALL= ghub-emacs* + +NO_ARCH= yes + +INFO= ghub +PORTDOCS= CHANGELOG README.org ghub.html + +OPTIONS_DEFINE= DOCS PDF + +PDF_DESC= Build and install PDF document + +DOCS_BUILD_DEPENDS= gsed:textproc/gsed +DOCS_ALL_TARGET= html +DOCS_BINARY_ALIAS= sed=gsed +PDF_BUILD_DEPENDS= texi2pdf:print/texinfo +PDF_USE= TEX=dvipdfmx:build +PDF_ALL_TARGET= pdf +PDF_PLIST_FILES= ${DOCSDIR}/ghub.pdf + +ELISP_FILES= buck.el buck.elc ghub-autoloads.el ghub-graphql.el \ + ghub-graphql.elc ghub.el ghub.elc glab.el glab.elc gogs.el \ + gogs.elc gsexp.el gsexp.elc gtea.el gtea.elc + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME} + ${INSTALL_DATA} ${ELISP_FILES:C/^/${WRKSRC}\/lisp\//} \ + ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/docs/*.info ${STAGEDIR}${PREFIX}/${INFO_PATH} + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${WRKSRC}/README.org \ + ${WRKSRC}/docs/ghub.html ${STAGEDIR}${DOCSDIR} + +do-install-PDF-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/ghub.pdf ${STAGEDIR}${DOCSDIR} + +.include diff --git a/devel/ghub-devel/distinfo b/devel/ghub-devel/distinfo new file mode 100644 index 000000000000..da9d0d6b133c --- /dev/null +++ b/devel/ghub-devel/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1659350355 +SHA256 (magit-ghub-v3.5.6-33-g94f5aa2_GH0.tar.gz) = ce99027a5783ae85557535e8ca251de14845143887cf3ddfeb384550437fbee2 +SIZE (magit-ghub-v3.5.6-33-g94f5aa2_GH0.tar.gz) = 62306 diff --git a/devel/ghub-devel/pkg-descr b/devel/ghub-devel/pkg-descr new file mode 100644 index 000000000000..1117508cb34f --- /dev/null +++ b/devel/ghub-devel/pkg-descr @@ -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 diff --git a/devel/ghub-devel/pkg-plist b/devel/ghub-devel/pkg-plist new file mode 100644 index 000000000000..361c139c979c --- /dev/null +++ b/devel/ghub-devel/pkg-plist @@ -0,0 +1,15 @@ +%%EMACS_VERSION_SITE_LISPDIR%%/ghub/buck.el +%%EMACS_VERSION_SITE_LISPDIR%%/ghub/buck.elc +%%EMACS_VERSION_SITE_LISPDIR%%/ghub/ghub-autoloads.el +%%EMACS_VERSION_SITE_LISPDIR%%/ghub/ghub-graphql.el +%%EMACS_VERSION_SITE_LISPDIR%%/ghub/ghub-graphql.elc +%%EMACS_VERSION_SITE_LISPDIR%%/ghub/ghub.el +%%EMACS_VERSION_SITE_LISPDIR%%/ghub/ghub.elc +%%EMACS_VERSION_SITE_LISPDIR%%/ghub/glab.el +%%EMACS_VERSION_SITE_LISPDIR%%/ghub/glab.elc +%%EMACS_VERSION_SITE_LISPDIR%%/ghub/gogs.el +%%EMACS_VERSION_SITE_LISPDIR%%/ghub/gogs.elc +%%EMACS_VERSION_SITE_LISPDIR%%/ghub/gsexp.el +%%EMACS_VERSION_SITE_LISPDIR%%/ghub/gsexp.elc +%%EMACS_VERSION_SITE_LISPDIR%%/ghub/gtea.el +%%EMACS_VERSION_SITE_LISPDIR%%/ghub/gtea.elc diff --git a/devel/ghub/Makefile b/devel/ghub/Makefile index a7df54301633..7df6f8212b34 100644 --- a/devel/ghub/Makefile +++ b/devel/ghub/Makefile @@ -21,6 +21,8 @@ GH_ACCOUNT= magit MAKE_ARGS= LOAD_PATH="-L ${PREFIX}/${EMACS_SITE_LISPDIR} -L ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} -L ." ALL_TARGET= lisp info +CONFLICTS_INSTALL= ghub-emacs* + NO_ARCH= yes INFO= ghub