From owner-dev-commits-ports-all@freebsd.org Wed Jun 2 03:44:21 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 8655163872C; Wed, 2 Jun 2021 03:44:21 +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 4Fvvz93PzNz3Qg4; Wed, 2 Jun 2021 03:44:21 +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 5D1E77F0E; Wed, 2 Jun 2021 03:44:21 +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 1523iL7m027052; Wed, 2 Jun 2021 03:44:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1523iLB1027051; Wed, 2 Jun 2021 03:44:21 GMT (envelope-from git) Date: Wed, 2 Jun 2021 03:44:21 GMT Message-Id: <202106020344.1523iLB1027051@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: 2d55cda1e4cd - main - databases/closql: New port: Store EIEIO objects using EmacSQL 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: 2d55cda1e4cdd5659f39e3462f018f0b09ffa85c 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: Wed, 02 Jun 2021 03:44:21 -0000 The branch main has been updated by ygy: URL: https://cgit.FreeBSD.org/ports/commit/?id=2d55cda1e4cdd5659f39e3462f018f0b09ffa85c commit 2d55cda1e4cdd5659f39e3462f018f0b09ffa85c Author: Yasuhiro Kimura AuthorDate: 2021-06-02 03:44:05 +0000 Commit: Guangyuan Yang CommitDate: 2021-06-02 03:44:05 +0000 databases/closql: New port: Store EIEIO objects using EmacSQL PR: 255959 Approved by: lwhsu (mentor) --- databases/Makefile | 1 + databases/closql/Makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++ databases/closql/distinfo | 3 +++ databases/closql/pkg-descr | 7 +++++++ 4 files changed, 55 insertions(+) diff --git a/databases/Makefile b/databases/Makefile index fee0c32a13b2..4b7f8004a2d7 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -37,6 +37,7 @@ SUBDIR += cego SUBDIR += cegobridge SUBDIR += clickhouse + SUBDIR += closql SUBDIR += cockroach SUBDIR += couchdb3 SUBDIR += courier-authlib-mysql diff --git a/databases/closql/Makefile b/databases/closql/Makefile new file mode 100644 index 000000000000..893d83f6a93d --- /dev/null +++ b/databases/closql/Makefile @@ -0,0 +1,44 @@ +PORTNAME= closql +DISTVERSIONPREFIX= v +DISTVERSION= 1.0.5 +CATEGORIES= databases elisp +PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} + +MAINTAINER= yasu@utahime.org +COMMENT= Store EIEIO objects using EmacSQL + +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= emacsql${EMACS_PKGNAMESUFFIX}>=3.0.0:databases/emacsql@${EMACS_FLAVOR} +RUN_DEPENDS= emacsql${EMACS_PKGNAMESUFFIX}>=3.0.0:databases/emacsql@${EMACS_FLAVOR} + +USES= emacs +USE_GITHUB= yes +GH_ACCOUNT= emacscollective + +NO_ARCH= yes + +PLIST_FILES= ${EMACS_VERSION_SITE_LISPDIR}/closql.el \ + ${EMACS_VERSION_SITE_LISPDIR}/closql.elc + +PORTDOCS= README.md + +OPTIONS_DEFINE= DOCS + +do-build: + (cd ${WRKSRC} \ + && ${EMACS_CMD} -Q -batch -L . \ + -L ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/emacsql \ + -f batch-byte-compile closql.el) + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} closql.el* \ + ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}) + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + +.include diff --git a/databases/closql/distinfo b/databases/closql/distinfo new file mode 100644 index 000000000000..352e88d3dafc --- /dev/null +++ b/databases/closql/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1622408340 +SHA256 (emacscollective-closql-v1.0.5_GH0.tar.gz) = d634a5d14ffeee9ee6bb603ab31a7ed3302272834924dd28525017d207c57d68 +SIZE (emacscollective-closql-v1.0.5_GH0.tar.gz) = 20611 diff --git a/databases/closql/pkg-descr b/databases/closql/pkg-descr new file mode 100644 index 000000000000..e6f2d6731b5c --- /dev/null +++ b/databases/closql/pkg-descr @@ -0,0 +1,7 @@ +Store uniform EIEIO objects in an EmacSQL database. SQLite is used as +backend. This library imposes some restrictions on what kind of +objects can be stored; it isn't intended to store arbitrary +objects. All objects have to share a common superclass and subclasses +cannot add any additional instance slots. + +WWW: https://github.com/emacscollective/closql