From patchwork Fri Aug 26 14:28:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 41977 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 8748627BBEA; Fri, 26 Aug 2022 16:08:22 +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 0805127BBE9 for ; Fri, 26 Aug 2022 16:08:22 +0100 (BST) Received: from localhost ([::1]:49688 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRawX-0007sL-5Y for patchwork@mira.cbaines.net; Fri, 26 Aug 2022 11:08:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60662) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRaLT-0001Pb-37 for guix-patches@gnu.org; Fri, 26 Aug 2022 10:30:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36260) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRaLS-0006bZ-Qw for guix-patches@gnu.org; Fri, 26 Aug 2022 10:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oRaLS-0005HW-Dw for guix-patches@gnu.org; Fri, 26 Aug 2022 10:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57428] [PATCH] gnu: python-apsw: Update to 3.39.2.0. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 26 Aug 2022 14:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57428 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57428@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166152415520212 (code B ref -1); Fri, 26 Aug 2022 14:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Aug 2022 14:29:15 +0000 Received: from localhost ([127.0.0.1]:54240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRaKh-0005Fw-6o for submit@debbugs.gnu.org; Fri, 26 Aug 2022 10:29:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:43266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRaKf-0005Fn-BB for submit@debbugs.gnu.org; Fri, 26 Aug 2022 10:29:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRaKe-0000KC-OV for guix-patches@gnu.org; Fri, 26 Aug 2022 10:29:12 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:35416) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRaKc-0006Wj-AX for guix-patches@gnu.org; Fri, 26 Aug 2022 10:29:12 -0400 Date: Fri, 26 Aug 2022 22:28:48 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1661524145; 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=jmY46QEhD6XvWcO9fsX9rtoU0pH81HtH2lW9eLvrPq8=; b=FnK+FOAd9tstXJZNpsACnkTMKKdevCiLIIdAuWHEgyWPnS9vTo1vZWANXP7CEEL6Qc4kXp 7hVfzNee6D7zRVgpDcONNM+N2+QO1Q3U5hE2Xm7L/4GnOgyQJGkrnlwLUvCHIwt2pxqf7S j8yCd6gA0yiu7W+3IkH6NLO3YymtpE/7ZW6Gu9KZSqfEhvWzIVTXUFbUF2Z4UUxnQHJ+60 luK1SJ+YnraUlOEzYJKBFbEL8d3c7THHhZyB8Ywq6I9vT+vRdKx52c0/l/oth2pU1upcC2 9rp/bbbNgBcm5sTNJTcRKZCuFuY2VVn6pY9tr90JrpVNPWkMT6TUnQEZ7kKtfw== 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 96d4d8747230769d48c66ea37a467e8e08e68ee0 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Fri, 26 Aug 2022 22:08:54 +0800 Subject: [PATCH] gnu: python-apsw: Update to 3.39.2.0. * gnu/packages/databases.scm (python-apsw): Update to 3.39.2.0. [source]: Change to git-fetch. [inputs]: Replace sqlite with sqlite-next. [arguments]: Remove custom check phase. Some styling adjustments as well. --- gnu/packages/databases.scm | 60 +++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 33 deletions(-) base-commit: de2f419618b9929cf65b477568f21bc77e218b70 diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 82a3f22b7c..dd8ed50371 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -3568,44 +3568,38 @@ (define-public python-pickleshare (define-public python-apsw (package (name "python-apsw") - (version "3.36.0-r1") + (version "3.39.2.0") (source - (origin - (method url-fetch) - (uri (string-append "https://github.com/rogerbinns/apsw/releases" - "/download/" version "/apsw-" version ".zip")) - (sha256 - (base32 - "0w8q73147hv77dlpqrx6h1gx03acc8xqhvdpfp6vkffdm0wmqd8p")))) + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rogerbinns/apsw") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0q7fnk8n3m5mpjzh6xyhj409k8sacdbjsfis98my9c50fdn5sr7y")))) (build-system python-build-system) - (native-inputs - (list unzip)) - (inputs - (list sqlite)) + (native-inputs (list unzip)) + (inputs (list sqlite-next)) ;SQLite 3.39 required. (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'build - (lambda _ - (invoke "python" "setup.py" "build" "--enable-all-extensions" - "--enable=load_extension") - #t)) - (add-after 'build 'build-test-helper - (lambda _ - (invoke "gcc" "-fPIC" "-shared" "-o" "./testextension.sqlext" - "-I." "-Isqlite3" "src/testextension.c") - #t)) - (replace 'check - (lambda* (#:key inputs outputs #:allow-other-keys) - (add-installed-pythonpath inputs outputs) - (invoke "python" "setup.py" "test") - #t))))) + (list #:phases + #~(modify-phases %standard-phases + (replace 'build + (lambda _ + (invoke "python" "setup.py" "build" "--enable-all-extensions" + "--enable=load_extension") #t)) + (add-after 'build 'build-test-helper + (lambda _ + (invoke "gcc" "-fPIC" "-shared" "-o" "./testextension.sqlext" + "-I." "-Isqlite3" "src/testextension.c") #t))))) (home-page "https://github.com/rogerbinns/apsw/") (synopsis "Another Python SQLite Wrapper") - (description "APSW is a Python wrapper for the SQLite -embedded relational database engine. In contrast to other wrappers such as -pysqlite it focuses on being a minimal layer over SQLite attempting just to -translate the complete SQLite API into Python.") + (description + "APSW is a Python wrapper for the SQLite embedded relational database +engine. In contrast to other wrappers such as pysqlite it focuses on being a +minimal layer over SQLite attempting just to translate the complete SQLite API +into Python.") (license license:zlib))) (define-public python-aiosqlite