Tue Jan 17 10:25:51 2023 UTC ()
py-apsw: updated to 3.40.1.0

3.40.1.0
Implemented window functions (APSW issue 292)

Function flags can be specified to Connection.createscalarfunction() and Connection.createaggregatefunction(). Added apsw.mapping_function_flags. (APSW issue 384)

Added Connection.trace_v2() with apsw.mapping_trace_codes and apsw.mapping_statement_status (APSW issue 383)

Ensure all SQLite APIs are wrapped. Connection.system_errno, apsw.strlike(), apsw.strglob(), apsw.stricmp(), apsw.strnicmp(), Connection.filename_wal, Connection.filename_journal, Connection.table_exists(), Connection.column_metadata(), Error.error_offset, Connection.cacheflush(), Connection.release_memory(), apsw.hard_heap_limit(). Connection.drop_modules() (APSW issue 382)

When an unraisable exception happens, sqlite3_log is now called so you will have context within SQLite窶冱 actions. sys.unraisablehook is now called first, and if it doesn窶冲 exist then sys.excepthook as before. (APSW issue 385)

When the wrong type is given for a function argument, the error message now includes the parameter name and function signature. (APSW issue 358)

Let SQLite do size checking instead of APSW for strings and blobs. (APSW issue 387)

Added apsw.ext.log_sqlite() which installs a handler that forwards SQLite messages to the logging module.

Added set_default_vfs() and unregister_vfs() taking vfs names. The test suite also unregisters ZipVFS (APSW issue 394)


(adam)
diff -r1.49 -r1.50 pkgsrc/databases/py-apsw/Makefile
diff -r1.27 -r1.28 pkgsrc/databases/py-apsw/distinfo

cvs diff -r1.49 -r1.50 pkgsrc/databases/py-apsw/Makefile (expand / switch to unified diff)

--- pkgsrc/databases/py-apsw/Makefile 2022/11/28 09:18:54 1.49
+++ pkgsrc/databases/py-apsw/Makefile 2023/01/17 10:25:51 1.50
@@ -1,23 +1,23 @@ @@ -1,23 +1,23 @@
1# $NetBSD: Makefile,v 1.49 2022/11/28 09:18:54 adam Exp $ 1# $NetBSD: Makefile,v 1.50 2023/01/17 10:25:51 adam Exp $
2 2
3DISTNAME= apsw-3.40.0.0 3DISTNAME= apsw-3.40.1.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-r1//} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-r1//}
5CATEGORIES= databases python 5CATEGORIES= databases python
6MASTER_SITES= ${MASTER_SITE_GITHUB:=rogerbinns/} 6MASTER_SITES= ${MASTER_SITE_GITHUB:=rogerbinns/}
7EXTRACT_SUFX= .zip 7EXTRACT_SUFX= .zip
8GITHUB_PROJECT= apsw 8GITHUB_PROJECT= apsw
9GITHUB_RELEASE= ${PKGVERSION_NOREV} 9GITHUB_RELEASE= ${PKGVERSION_NOREV}
10 10
11MAINTAINER= rhialto@falu.nl 11MAINTAINER= rhialto@falu.nl
12HOMEPAGE= https://github.com/rogerbinns/apsw 12HOMEPAGE= https://github.com/rogerbinns/apsw
13COMMENT= Python wrapper for SQLite 13COMMENT= Python wrapper for SQLite
14LICENSE= zlib 14LICENSE= zlib
15 15
16PYSETUPBUILDARGS+= --enable=load_extension 16PYSETUPBUILDARGS+= --enable=load_extension
17 17
18PYTHON_VERSIONS_INCOMPATIBLE= 27 18PYTHON_VERSIONS_INCOMPATIBLE= 27
19 19
20BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.40.0 20BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.40.1
21.include "../../databases/sqlite3/buildlink3.mk" 21.include "../../databases/sqlite3/buildlink3.mk"
22.include "../../lang/python/egg.mk" 22.include "../../lang/python/egg.mk"
23.include "../../mk/bsd.pkg.mk" 23.include "../../mk/bsd.pkg.mk"

cvs diff -r1.27 -r1.28 pkgsrc/databases/py-apsw/distinfo (expand / switch to unified diff)

--- pkgsrc/databases/py-apsw/distinfo 2022/11/28 09:18:54 1.27
+++ pkgsrc/databases/py-apsw/distinfo 2023/01/17 10:25:51 1.28
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.27 2022/11/28 09:18:54 adam Exp $ 1$NetBSD: distinfo,v 1.28 2023/01/17 10:25:51 adam Exp $
2 2
3BLAKE2s (apsw-3.40.0.0.zip) = dceb1a27532c743d5a684c921a6b55d2669fc02b64c66c3ed7fc891001a0f5fc 3BLAKE2s (apsw-3.40.1.0.zip) = 9d7bfe3e24e71e79332d68b1c229df51ee7fdab8622f102ae638414196848cea
4SHA512 (apsw-3.40.0.0.zip) = 00ce195b3fd37f6b103dbfe33ac03c5bd7b50cc4303a6723354d0e4fd1df31627517442f8cc5b787a80ed1e58112306a66b167fed161e7d8d599ed32b51c93f4 4SHA512 (apsw-3.40.1.0.zip) = 9b278bf82dfd3c818d9e06d9fa4801e808e790aff198837466d4a6f5f8a8089184118e222fd5141d83d13cc7b60c450931cf17fbb86331356aa184c82d36c7cf
5Size (apsw-3.40.0.0.zip) = 936199 bytes 5Size (apsw-3.40.1.0.zip) = 965947 bytes