git: 2d55cda1e4cd - main - databases/closql: New port: Store EIEIO objects using EmacSQL
Guangyuan Yang
ygy at FreeBSD.org
Wed Jun 2 03:44:21 UTC 2021
The branch main has been updated by ygy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2d55cda1e4cdd5659f39e3462f018f0b09ffa85c
commit 2d55cda1e4cdd5659f39e3462f018f0b09ffa85c
Author: Yasuhiro Kimura <yasu at utahime.org>
AuthorDate: 2021-06-02 03:44:05 +0000
Commit: Guangyuan Yang <ygy at FreeBSD.org>
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 at 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 <bsd.port.mk>
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
More information about the dev-commits-ports-all
mailing list