From patchwork Sun Apr 6 12:37:12 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41347 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 911BD27BBEC; Sun, 6 Apr 2025 13:38:55 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 11A9027BBE9 for ; Sun, 6 Apr 2025 13:38:55 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u1PGW-0005nG-84; Sun, 06 Apr 2025 08:38:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u1PGK-0005bk-Cw for guix-patches@gnu.org; Sun, 06 Apr 2025 08:38:08 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u1PGK-00056O-2V for guix-patches@gnu.org; Sun, 06 Apr 2025 08:38:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=HUxFUQBdr5IeBojEpvFy790+aXPMoI9vm3qIi+ERgkw=; b=tSVlJaKS9JwTYSqstkkyhH/bMH+IzcTnRnwkVHHvpbA14vX2fkusYXn4wysb1aC9XmisZltiq/zk7hOWjZGTcOlOr8o5YPfjc8/8AIQFEDlA5zQ7p6+1fKLdqisxqYhP0S5EtNPpY8woUqyx37PXMp1eXXIl4Pd5k3yVDMEeSwRVIkkZpI8FwPFJNf51/Dqg8TRqZdloN5PJs6C4W862D524ryaoA2X/LsbPhJ6kNazw+6Z79sHZ1SJa6v0xS78Z8KIqwi+mkTVdNO/po3/SL1GFJLNQl+kitiGFagU2YJ7GVW5pgHnqd1LlUBJC6FKYmRHe7V/DKz2WmYVEXwSHTQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u1PGI-0001Un-MM; Sun, 06 Apr 2025 08:38:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77575] [PATCH 10/21] gnu: python-flufl-i18n: Update to 5.1.0. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, guix-patches@gnu.org Resent-Date: Sun, 06 Apr 2025 12:38:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77575 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77575@debbugs.gnu.org Cc: Nicolas Graves , lars@6xq.net, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org X-Debbugs-Original-Xcc: lars@6xq.net, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org Received: via spool by 77575-submit@debbugs.gnu.org id=B77575.17439430775577 (code B ref 77575); Sun, 06 Apr 2025 12:38:06 +0000 Received: (at 77575) by debbugs.gnu.org; 6 Apr 2025 12:37:57 +0000 Received: from localhost ([127.0.0.1]:46372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u1PG8-0001Rd-2m for submit@debbugs.gnu.org; Sun, 06 Apr 2025 08:37:56 -0400 Received: from 6.mo563.mail-out.ovh.net ([46.105.55.200]:41779) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u1PG2-0001Pk-4H for 77575@debbugs.gnu.org; Sun, 06 Apr 2025 08:37:50 -0400 Received: from director1.derp.mail-out.ovh.net (director1.derp.mail-out.ovh.net [51.68.80.175]) by mo563.mail-out.ovh.net (Postfix) with ESMTPS id 4ZVsLh4c46z1fDk; Sun, 6 Apr 2025 12:37:48 +0000 (UTC) Received: from director1.derp.mail-out.ovh.net (director1.derp.mail-out.ovh.net. [127.0.0.1]) by director1.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <77575@debbugs.gnu.org>; Sun, 6 Apr 2025 12:37:48 +0000 (UTC) Received: from mta7.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.108.9.187]) by director1.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZVsLh2xvszHmRj; Sun, 6 Apr 2025 12:37:48 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.1]) by mta7.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id E62C6C397A; Sun, 6 Apr 2025 12:37:47 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-105G006590a1835-83fd-4fe1-bd5b-4c5a8e936bdd, C919729AFBE9AB1136EE71DE75FB1B1DBE8A85BF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Sun, 6 Apr 2025 14:37:12 +0200 Message-ID: <20250406123732.31301-10-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250406123732.31301-1-ngraves@ngraves.fr> References: <20250406123732.31301-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 8474648600264958690 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduleejvdelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleevueeghffgtdeiueegffduvefhleehtedtffehgeetudfhgfdvledvteelkeegnecuffhomhgrihhnpehrvggrughthhgvughotghsrdhiohenucfkphepuddvjedrtddrtddruddpledtrdelvddruddujedrudeggeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepjeejheejheesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpoffvtefjohhsthepmhhoheeifegmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=HUxFUQBdr5IeBojEpvFy790+aXPMoI9vm3qIi+ERgkw=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1743943068; v=1; b=WNqm+BGSX7NcooveoYj2xBLqdEPgwoFpvrgpjTqMHkupdDSI++GUAOvvLRb0yzNPEOZvpi3M tEUUWCcMTqGPSYOD1QkXVqS4ZN2zg9MXpvLWVHsMM84MZ7ukEDmwJ9cy8PdtDgNJwd3aRJDSbgs 0Bvty5QUeSa/EEVSg3VbLNa1ccGl3D8zfLBz+qME9PqqsZSfCBZ/MsglpOog/teN3D/6vmqsG1I N7lm0UPA6/LnV22bmOIuKJOV3yTYctl+86Bc/IljnRqs4j5P5y32jfrpTv1sULYSLLDr780Kkbk zy0px1lzY8rxNRVWRc/jwP1I7zd/UhPbN91OegBq4jdZw== 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-flufl-i18n): Update to 5.1.0. [build-system]: Switch to pyproject. [arguments]{test-flags}: Ignore docs and coverage tests. {phases}: Add phase 'add-custom-dist-info. [native-inputs]: Add python-hatchling, python-pytest, python-pytest-cov, python-sybil. --- gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f779acd4df..374d10a8d8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -34703,17 +34703,41 @@ (define-public python-flufl-bounce (define-public python-flufl-i18n (package (name "python-flufl-i18n") - (version "3.0") + (version "5.1.0") (source (origin (method url-fetch) - (uri (pypi-uri "flufl.i18n" version)) + (uri (pypi-uri "flufl_i18n" version)) (sha256 (base32 - "1flwpn1xhgc957zj3zxw92dhdjh0lsy0hdvzq32dzqpsajfsvq1r")))) - (build-system python-build-system) + "0bm4kmi04gm164y5nmadmrg79y1l1cs9iwxcv9y7gq0dgyr20xms")))) + (build-system pyproject-build-system) + (arguments + (list #:test-flags + #~(list "--no-cov" "--ignore-glob=docs/*") + #:phases + #~(modify-phases %standard-phases + ;; This phase add a symlink of dist-info dir for packages + ;; expecting flufl.i18n rather than flufl_i18n (mailman). + (add-after 'install 'add-custom-dist-info + (lambda _ + (for-each + (lambda (dir) + (with-directory-excursion (dirname dir) + (let ((base (basename dir))) + (symlink base + (string-join (string-split base #\_) "."))))) + (find-files #$output + (lambda (file stat) + (string-suffix? ".dist-info" file)) + #:directories? #t))))))) (propagated-inputs (list python-atpublic)) + (native-inputs + (list python-hatchling + python-pytest + python-pytest-cov + python-sybil)) (home-page "https://flufli18n.readthedocs.io") (synopsis "API for Python internationalization") (description