pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/py-apsw



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Nov 25 20:24:23 UTC 2024

Modified Files:
        pkgsrc/databases/py-apsw: Makefile PLIST distinfo
Added Files:
        pkgsrc/databases/py-apsw: ALTERNATIVES

Log Message:
py-apsw: updated to 3.47.1.0

3.47.1.0

Documentation on how to build for packagers such as those maintaining Linux and BSD distributions.

Documentation on how to build for pyodide, the Python WASM implementation that runs in the browser and NPM. PyPI does not accept pyodide packages yet.

A command line tool apsw is defined which invokes the shell. This also allows using uvx apsw without having to explicitly install APSW.

Added apsw.ext.analyze_pages() which uses dbstat to provide useful information about the pages making up the database, and fragmentation. The shell .pages command shows it in a pretty form.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/py-apsw/ALTERNATIVES
cvs rdiff -u -r1.76 -r1.77 pkgsrc/databases/py-apsw/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/databases/py-apsw/PLIST
cvs rdiff -u -r1.47 -r1.48 pkgsrc/databases/py-apsw/distinfo

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

Modified files:

Index: pkgsrc/databases/py-apsw/Makefile
diff -u pkgsrc/databases/py-apsw/Makefile:1.76 pkgsrc/databases/py-apsw/Makefile:1.77
--- pkgsrc/databases/py-apsw/Makefile:1.76      Tue Nov 19 22:52:08 2024
+++ pkgsrc/databases/py-apsw/Makefile   Mon Nov 25 20:24:23 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.76 2024/11/19 22:52:08 adam Exp $
+# $NetBSD: Makefile,v 1.77 2024/11/25 20:24:23 adam Exp $
 
-DISTNAME=      apsw-3.47.0.0
+DISTNAME=      apsw-3.47.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/-r1//}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=rogerbinns/}
@@ -15,6 +15,10 @@ LICENSE=     zlib
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=40.0:../../devel/py-setuptools
 
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} apsw apsw-${PYVERSSUFFIX} || ${TRUE}
+
 BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=${PKGVERSION_NOREV:R}
 .include "../../databases/sqlite3/buildlink3.mk"
 .include "../../lang/python/wheel.mk"

Index: pkgsrc/databases/py-apsw/PLIST
diff -u pkgsrc/databases/py-apsw/PLIST:1.7 pkgsrc/databases/py-apsw/PLIST:1.8
--- pkgsrc/databases/py-apsw/PLIST:1.7  Tue Nov 19 22:52:08 2024
+++ pkgsrc/databases/py-apsw/PLIST      Mon Nov 25 20:24:23 2024
@@ -1,8 +1,10 @@
-@comment $NetBSD: PLIST,v 1.7 2024/11/19 22:52:08 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2024/11/25 20:24:23 adam Exp $
+bin/apsw-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
 ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/apsw/__init__.pyi
 ${PYSITELIB}/apsw/__init__.so

Index: pkgsrc/databases/py-apsw/distinfo
diff -u pkgsrc/databases/py-apsw/distinfo:1.47 pkgsrc/databases/py-apsw/distinfo:1.48
--- pkgsrc/databases/py-apsw/distinfo:1.47      Tue Nov 19 22:52:08 2024
+++ pkgsrc/databases/py-apsw/distinfo   Mon Nov 25 20:24:23 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.47 2024/11/19 22:52:08 adam Exp $
+$NetBSD: distinfo,v 1.48 2024/11/25 20:24:23 adam Exp $
 
-BLAKE2s (apsw-3.47.0.0.zip) = 66210c09b8cc3595490271d7291ba16a916556c343b647f040247e6333c84297
-SHA512 (apsw-3.47.0.0.zip) = cba738419ca6f966352bca9bc237fdba368e9a861e0d3453a271626872a12950d56859b4448c6a9a143ef878a13259a058811c1dad2acccb68671858b9e74c8b
-Size (apsw-3.47.0.0.zip) = 2390472 bytes
+BLAKE2s (apsw-3.47.1.0.zip) = eaec93bf7b88171ee3fceeeb13b6ce37fd7961820fef5e2de476f2edb91dbf0d
+SHA512 (apsw-3.47.1.0.zip) = 661d63199cef3e6375cf41eebcca5fd98290709b7b3809f509ff9d13c1d92be4b899e0af522e3d6813dd09addd23fd7236efcff34ff29233618b3b5179499761
+Size (apsw-3.47.1.0.zip) = 2415568 bytes

Added files:

Index: pkgsrc/databases/py-apsw/ALTERNATIVES
diff -u /dev/null pkgsrc/databases/py-apsw/ALTERNATIVES:1.1
--- /dev/null   Mon Nov 25 20:24:23 2024
+++ pkgsrc/databases/py-apsw/ALTERNATIVES       Mon Nov 25 20:24:23 2024
@@ -0,0 +1 @@
+bin/apsw @PREFIX@/bin/apsw-@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index