From owner-dev-commits-ports-main@freebsd.org Tue Jul 20 14:32:49 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4155566D0A5; Tue, 20 Jul 2021 14:32:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GTh5F11ZHz4bL6; Tue, 20 Jul 2021 14:32:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 09E8F46E7; Tue, 20 Jul 2021 14:32:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 16KEWmj4020043; Tue, 20 Jul 2021 14:32:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 16KEWmWa020042; Tue, 20 Jul 2021 14:32:48 GMT (envelope-from git) Date: Tue, 20 Jul 2021 14:32:48 GMT Message-Id: <202107201432.16KEWmWa020042@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Guido Falsi Subject: git: da566bc8534e - main - databases/py-apsw: Add option to enable EXTENSION loading. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: madpilot X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: da566bc8534e93a6c9c15e3db46c315d3cd96a62 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2021 14:32:49 -0000 The branch main has been updated by madpilot: URL: https://cgit.FreeBSD.org/ports/commit/?id=da566bc8534e93a6c9c15e3db46c315d3cd96a62 commit da566bc8534e93a6c9c15e3db46c315d3cd96a62 Author: Guido Falsi AuthorDate: 2021-07-20 14:28:42 +0000 Commit: Guido Falsi CommitDate: 2021-07-20 14:28:42 +0000 databases/py-apsw: Add option to enable EXTENSION loading. The new option adds support to load DB extensions at runtime. The option is enabled by default because it is required by the latest version of deskutils/calibre. PR: 257111 Approved by: sunpoet (maintainer) --- databases/py-apsw/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/databases/py-apsw/Makefile b/databases/py-apsw/Makefile index 8b5dc4fffcde..d205bea531e5 100644 --- a/databases/py-apsw/Makefile +++ b/databases/py-apsw/Makefile @@ -3,6 +3,7 @@ PORTNAME= apsw PORTVERSION= 3.35.4 DISTVERSIONSUFFIX= -r1 +PORTREVISION= 1 CATEGORIES= databases python MASTER_SITES= https://github.com/rogerbinns/apsw/releases/download/${PORTVERSION}${DISTVERSIONSUFFIX}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,6 +18,14 @@ BUILD_DEPENDS= sqlite3>=${PORTVERSION:R},1:databases/sqlite3 USES= localbase python:3.6+ sqlite:3 zip USE_PYTHON= autoplist concurrent distutils +OPTIONS_DEFINE= EXTENSION +OPTIONS_DEFAULT= EXTENSION + +EXTENSION_DESC= Allow loadable extensions + +EXTENSION_VARS= PYDISTUTILS_BUILDARGS+=--enable=load_extension +EXTENSION_VARS_OFF= PYDISTUTILS_BUILDARGS+=--omit=load_extension + post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/apsw*.so