Browse Source

databases/closql: New port: Store EIEIO objects using EmacSQL

PR:		255959
Approved by:	lwhsu (mentor)
main
Yasuhiro Kimura 2 weeks ago
committed by Guangyuan Yang
parent
commit
2d55cda1e4
  1. 1
      databases/Makefile
  2. 44
      databases/closql/Makefile
  3. 3
      databases/closql/distinfo
  4. 7
      databases/closql/pkg-descr

1
databases/Makefile

@ -37,6 +37,7 @@
SUBDIR += cego
SUBDIR += cegobridge
SUBDIR += clickhouse
SUBDIR += closql
SUBDIR += cockroach
SUBDIR += couchdb3
SUBDIR += courier-authlib-mysql

44
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>

3
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

7
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
Loading…
Cancel
Save