From owner-dev-commits-ports-all@freebsd.org Fri Jul 2 16:42:37 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D63CA66F104; Fri, 2 Jul 2021 16:42:37 +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 4GGgqK4LHyz4t8q; Fri, 2 Jul 2021 16:42:37 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 7E04C175DC; Fri, 2 Jul 2021 16:42:37 +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 162Ggb0g083516; Fri, 2 Jul 2021 16:42:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 162Ggbcs083515; Fri, 2 Jul 2021 16:42:37 GMT (envelope-from git) Date: Fri, 2 Jul 2021 16:42:37 GMT Message-Id: <202107021642.162Ggbcs083515@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Guangyuan Yang Subject: git: 9c1d97c77ba5 - main - devel/forge-devel: New port MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ygy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9c1d97c77ba5f47bcfbe1f0d4740751e08bd2a45 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jul 2021 16:42:37 -0000 The branch main has been updated by ygy: URL: https://cgit.FreeBSD.org/ports/commit/?id=9c1d97c77ba5f47bcfbe1f0d4740751e08bd2a45 commit 9c1d97c77ba5f47bcfbe1f0d4740751e08bd2a45 Author: Yasuhiro Kimura AuthorDate: 2021-07-02 16:42:18 +0000 Commit: Guangyuan Yang CommitDate: 2021-07-02 16:42:18 +0000 devel/forge-devel: New port Work with Git forges from the comfort of Magit (Development Version). PR: 255962 Approved by: lwhsu (mentor) --- devel/Makefile | 1 + devel/forge-devel/Makefile | 55 +++++++++++++++++++++++++++++++++++++++++++++ devel/forge-devel/distinfo | 3 +++ devel/forge-devel/pkg-descr | 10 +++++++++ devel/forge-devel/pkg-plist | 37 ++++++++++++++++++++++++++++++ 5 files changed, 106 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index fe91fd1b9869..c63b150d8e07 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -669,6 +669,7 @@ SUBDIR += fnccheck SUBDIR += folly SUBDIR += forge + SUBDIR += forge-devel SUBDIR += fortran-utils SUBDIR += fortytwo-encore SUBDIR += fossil diff --git a/devel/forge-devel/Makefile b/devel/forge-devel/Makefile new file mode 100644 index 000000000000..20b1496da34e --- /dev/null +++ b/devel/forge-devel/Makefile @@ -0,0 +1,55 @@ +PORTNAME= forge +DISTVERSIONPREFIX= v +DISTVERSION= 0.2.1-7 +DISTVERSIONSUFFIX= -g84ef3a7 +CATEGORIES= devel elisp +PKGNAMESUFFIX= -devel${EMACS_PKGNAMESUFFIX} + +MAINTAINER= yasu@utahime.org +COMMENT= Work with Git forges from the comfort of Magit (Development Version) + +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= closql${EMACS_PKGNAMESUFFIX}>=1.0.0:databases/closql@${EMACS_FLAVOR} \ + magit-devel${EMACS_PKGNAMESUFFIX}>=2.90.1:devel/magit-devel@${EMACS_FLAVOR} \ + markdown-mode.el${EMACS_PKGNAMESUFFIX}>=2.3:textproc/markdown-mode.el@${EMACS_FLAVOR} \ + yaml.el${EMACS_PKGNAMESUFFIX}>=0.3.3:textproc/yaml.el@${EMACS_FLAVOR} +RUN_DEPENDS= closql${EMACS_PKGNAMESUFFIX}>=1.0.0:databases/closql@${EMACS_FLAVOR} \ + magit-devel${EMACS_PKGNAMESUFFIX}>=2.90.1:devel/magit-devel@${EMACS_FLAVOR} \ + markdown-mode.el${EMACS_PKGNAMESUFFIX}>=2.3:textproc/markdown-mode.el@${EMACS_FLAVOR} \ + yaml.el${EMACS_PKGNAMESUFFIX}>=0.3.3:textproc/yaml.el@${EMACS_FLAVOR} + +USES= emacs gmake makeinfo +USE_GITHUB= yes +GH_ACCOUNT= magit + +MAKE_ENV+= INSTALL_INFO=install-info \ + LOAD_PATH="${_LOAD_PATH}" +ALL_TARGET= lisp info + +CONFLICTS= forge-emacs* + +INFO= forge +PORTDOCS= README.md + +OPTIONS_DEFINE= DOCS + +_LOAD_PATH= -L ${PREFIX}/${EMACS_SITE_LISPDIR} -L \ + ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} -L \ + ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/closql -L \ + ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/emacsql -L \ + ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/ghub -L \ + ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/magit + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/lisp/*.el* \ + ${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}/README.md ${STAGEDIR}${DOCSDIR} + +.include diff --git a/devel/forge-devel/distinfo b/devel/forge-devel/distinfo new file mode 100644 index 000000000000..2dcb17cb6935 --- /dev/null +++ b/devel/forge-devel/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1624917115 +SHA256 (magit-forge-v0.2.1-7-g84ef3a7_GH0.tar.gz) = 215febc6a84dd90638a2cd63bbb0b671119af66c4cececfcb60202f84bbef755 +SIZE (magit-forge-v0.2.1-7-g84ef3a7_GH0.tar.gz) = 89416 diff --git a/devel/forge-devel/pkg-descr b/devel/forge-devel/pkg-descr new file mode 100644 index 000000000000..be4b06432841 --- /dev/null +++ b/devel/forge-devel/pkg-descr @@ -0,0 +1,10 @@ +Forge allows you to work with Git forges, such as Github and Gitlab, +from the comfort of Magit and the rest of Emacs. + +Forge fetches issues, pull-requests and other data using the forge's +API and stores that in a local database. Additionally it fetches the +pull-request references using Git. Forge implements various features +that use this data but the database and pull-request refs can also be +used by third-party packages. + +WWW: https://github.com/magit/forge diff --git a/devel/forge-devel/pkg-plist b/devel/forge-devel/pkg-plist new file mode 100644 index 000000000000..1158b77cdf44 --- /dev/null +++ b/devel/forge-devel/pkg-plist @@ -0,0 +1,37 @@ +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-autoloads.el +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-bitbucket.el +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-bitbucket.elc +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-commands.el +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-commands.elc +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-core.el +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-core.elc +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-db.el +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-db.elc +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-gitea.el +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-gitea.elc +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-github.el +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-github.elc +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-gitlab.el +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-gitlab.elc +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-gogs.el +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-gogs.elc +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-issue.el +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-issue.elc +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-list.el +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-list.elc +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-notify.el +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-notify.elc +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-post.el +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-post.elc +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-pullreq.el +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-pullreq.elc +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-repo.el +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-repo.elc +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-revnote.el +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-revnote.elc +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-semi.el +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-semi.elc +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-topic.el +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-topic.elc +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge.el +%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge.elc