From owner-dev-commits-ports-all@freebsd.org Tue Jun 1 07:32:46 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 DEC1E650136; Tue, 1 Jun 2021 07:32:46 +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 4FvP5B5P3Fz3n5n; Tue, 1 Jun 2021 07:32:46 +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 935B11F7E0; Tue, 1 Jun 2021 07:32:46 +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 1517WkIY018128; Tue, 1 Jun 2021 07:32:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1517WkcF018127; Tue, 1 Jun 2021 07:32:46 GMT (envelope-from git) Date: Tue, 1 Jun 2021 07:32:46 GMT Message-Id: <202106010732.1517WkcF018127@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: 8c5327da384a - main - databases/pg.el: New port: PostgreSQL Elisp interface 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: 8c5327da384adacda9e6b76344237cdcb0023528 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: Tue, 01 Jun 2021 07:32:47 -0000 The branch main has been updated by ygy: URL: https://cgit.FreeBSD.org/ports/commit/?id=8c5327da384adacda9e6b76344237cdcb0023528 commit 8c5327da384adacda9e6b76344237cdcb0023528 Author: Yasuhiro Kimura AuthorDate: 2021-06-01 07:31:31 +0000 Commit: Guangyuan Yang CommitDate: 2021-06-01 07:31:31 +0000 databases/pg.el: New port: PostgreSQL Elisp interface PR: 255951 Approved by: lwhsu (mentor) --- databases/Makefile | 1 + databases/pg.el/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ databases/pg.el/distinfo | 3 +++ databases/pg.el/pkg-descr | 9 +++++++++ 4 files changed, 52 insertions(+) diff --git a/databases/Makefile b/databases/Makefile index 5af88681127e..f0fc592b26dc 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -558,6 +558,7 @@ SUBDIR += percona57-client SUBDIR += percona57-pam-for-mysql SUBDIR += percona57-server + SUBDIR += pg.el SUBDIR += pgFormatter SUBDIR += pg_activity SUBDIR += pg_citus diff --git a/databases/pg.el/Makefile b/databases/pg.el/Makefile new file mode 100644 index 000000000000..a42761e3ebae --- /dev/null +++ b/databases/pg.el/Makefile @@ -0,0 +1,39 @@ +PORTNAME= pg.el +DISTVERSION= 0.13 +CATEGORIES= databases elisp +PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} + +MAINTAINER= yasu@utahime.org +COMMENT= PostgreSQL Elisp interface + +LICENSE= GPLv2+ + +USES= emacs + +USE_GITHUB= yes +GH_ACCOUNT= cbbrowne +GH_TAGNAME= 4f6516e + +NO_ARCH= yes + +PLIST_FILES= ${EMACS_VERSION_SITE_LISPDIR}/pg.el \ + ${EMACS_VERSION_SITE_LISPDIR}/pg.elc + +PORTDOCS= README + +OPTIONS_DEFINE= DOCS + +do-build: + (cd ${WRKSRC} \ + && ${EMACS_CMD} -Q -batch -L . -f batch-byte-compile *.el) + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} *.el* \ + ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}) + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + +.include diff --git a/databases/pg.el/distinfo b/databases/pg.el/distinfo new file mode 100644 index 000000000000..95f6ff3bd11f --- /dev/null +++ b/databases/pg.el/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1621273465 +SHA256 (cbbrowne-pg.el-0.13-4f6516e_GH0.tar.gz) = d040b0783c4700bd07b8cea803fb1da6e202979acbeeeea127cbe17784eafa6e +SIZE (cbbrowne-pg.el-0.13-4f6516e_GH0.tar.gz) = 15299 diff --git a/databases/pg.el/pkg-descr b/databases/pg.el/pkg-descr new file mode 100644 index 000000000000..a5a87c95b434 --- /dev/null +++ b/databases/pg.el/pkg-descr @@ -0,0 +1,9 @@ +This is an Emacs Lisp interface for PostgreSQL. + +This module lets you access the PostgreSQL object-relational DBMS from +Emacs, using its socket-level frontend/backend protocol. The module is +capable of automatic type coercions from a range of SQL types to the +equivalent Emacs Lisp type. This is a low level API, and won't be +useful to end users. + +WWW: https://github.com/cbbrowne/pg.el