pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/hs-direct-sqlite databases/hs-direct-sqlite:...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2707ca89bc39
branches:  trunk
changeset: 374050:2707ca89bc39
user:      pho <pho%pkgsrc.org@localhost>
date:      Wed Feb 16 09:42:21 2022 +0000

description:
databases/hs-direct-sqlite: import hs-direct-sqlite-2.3.26

This package is not very different from the other SQLite3 bindings out
there, but it fixes a few deficiencies I was finding. As compared to
bindings-sqlite3, it is slightly higher-level, in that it supports
marshalling of data values to and from the database. In particular, it
supports strings encoded as UTF8, and BLOBs represented as ByteStrings.

diffstat:

 databases/hs-direct-sqlite/DESCR                             |   5 +
 databases/hs-direct-sqlite/Makefile                          |  15 +++
 databases/hs-direct-sqlite/PLIST                             |  49 ++++++++++++
 databases/hs-direct-sqlite/buildlink3.mk                     |  15 +++
 databases/hs-direct-sqlite/distinfo                          |   6 +
 databases/hs-direct-sqlite/patches/patch-direct-sqlite.cabal |  15 +++
 6 files changed, 105 insertions(+), 0 deletions(-)

diffs (129 lines):

diff -r 07386ae54ac2 -r 2707ca89bc39 databases/hs-direct-sqlite/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/hs-direct-sqlite/DESCR  Wed Feb 16 09:42:21 2022 +0000
@@ -0,0 +1,5 @@
+This package is not very different from the other SQLite3 bindings out
+there, but it fixes a few deficiencies I was finding. As compared to
+bindings-sqlite3, it is slightly higher-level, in that it supports
+marshalling of data values to and from the database. In particular, it
+supports strings encoded as UTF8, and BLOBs represented as ByteStrings.
diff -r 07386ae54ac2 -r 2707ca89bc39 databases/hs-direct-sqlite/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/hs-direct-sqlite/Makefile       Wed Feb 16 09:42:21 2022 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2022/02/16 09:42:21 pho Exp $
+
+DISTNAME=      direct-sqlite-2.3.26
+CATEGORIES=    databases
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Low-level binding to SQLite3 including UTF8 and BLOB support
+LICENSE=       modified-bsd
+
+CONFIGURE_ARGS+=       -f systemlib
+
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../math/hs-semigroups/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 07386ae54ac2 -r 2707ca89bc39 databases/hs-direct-sqlite/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/hs-direct-sqlite/PLIST  Wed Feb 16 09:42:21 2022 +0000
@@ -0,0 +1,49 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/16 09:42:21 pho Exp $
+lib/direct-sqlite-${PKGVERSION}/${HS_VERSION}/package-description
+lib/direct-sqlite-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite3.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite3.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite3.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite3/Bindings.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite3/Bindings.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite3/Bindings.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite3/Bindings/Types.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite3/Bindings/Types.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite3/Bindings/Types.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite3/Direct.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite3/Direct.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Database/SQLite3/Direct.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/Database-SQLite3-Bindings-Types.html
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/Database-SQLite3-Bindings.html
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/Database-SQLite3-Direct.html
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/Database-SQLite3.html
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/direct-sqlite.haddock
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/doc-index-A.html
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/doc-index-All.html
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/doc-index-B.html
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/doc-index-C.html
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/doc-index-D.html
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/doc-index-E.html
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/doc-index-F.html
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/doc-index-G.html
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/doc-index-I.html
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/doc-index-L.html
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/doc-index-M.html
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/doc-index-N.html
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/doc-index-O.html
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/doc-index-P.html
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/doc-index-R.html
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/doc-index-S.html
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/doc-index-T.html
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/doc-index-U.html
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/direct-sqlite-${PKGVERSION}/html/synopsis.png
diff -r 07386ae54ac2 -r 2707ca89bc39 databases/hs-direct-sqlite/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/hs-direct-sqlite/buildlink3.mk  Wed Feb 16 09:42:21 2022 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/16 09:42:21 pho Exp $
+
+BUILDLINK_TREE+=       hs-direct-sqlite
+
+.if !defined(HS_DIRECT_SQLITE_BUILDLINK3_MK)
+HS_DIRECT_SQLITE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-direct-sqlite+=       hs-direct-sqlite>=2.3.26
+BUILDLINK_ABI_DEPENDS.hs-direct-sqlite+=       hs-direct-sqlite>=2.3.26
+BUILDLINK_PKGSRCDIR.hs-direct-sqlite?=         ../../databases/hs-direct-sqlite
+
+.include "../../math/hs-semigroups/buildlink3.mk"
+.endif # HS_DIRECT_SQLITE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-direct-sqlite
diff -r 07386ae54ac2 -r 2707ca89bc39 databases/hs-direct-sqlite/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/hs-direct-sqlite/distinfo       Wed Feb 16 09:42:21 2022 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/02/16 09:42:21 pho Exp $
+
+BLAKE2s (direct-sqlite-2.3.26.tar.gz) = 51c16f3e93c50ac68c600abfdeb57f2aa9464645767a10d41260fc06d6430e8a
+SHA512 (direct-sqlite-2.3.26.tar.gz) = 1675c668263d40b398e252596e821fa7fb5934ced67074a3f840021e43970784daeb2d233f0fb5d53db1e92b41d18a48e0ed0d0fb487270638556ea2423264ef
+Size (direct-sqlite-2.3.26.tar.gz) = 2215712 bytes
+SHA1 (patch-direct-sqlite.cabal) = 898009a12c4a26f2b963dfdeffc4b8bfefe10bbe
diff -r 07386ae54ac2 -r 2707ca89bc39 databases/hs-direct-sqlite/patches/patch-direct-sqlite.cabal
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/hs-direct-sqlite/patches/patch-direct-sqlite.cabal      Wed Feb 16 09:42:21 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-direct-sqlite.cabal,v 1.1 2022/02/16 09:42:21 pho Exp $
+
+Fix build with semigroups-0.20
+
+--- direct-sqlite.cabal.orig   2020-02-24 08:40:57.000000000 +0000
++++ direct-sqlite.cabal
+@@ -55,7 +55,7 @@ library
+                     Database.SQLite3.Direct
+   build-depends:    base       >= 4.1 && < 5
+                   , bytestring >= 0.9.2.1
+-                  , semigroups >= 0.18 && < 0.20
++                  , semigroups >= 0.18
+                   , text       >= 0.11
+   default-language: Haskell2010
+   include-dirs:     .



Home | Main Index | Thread Index | Old Index