diff options
author | Yasuhiro Kimura <yasu@utahime.org> | 2021-06-02 03:44:05 +0000 |
---|---|---|
committer | Guangyuan Yang <ygy@FreeBSD.org> | 2021-06-02 03:44:05 +0000 |
commit | 2d55cda1e4cdd5659f39e3462f018f0b09ffa85c (patch) | |
tree | fa062534ef8f91181e3eaf93d166a8a12050b8fa | |
parent | 3d68b6d1c6afd273a3acb00e41f9c4db7858f93a (diff) | |
download | ports-2d55cda1e4cdd5659f39e3462f018f0b09ffa85c.tar.gz ports-2d55cda1e4cdd5659f39e3462f018f0b09ffa85c.zip |
databases/closql: New port: Store EIEIO objects using EmacSQL
PR: 255959
Approved by: lwhsu (mentor)
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/closql/Makefile | 44 | ||||
-rw-r--r-- | databases/closql/distinfo | 3 | ||||
-rw-r--r-- | databases/closql/pkg-descr | 7 |
4 files changed, 55 insertions, 0 deletions
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 <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 |