From patchwork Mon Sep 5 06:11: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: 42218 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 612FC27BBEA; Mon, 5 Sep 2022 07:12:23 +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 16AC427BBE9 for ; Mon, 5 Sep 2022 07:12:23 +0100 (BST) Received: from localhost ([::1]:36406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oV5LK-0000Ii-88 for patchwork@mira.cbaines.net; Mon, 05 Sep 2022 02:12:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44382) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oV5L1-0000Ia-AX for guix-patches@gnu.org; Mon, 05 Sep 2022 02:12:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57468) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oV5L1-0001ax-0f for guix-patches@gnu.org; Mon, 05 Sep 2022 02:12:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oV5L0-0005u3-FM for guix-patches@gnu.org; Mon, 05 Sep 2022 02:12:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57587] [PATCH v2] gnu: python-apsw: Update to 3.39.2.1. In-Reply-To: Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 05 Sep 2022 06:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57587 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57587@debbugs.gnu.org Received: via spool by 57587-submit@debbugs.gnu.org id=B57587.166235830322653 (code B ref 57587); Mon, 05 Sep 2022 06:12:02 +0000 Received: (at 57587) by debbugs.gnu.org; 5 Sep 2022 06:11:43 +0000 Received: from localhost ([127.0.0.1]:46167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oV5Kh-0005tH-2L for submit@debbugs.gnu.org; Mon, 05 Sep 2022 02:11:43 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:60990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oV5Ke-0005sv-J4 for 57587@debbugs.gnu.org; Mon, 05 Sep 2022 02:11:41 -0400 Date: Mon, 05 Sep 2022 14:11:11 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1662358293; 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: references:references; bh=Ek52mgFE5tQXnOavjXhYNK6MMKH+mB/CDK4qX7L1Q+8=; b=laMo44SHETeHP6DnfSYaNSGwwdSb5ksISKYj6WQWjBZuXbHbfSlFom0PL3Qbvj6Rmod2b1 aR9cN64n9iI2iVtOeCrzG/elChVRv55WXMWhWsOevyn/AVcwJYfv8qtPXLLbXw1uDLSkDm YKB9iVxf3INFySV8IJeYcd3HwSs36uyX5JHE8MBTCpSq3ptpnvNH/rA0NFMP73aYjsLbfb 5pSvTrGryVqr1dq2Ckck9pt48CsG1RPyVYr1vOku/UMWQw+PnLjYsSjmp/eNV9/hYNn/H6 1P0B3QgYyI2CxEZHc6kCwWRTPtb8jAHZ4Od7dHlEH0hHWRVWZwjCeNZeoHBukw== Message-ID: References: MIME-Version: 1.0 Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space X-Spamd-Bar: / 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 5bcc29595eefa3632c4ac3ed9e77d8c5a3a7765d Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Mon, 5 Sep 2022 10:45:11 +0800 Subject: [PATCH v2] 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. --- v1 -> v2: Enable parallel compilation. gnu/packages/databases.scm | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) base-commit: d22a5c18517d662516fc93889534367fd3a448f2 diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 7edf0fed2d..70e8c2d6b9 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,25 @@ (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" "-j" (number->string (parallel-job-count)) + "build_ext"))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "make" "-j" (number->string (parallel-job-count)) + "test"))))))) (home-page "https://github.com/rogerbinns/apsw/") (synopsis "Another Python SQLite Wrapper") (description