From patchwork Fri Nov 17 12:16:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 56577 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 793B327BBE9; Fri, 17 Nov 2023 10:22:48 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 1D2A827BBE2 for ; Fri, 17 Nov 2023 10:22:45 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3vym-00017h-7M; Fri, 17 Nov 2023 05:21:40 -0500 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 1r3vyO-0000xZ-3P for guix-patches@gnu.org; Fri, 17 Nov 2023 05:21:18 -0500 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 1r3vyK-00057E-T3; Fri, 17 Nov 2023 05:21:13 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r3vyJ-0001Hm-Kz; Fri, 17 Nov 2023 05:21:11 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67237] [PATCH 22/32] gnu: python-extension-helpers: Improve style. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Fri, 17 Nov 2023 10:21:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67237 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67237@debbugs.gnu.org Cc: Sharlatan Hellseher , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart Received: via spool by 67237-submit@debbugs.gnu.org id=B67237.17002164524615 (code B ref 67237); Fri, 17 Nov 2023 10:21:11 +0000 Received: (at 67237) by debbugs.gnu.org; 17 Nov 2023 10:20:52 +0000 Received: from localhost ([127.0.0.1]:45228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3vxz-0001CG-Is for submit@debbugs.gnu.org; Fri, 17 Nov 2023 05:20:52 -0500 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:43312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3vxj-00018T-P9 for 67237@debbugs.gnu.org; Fri, 17 Nov 2023 05:20:36 -0500 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-40907b82ab9so17552955e9.1 for <67237@debbugs.gnu.org>; Fri, 17 Nov 2023 02:20:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700216429; x=1700821229; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=uIBDF5zIgg8RIiP5QCq99mIbOE+jiJd2uae7kvqHqNY=; b=bibwqfnseFIzzNKIyZgK4yfyKd8H6xEiREkitfZF1pg35wVgzmqacBh/ZR+191saBM Es4JyxXhQbqwmjC7bFnKVerBe/FJbk6PjSFkX8YZwX1dnCrvlBntObNvcVan7tD5/hDP k33b7opFfeiM8GcDsWGj68+P+G1ymw6AOjWlmSde/yA8umPPPBcG4FdZ+keWKqGVP4+s O3EEgn0kHK428MB3bXOwpeLM7+ylVKavqWAqxv743xCwrqn4q2x4VaeU6+LdbLHOYbea VqkqmrJboCXKM3LYt5su6qzL0GnZM3YnW9S2XeAOoHluYOQ2qMp6hQHc7aOZrOz7SbZ4 7zKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700216429; x=1700821229; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uIBDF5zIgg8RIiP5QCq99mIbOE+jiJd2uae7kvqHqNY=; b=PXQIqA3EJdm+bDrL0Qz+K2Zy8tr0QCJAgVDRw3IVsJd+CbF4a5y4WsdJJa4hqcZCRH bY+/zXWRXt3lU3XqXfJ0WNKONltfWyM+PhjA3YL2L47KqYclJGWcO2g5/AAlWH1aG5wt PzxTSUouD7w0ns6Tu8hIx1ztRWoILZ/rrm6//qdJixSEZgiDL9rzuG0roDrCNF6/J8YJ 46J/e3VaPZ0Lb2qYfhmKEChdzYVd/VlWMqle/hjNn72DFhLFF5Ymw12ZqVrJfoAhqXE5 02v5zTBbs3Z1qCoOV0ktXrC7qExp3pQYlWQUMiyXQYeGXRJEhbhytoj28jYUie32yd0b TVwQ== X-Gm-Message-State: AOJu0YzYxgtdXOg9rDKtJLIRgwcDbX6TK9UUAhc7mTQYAcU43idnnA/l 4gMTdnSOVePAx6+RdtAQxyKLDE4qmOwJjw== X-Google-Smtp-Source: AGHT+IGHVHlF2RI1hlrPRsRC7JsX4k6zJH1yQL54lj26IfJD8NIS+WfmFqKZa8NaSsKnGmVgf8f50A== X-Received: by 2002:a05:6000:1788:b0:32f:995b:41d3 with SMTP id e8-20020a056000178800b0032f995b41d3mr4815088wrg.32.1700216429546; Fri, 17 Nov 2023 02:20:29 -0800 (PST) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id t4-20020a5d4604000000b0032fbd0c7d04sm1858856wrq.55.2023.11.17.02.20.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 02:20:29 -0800 (PST) From: Sharlatan Hellseher Date: Fri, 17 Nov 2023 12:16:11 +0000 Message-ID: <6a27993c64e0f50b34b53009650489a889917585.1700222319.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-extension-helpers): Improve package style by applying indentation. Change-Id: Icf337ea724244448a3aac8ecec8033ae3cd958e3 --- gnu/packages/python-xyz.scm | 70 ++++++++++++++++++------------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6d3e30a91e..3f9019d248 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4244,46 +4244,46 @@ (define-public python-exceptiongroup (license license:expat))) (define-public python-extension-helpers -(package - (name "python-extension-helpers") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "extension-helpers" version)) - (sha256 + (package + (name "python-extension-helpers") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "extension-helpers" version)) + (sha256 (base32 "1rjha07ds633fb81hn3i2yzk3v2flbi6qa091ix4mkvrgk3gl6ya")))) - (build-system pyproject-build-system) - (arguments - (list - #:phases - #~(modify-phases %standard-phases - (add-before 'check 'prepare-test-environment - (lambda _ - ;; To solve pytest/conftest issue. Pytest tries to load all - ;; files with word 'test' in them. - ;; - ;; ImportError while loading conftest ... - ;; _pytest.pathlib.ImportPathMismatchError: ... - ;; - (call-with-output-file "pytest.ini" - (lambda (port) - (format port "[pytest] + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'prepare-test-environment + (lambda _ + ;; To solve pytest/conftest issue. Pytest tries to load all + ;; files with word 'test' in them. + ;; + ;; ImportError while loading conftest ... + ;; _pytest.pathlib.ImportPathMismatchError: ... + ;; + (call-with-output-file "pytest.ini" + (lambda (port) + (format port "[pytest] python_files = test_*.py")))))))) - (native-inputs - (list python-coverage - python-pytest - python-pytest-astropy - python-pytest-cov - python-setuptools-scm)) - (home-page "https://extension-helpers.readthedocs.io") - (synopsis "Astropy ecosystem utilities for building and installing packages") - (description - "The extension-helpers package includes convenience helpers to assist with + (native-inputs + (list python-coverage + python-pytest + python-pytest-astropy + python-pytest-cov + python-setuptools-scm)) + (home-page "https://extension-helpers.readthedocs.io") + (synopsis "Astropy ecosystem utilities for building and installing packages") + (description + "The extension-helpers package includes convenience helpers to assist with building Python packages with compiled C/Cython extensions. It is developed by the Astropy project but is intended to be general and usable by any Python package.") - (license license:bsd-3))) + (license license:bsd-3))) (define-public python-extras (package