From patchwork Mon Sep 5 02:45:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 42216 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9423F27BBEA; Mon, 5 Sep 2022 03:46:38 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4C22827BBE9 for ; Mon, 5 Sep 2022 03:46:38 +0100 (BST) Received: from localhost ([::1]:35066 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oV28D-0000cD-FR for patchwork@mira.cbaines.net; Sun, 04 Sep 2022 22:46:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oV27e-0000bx-Nw for guix-patches@gnu.org; Sun, 04 Sep 2022 22:46:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57331) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oV27e-000697-FJ for guix-patches@gnu.org; Sun, 04 Sep 2022 22:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oV27e-0000N2-7K for guix-patches@gnu.org; Sun, 04 Sep 2022 22:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57587] [PATCH] gnu: python-apsw: Update to 3.39.2.1. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 05 Sep 2022 02:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57587 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57587@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16623459411389 (code B ref -1); Mon, 05 Sep 2022 02:46:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Sep 2022 02:45:41 +0000 Received: from localhost ([127.0.0.1]:46028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oV27J-0000MK-Aq for submit@debbugs.gnu.org; Sun, 04 Sep 2022 22:45:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:57776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oV27F-0000MB-GI for submit@debbugs.gnu.org; Sun, 04 Sep 2022 22:45:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49710) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oV27F-0000Yu-BP for guix-patches@gnu.org; Sun, 04 Sep 2022 22:45:37 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:47416) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oV27D-00060u-JF for guix-patches@gnu.org; Sun, 04 Sep 2022 22:45:37 -0400 Date: Mon, 05 Sep 2022 10:45:11 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1662345931; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Wxj8Ms8IVUc+bvFNGWkq0KhpBr2sdgjk7KQOEn4+XMY=; b=KNyP/oVOCaq7BUG+mGv+15mdrTbu22Bv6WIGJY6KSWZEbEQ2BQY7IFQQaLtTeXChZxu39S IuUTEwMP3PZX/EanFrFew77Hec/GS0/QvbUVoa/aobdbsNaXVvYEbNL7vOq9YFJjgM4YA6 oSqomLoU+WW8P7P0ieoZwTu7y23yNdp8TYXeuccRsqLU/zrgSv445T/H0/9vzVSHX5Yp3j AugihaFlo9pHEpAE1mqumkA5FaOsyLuonRYRyIyK9gbtz2G5MyCuLBa0KpPEEYPVSyxra5 MMl7XkOd7PzMjT1qAQrB3RhaJXcB5Hs5iKnJvgaxNUO5+YMf0xT/D674og/nHg== Message-ID: MIME-Version: 1.0 Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space X-Spamd-Bar: / Received-SPF: pass client-ip=144.168.59.46; envelope-from=hako@ultrarare.space; helo=mail.boiledscript.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches X-Patchwork-Original-From: Hilton Chain via Guix-patches via From: Hilton Chain X-getmail-retrieved-from-mailbox: Patches From 71d63d8824c860becb8975c63c6438ca437c168d Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Mon, 5 Sep 2022 10:38:19 +0800 Subject: [PATCH] gnu: python-apsw: Update to 3.39.2.1. * gnu/packages/databases.scm (python-apsw): Update to 3.39.2.1. [arguments]: Use bundled Makefile. --- gnu/packages/databases.scm | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) base-commit: d22a5c18517d662516fc93889534367fd3a448f2 diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 7edf0fed2d..741e582264 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -3568,7 +3568,7 @@ (define-public python-pickleshare (define-public python-apsw (package (name "python-apsw") - (version "3.39.2.0") + (version "3.39.2.1") (source (origin (method git-fetch) @@ -3578,20 +3578,23 @@ (define-public python-apsw (file-name (git-file-name name version)) (sha256 (base32 - "0q7fnk8n3m5mpjzh6xyhj409k8sacdbjsfis98my9c50fdn5sr7y")))) + "1pdlmzyn0xnks4iwd99crralpbnli78c28zh000ha8dz4qbr0nsv")))) (build-system python-build-system) (inputs (list sqlite-next)) ;SQLite 3.39 required. (arguments (list #:phases #~(modify-phases %standard-phases - (replace 'build + (add-before 'build 'disable-fetch (lambda _ - (invoke "python" "setup.py" "build" "--enable-all-extensions" - "--enable=load_extension"))) - (add-after 'build 'build-test-helper + (substitute* "Makefile" + (("fetch.*--all") "")))) + (replace 'build (lambda _ - (invoke "gcc" "-fPIC" "-shared" "-o" "./testextension.sqlext" - "-I." "-Isqlite3" "src/testextension.c")))))) + (invoke "make" "build_ext"))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "make" "test"))))))) (home-page "https://github.com/rogerbinns/apsw/") (synopsis "Another Python SQLite Wrapper") (description