Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Nov 2023 02:15:54 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1f3518399e2a - main - databases/py-apsw: Update to 3.43.2.0
Message-ID:  <202311010215.3A12Fs2U067869@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1f3518399e2a82b37713b6b1c74101028e2873f4

commit 1f3518399e2a82b37713b6b1c74101028e2873f4
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-01 01:48:42 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-01 01:57:05 +0000

    databases/py-apsw: Update to 3.43.2.0
    
    - Use sqlite from ports tree [1]
    
    Changes:        https://github.com/rogerbinns/apsw/releases
                    https://rogerbinns.github.io/apsw/changes.html
    Helped by:      Roger Binns <rogerb@rogerbinns.com> (author, via private mail)
---
 databases/py-apsw/Makefile | 13 ++++---------
 databases/py-apsw/distinfo |  8 +++-----
 2 files changed, 7 insertions(+), 14 deletions(-)

diff --git a/databases/py-apsw/Makefile b/databases/py-apsw/Makefile
index 6707a1991133..d287dcc1a4a8 100644
--- a/databases/py-apsw/Makefile
+++ b/databases/py-apsw/Makefile
@@ -1,11 +1,8 @@
 PORTNAME=	apsw
-PORTVERSION=	3.43.1.1
+PORTVERSION=	3.43.2.0
 CATEGORIES=	databases python
-MASTER_SITES=	PYPI \
-		https://sqlite.org/2023/:sqlite
+MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTFILES=	apsw-${PORTVERSION}${EXTRACT_SUFX} \
-		sqlite-autoconf-${APSW_SQLITE_VER}.tar.gz:sqlite
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Another Python SQLite Wrapper
@@ -15,13 +12,11 @@ WWW=		https://rogerbinns.github.io/apsw/ \
 LICENSE=	ZLIB
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		localbase python
+USES=		localbase python sqlite
 USE_PYTHON=	autoplist concurrent distutils unittest
 
 TEST_ENV=	PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
 
-APSW_SQLITE_VER=${PORTVERSION:R:C|\.([0-9])[[:>:]]|0\1|g:C|\.||g}00
-
 OPTIONS_DEFINE=	EXTENSION
 OPTIONS_DEFAULT=EXTENSION
 EXTENSION_DESC=	Allow loadable extensions
@@ -30,7 +25,7 @@ EXTENSION_VARS=		PYDISTUTILS_BUILDARGS+=--enable=load_extension
 EXTENSION_VARS_OFF=	PYDISTUTILS_BUILDARGS+=--omit=load_extension
 
 post-patch:
-	@${MV} ${WRKDIR}/sqlite-autoconf-${APSW_SQLITE_VER} ${WRKSRC}/sqlite3
+	@${PRINTF} '[build_ext]\nuse_system_sqlite_config = True\n' > ${WRKSRC}/setup.apsw
 
 post-install:
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
diff --git a/databases/py-apsw/distinfo b/databases/py-apsw/distinfo
index 4f33567274a7..d978ffaa8864 100644
--- a/databases/py-apsw/distinfo
+++ b/databases/py-apsw/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1696753638
-SHA256 (apsw-3.43.1.1.tar.gz) = 19606778b88515495495a4be87dbfca4a28dd61afda8e5404c0ed0e78acd8de8
-SIZE (apsw-3.43.1.1.tar.gz) = 398125
-SHA256 (sqlite-autoconf-3430100.tar.gz) = 39116c94e76630f22d54cd82c3cea308565f1715f716d1b2527f1c9c969ba4d9
-SIZE (sqlite-autoconf-3430100.tar.gz) = 3175971
+TIMESTAMP = 1698340979
+SHA256 (apsw-3.43.2.0.tar.gz) = 84f1916c2601631306979160019b217a9d29b876c18f9a36e5b8e1d15431ec66
+SIZE (apsw-3.43.2.0.tar.gz) = 402496



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311010215.3A12Fs2U067869>