svn commit: r553357 - in head/databases: . cutelyst-asql
Adriaan de Groot
adridg at FreeBSD.org
Mon Oct 26 15:36:39 UTC 2020
Author: adridg
Date: Mon Oct 26 15:36:38 2020
New Revision: 553357
URL: https://svnweb.freebsd.org/changeset/ports/553357
Log:
New port: database/cutelyst-asql
asql is an asynchronous, C++11-native, Qt5 based SQL Query library.
You can use it to write async queries with natural C++-lambda
and Qt5-slots style code.
Right now there is only a PostgreSQL backend, but others are
planned (and then the port will grow OPTIONS).
This comes from the cutelyst project, and it would conflict with
www/asql is named the "obvious" way, so name it something inbetween.
Added:
head/databases/cutelyst-asql/
head/databases/cutelyst-asql/Makefile (contents, props changed)
head/databases/cutelyst-asql/distinfo (contents, props changed)
head/databases/cutelyst-asql/pkg-descr (contents, props changed)
head/databases/cutelyst-asql/pkg-plist (contents, props changed)
Modified:
head/databases/Makefile
Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile Mon Oct 26 15:20:57 2020 (r553356)
+++ head/databases/Makefile Mon Oct 26 15:36:38 2020 (r553357)
@@ -50,6 +50,7 @@
SUBDIR += courier-authlib-usergdbm
SUBDIR += cppdb
SUBDIR += credis
+ SUBDIR += cutelyst-asql
SUBDIR += dalmp
SUBDIR += datamodeler
SUBDIR += db
Added: head/databases/cutelyst-asql/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/cutelyst-asql/Makefile Mon Oct 26 15:36:38 2020 (r553357)
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= asql
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.19.0
+CATEGORIES= databases
+PKGNAMEPREFIX= cutelyst-
+
+MAINTAINER= adridg at FreeBSD.org
+COMMENT= Qt async SQL library (for Postgres)
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+# TODO: once there are multiple (selectable) backends, introduce
+# OPTIONS to toggle them, so we're not always depending on pgsql
+USES= cmake compiler:c++11-lang localbase pgsql qt:5
+USE_GITHUB= yes
+USE_LDCONFIG= yes
+USE_QT= qmake_build buildtools_build \
+ core
+
+GH_ACCOUNT= cutelyst
+
+PLIST_SUB= SOVER=${DISTVERSION}
+
+.include <bsd.port.mk>
Added: head/databases/cutelyst-asql/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/cutelyst-asql/distinfo Mon Oct 26 15:36:38 2020 (r553357)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1603716850
+SHA256 (cutelyst-asql-v0.19.0_GH0.tar.gz) = f514fbefeb17a7055ede68e545f935ecce7e7acd50e2a2115f3e7f6886eb0af7
+SIZE (cutelyst-asql-v0.19.0_GH0.tar.gz) = 28477
Added: head/databases/cutelyst-asql/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/cutelyst-asql/pkg-descr Mon Oct 26 15:36:38 2020 (r553357)
@@ -0,0 +1,12 @@
+Qt Async Sql library
+
+* Thread local Connection pool
+* Scoped transactions objects
+* Navigate on your data with iterators
+* Prepared queries
+* Cancellable queries
+* Notifications
+
+Supports database migrations and queries both as JSON and QVariantHash.
+
+WWW: https://github.com/cutelyst/asql
Added: head/databases/cutelyst-asql/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/cutelyst-asql/pkg-plist Mon Oct 26 15:36:38 2020 (r553357)
@@ -0,0 +1,18 @@
+bin/asql-migration
+include/asql-qt5/ASql/acache.h
+include/asql-qt5/ASql/adatabase.h
+include/asql-qt5/ASql/adriver.h
+include/asql-qt5/ASql/amigrations.h
+include/asql-qt5/ASql/apool.h
+include/asql-qt5/ASql/apreparedquery.h
+include/asql-qt5/ASql/aqsqlexports.h
+include/asql-qt5/ASql/aresult.h
+include/asql-qt5/ASql/atransaction.h
+lib/cmake/ASqlQt5/ASql0Qt5Targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/ASqlQt5/ASql0Qt5Targets.cmake
+lib/cmake/ASqlQt5/ASqlQt5Config.cmake
+lib/cmake/ASqlQt5/ASqlQt5ConfigVersion.cmake
+lib/libASqlQt5.so
+lib/libASqlQt5.so.0
+lib/libASqlQt5.so.%%SOVER%%
+libdata/pkgconfig/ASqlQt5.pc
More information about the svn-ports-all
mailing list