pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/hs-direct-sqlite



Module Name:    pkgsrc
Committed By:   pho
Date:           Wed Feb 16 09:42:21 UTC 2022

Added Files:
        pkgsrc/databases/hs-direct-sqlite: DESCR Makefile PLIST buildlink3.mk
            distinfo
        pkgsrc/databases/hs-direct-sqlite/patches: patch-direct-sqlite.cabal

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/hs-direct-sqlite/DESCR \
    pkgsrc/databases/hs-direct-sqlite/Makefile \
    pkgsrc/databases/hs-direct-sqlite/PLIST \
    pkgsrc/databases/hs-direct-sqlite/buildlink3.mk \
    pkgsrc/databases/hs-direct-sqlite/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/databases/hs-direct-sqlite/patches/patch-direct-sqlite.cabal

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/databases/hs-direct-sqlite/DESCR
diff -u /dev/null pkgsrc/databases/hs-direct-sqlite/DESCR:1.1
--- /dev/null   Wed Feb 16 09:42:21 2022
+++ pkgsrc/databases/hs-direct-sqlite/DESCR     Wed Feb 16 09:42:21 2022
@@ -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.
Index: pkgsrc/databases/hs-direct-sqlite/Makefile
diff -u /dev/null pkgsrc/databases/hs-direct-sqlite/Makefile:1.1
--- /dev/null   Wed Feb 16 09:42:21 2022
+++ pkgsrc/databases/hs-direct-sqlite/Makefile  Wed Feb 16 09:42:21 2022
@@ -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"
Index: pkgsrc/databases/hs-direct-sqlite/PLIST
diff -u /dev/null pkgsrc/databases/hs-direct-sqlite/PLIST:1.1
--- /dev/null   Wed Feb 16 09:42:21 2022
+++ pkgsrc/databases/hs-direct-sqlite/PLIST     Wed Feb 16 09:42:21 2022
@@ -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
Index: pkgsrc/databases/hs-direct-sqlite/buildlink3.mk
diff -u /dev/null pkgsrc/databases/hs-direct-sqlite/buildlink3.mk:1.1
--- /dev/null   Wed Feb 16 09:42:21 2022
+++ pkgsrc/databases/hs-direct-sqlite/buildlink3.mk     Wed Feb 16 09:42:21 2022
@@ -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
Index: pkgsrc/databases/hs-direct-sqlite/distinfo
diff -u /dev/null pkgsrc/databases/hs-direct-sqlite/distinfo:1.1
--- /dev/null   Wed Feb 16 09:42:21 2022
+++ pkgsrc/databases/hs-direct-sqlite/distinfo  Wed Feb 16 09:42:21 2022
@@ -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

Index: pkgsrc/databases/hs-direct-sqlite/patches/patch-direct-sqlite.cabal
diff -u /dev/null pkgsrc/databases/hs-direct-sqlite/patches/patch-direct-sqlite.cabal:1.1
--- /dev/null   Wed Feb 16 09:42:21 2022
+++ pkgsrc/databases/hs-direct-sqlite/patches/patch-direct-sqlite.cabal Wed Feb 16 09:42:21 2022
@@ -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