1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

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.
This commit is contained in:
Adriaan de Groot 2020-10-26 15:36:38 +00:00
parent 3d6ae75995
commit 24eb38a640
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553357
5 changed files with 61 additions and 0 deletions

View File

@ -50,6 +50,7 @@
SUBDIR += courier-authlib-usergdbm
SUBDIR += cppdb
SUBDIR += credis
SUBDIR += cutelyst-asql
SUBDIR += dalmp
SUBDIR += datamodeler
SUBDIR += db

View File

@ -0,0 +1,27 @@
# $FreeBSD$
PORTNAME= asql
DISTVERSIONPREFIX= v
DISTVERSION= 0.19.0
CATEGORIES= databases
PKGNAMEPREFIX= cutelyst-
MAINTAINER= adridg@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>

View File

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

View File

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

View File

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