From patchwork Tue May 20 22:24:23 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 42789 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 5F56A27BC4B; Tue, 20 May 2025 23:26:51 +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=-7.4 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,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 E389227BC49 for ; Tue, 20 May 2025 23:26:50 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uHVPa-0006uF-VF; Tue, 20 May 2025 18:26:15 -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 1uHVPW-0006tR-OL for guix-patches@gnu.org; Tue, 20 May 2025 18:26:11 -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 1uHVPT-0004ya-2c for guix-patches@gnu.org; Tue, 20 May 2025 18:26:09 -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=2UAa1ZEYlrzbnUUPWOBvauvqiZe3JnOGUx1CPKHTdNs=; b=D+WWxlJRlqDzBjhBJORqUeHfYkAlwrub0MVut+NJqgTDTPhG/UE+VfGhoCeDwWxc7FbvC71iToyXzeK1qoFx8hgadSv/vWVlNfb6zLMUVBr3wYAJ0jlzCFs9QVIOnPpgsMR0IgJuFfUSgIBf5GAdS4dPXuTwRWi1AKzz66kJrSjNFhQzsOJoYOI0yLZzrQwJBz10jyrzaPdFfiiqGDmwSwfmRneonmS0Qn+gsOH9jmGDp44ZXZRAiYzpCcQ2V2sEC557f/2ezZF/nsJoFe/zfawtJerTqJjWVbQzpb/N+C2g7yzv1yi1/D8z3SP0twpxHMZCgdG4OL6kyxGHZenTsA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1uHVPR-0004U1-GC; Tue, 20 May 2025 18:26:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#78517] [PATCH 01/31] gnu: Add python-petrofit. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, bavier@posteo.net, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Tue, 20 May 2025 22:26:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 78517 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 78517@debbugs.gnu.org Cc: Sharlatan Hellseher , Andreas Enge , Eric Bavier , Sharlatan Hellseher X-Debbugs-Original-Xcc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Received: via spool by 78517-submit@debbugs.gnu.org id=B78517.174777991216721 (code B ref 78517); Tue, 20 May 2025 22:26:05 +0000 Received: (at 78517) by debbugs.gnu.org; 20 May 2025 22:25:12 +0000 Received: from localhost ([127.0.0.1]:38034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uHVOa-0004Kq-8o for submit@debbugs.gnu.org; Tue, 20 May 2025 18:25:12 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:61599) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uHVOX-0004FH-Aa for 78517@debbugs.gnu.org; Tue, 20 May 2025 18:25:10 -0400 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-3a35c894313so3853373f8f.2 for <78517@debbugs.gnu.org>; Tue, 20 May 2025 15:25:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1747779903; x=1748384703; 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=2UAa1ZEYlrzbnUUPWOBvauvqiZe3JnOGUx1CPKHTdNs=; b=nSeG1J0pL0Afi+vb1Zj/npsM/KNGoAHPgLEK3TAW+oFZmE3zp801CVF3h/QrZGyLXz a3KYf4Zz+DT3JdxsD7Lc0sRhvNEUoNXe1zhI9uaxBA13YaJXg1GX3focCJxaBsRK9+ns XF3tUNqgd/IOr3uiiLYvvYJarogpvvYIsOHc//9AbJnCLBLtKgeTt9FRWVO+uu8bj1HG 3i//wNAGNMA8y7XIV5LfPwK3IZXddSq6+jdtAZr59Y7bOw87b85bgxpjzXiRdaCpdQyQ V616kHwvE984E0OVyq7wZwMo/Y/nCeqZvB3cOhRzJpld+TiZPb0uTBOvxx7GpJPIW1yw p/CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747779903; x=1748384703; 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=2UAa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 with SMTP id ffacd0b85a97d-3a35c84bc90mr12653238f8f.56.1747779902571; Tue, 20 May 2025 15:25:02 -0700 (PDT) Received: from localhost.localdomain (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a3620dbc6asm16438730f8f.88.2025.05.20.15.25.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 May 2025 15:25:02 -0700 (PDT) From: Sharlatan Hellseher Date: Tue, 20 May 2025 23:24:23 +0100 Message-ID: <863090852b95c00f4fab1611ac7ec07c71ec739e.1747779547.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.49.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/astronomy.scm (python-petrofit): New variable. Change-Id: Ia59121ecf7700c4e57e844270d43397fbe91b08e --- gnu/packages/astronomy.scm | 57 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index ad01252cf7..fab4bbd9bf 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -4066,6 +4066,63 @@ (define-public python-naima Carlo.") (license license:bsd-3))) +(define-public python-petrofit + (package + (name "python-petrofit") + (version "0.6.0") + (source + (origin + (method git-fetch) ; no tests data in the PyPI tarball + (uri (git-reference + (url "https://github.com/PetroFit/petrofit") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "07dri6r6ws82nn379gqvg899g576n8skhgp5fjg3qq38rp8dgl0k")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + #~(list "--numprocesses" (number->string (min 8 (parallel-job-count)))) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'set-version + (lambda _ + (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))))) + (native-inputs + (list python-hatch-vcs + python-hatchling + python-pytest + python-pytest-randomly + python-pytest-xdist + python-setuptools + python-setuptools-scm + python-wheel)) + (propagated-inputs + (list jupyter + python-astropy + python-cython + python-extension-helpers + python-ipywidgets + python-matplotlib + python-notebook + python-numpy + python-photutils + python-pytest-astropy-header + python-pyyaml + python-regions + python-scikit-image + python-scikit-learn + python-scipy)) + (home-page "https://github.com/PetroFit/petrofit") + (synopsis "Petrosian properties and fitting galaxy light profiles calculation") + (description + "PetroFit is a package for calculating Petrosian properties, +such as radii and concentration indices, as well as fitting galaxy light +profiles. In particular, PetroFit includes tools for performing accurate +photometry, segmentations, Petrosian profiling, and Sérsic fitting.") + (license license:bsd-3))) + (define-public python-pixell (package (name "python-pixell")