pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/py-apsw py-apsw: updated to 3.39.2.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6c8c302bb808
branches:  trunk
changeset: 384797:6c8c302bb808
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Sep 05 09:00:21 2022 +0000

description:
py-apsw: updated to 3.39.2.1

3.39.2.1

PyPI now includes Python 3.11 builds.

Instead of using scripts, you can now run several tools directly:

tests: python3 -m apsw.tests [options]

tracer: python3 -m apsw.trace [options]

speed tester: python3 -m apsw.speedtest [options]

shell: python3 -m apsw [options]

The shell class has moved from apsw.Shell to apsw.shell.Shell (APSW issue 356). You can still reference it via the old name (ie existing code will not break, except on Python 3.6).

Shell: On Windows the native console support for colour is now used (previously a third party module was supported).

You can use –definevalues in setup.py build_ext to provide compiler defines used for configuring SQLite. (APSW issue 357)

If SQLITE_ENABLE_COLUMN_METADATA is enabled then Cursor.description_full is available providing all the column metadata available. (APSW issue 354)

Connection.cursor_factory attribute is now present and is used when Connection.cursor() is called. Added Connection.execute() and Connection.executemany() which automatically obtain the underlying 
cursor. See customizing connections and cursors in the Tips. (APSW issue 361)


3.39.2.0

Version numbering scheme change: Instead of a -r1 style suffix, there is .0 style suffix (APSW issue 340)

Updated building for PyPI to include more compiled platforms, including aarch64 (Linux) and universal (MacOS). Windows binaries are no longer separately provided since PyPI has them.

When the amalgamation is included into APSW, SQLITE_MAX_ATTACHED is set to 125 if not defined, up from the default of 10.

Updated typing information stubs with more detail and include docstrings. This is still ongoing, but core functionality is well covered. (APSW issue 338) (APSW issue 381)

Corrected the tips log handler of extended result code (APSW issue 342)

Added Connection.db_names() (APSW issue 343)

diffstat:

 databases/py-apsw/Makefile |   9 ++++-----
 databases/py-apsw/PLIST    |  21 +++++++++++++++++++--
 databases/py-apsw/distinfo |   8 ++++----
 3 files changed, 27 insertions(+), 11 deletions(-)

diffs (71 lines):

diff -r 121505092f26 -r 6c8c302bb808 databases/py-apsw/Makefile
--- a/databases/py-apsw/Makefile        Mon Sep 05 08:32:14 2022 +0000
+++ b/databases/py-apsw/Makefile        Mon Sep 05 09:00:21 2022 +0000
@@ -1,13 +1,12 @@
-# $NetBSD: Makefile,v 1.43 2022/04/18 19:10:44 adam Exp $
+# $NetBSD: Makefile,v 1.44 2022/09/05 09:00:21 adam Exp $
 
-DISTNAME=      apsw-${GITHUB_RELEASE}
+DISTNAME=      apsw-3.39.2.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/-r1//}
-PKGREVISION=   2
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=rogerbinns/}
 EXTRACT_SUFX=  .zip
 GITHUB_PROJECT=        apsw
-GITHUB_RELEASE=        3.37.0-r1
+GITHUB_RELEASE=        ${PKGVERSION_NOREV}
 
 MAINTAINER=    rhialto%falu.nl@localhost
 HOMEPAGE=      https://github.com/rogerbinns/apsw
@@ -18,7 +17,7 @@
 
 PYSETUPBUILDARGS+=     --enable=load_extension
 
-BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.37.0
+BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.39.2
 .include "../../databases/sqlite3/buildlink3.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 121505092f26 -r 6c8c302bb808 databases/py-apsw/PLIST
--- a/databases/py-apsw/PLIST   Mon Sep 05 08:32:14 2022 +0000
+++ b/databases/py-apsw/PLIST   Mon Sep 05 09:00:21 2022 +0000
@@ -1,6 +1,23 @@
-@comment $NetBSD: PLIST,v 1.2 2017/07/26 11:18:30 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2022/09/05 09:00:21 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/apsw.so
+${PYSITELIB}/apsw/__init__.pyi
+${PYSITELIB}/apsw/__init__.so
+${PYSITELIB}/apsw/__main__.py
+${PYSITELIB}/apsw/__main__.pyc
+${PYSITELIB}/apsw/__main__.pyo
+${PYSITELIB}/apsw/py.typed
+${PYSITELIB}/apsw/shell.py
+${PYSITELIB}/apsw/shell.pyc
+${PYSITELIB}/apsw/shell.pyo
+${PYSITELIB}/apsw/speedtest.py
+${PYSITELIB}/apsw/speedtest.pyc
+${PYSITELIB}/apsw/speedtest.pyo
+${PYSITELIB}/apsw/tests.py
+${PYSITELIB}/apsw/tests.pyc
+${PYSITELIB}/apsw/tests.pyo
+${PYSITELIB}/apsw/trace.py
+${PYSITELIB}/apsw/trace.pyc
+${PYSITELIB}/apsw/trace.pyo
diff -r 121505092f26 -r 6c8c302bb808 databases/py-apsw/distinfo
--- a/databases/py-apsw/distinfo        Mon Sep 05 08:32:14 2022 +0000
+++ b/databases/py-apsw/distinfo        Mon Sep 05 09:00:21 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.23 2022/01/11 09:06:10 adam Exp $
+$NetBSD: distinfo,v 1.24 2022/09/05 09:00:21 adam Exp $
 
-BLAKE2s (apsw-3.37.0-r1.zip) = 80de1305727557fa16c63332192d0fbd9ccb6bec823468d5b6c7fdc54aa76620
-SHA512 (apsw-3.37.0-r1.zip) = 0ac4061fa851a453afba3d578e5ada7842c7507a54c256330f9aa8a37a05a76a8b2c86a901b7764b03b48e31b66d879cc88380706e0362c657b6549cbe011df8
-Size (apsw-3.37.0-r1.zip) = 698951 bytes
+BLAKE2s (apsw-3.39.2.1.zip) = a0b39ad532480b38c18ffe2dbe7da775fb3bbf515a7dba6f9ed00b02d51ac873
+SHA512 (apsw-3.39.2.1.zip) = 8c26cf16ad1dea8f2611261eaecc70ea1bc27b6c12d703ff82d8c196cae8618a218a45be541f8da8f37b99191f8794bbb0e89333aae925582fece40f1a83e047
+Size (apsw-3.39.2.1.zip) = 751005 bytes


Home | Main Index | Thread Index | Old Index