From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id UKOwKZDJdWbYMAAAe85BDQ:P1 (envelope-from ) for ; Fri, 21 Jun 2024 18:42:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id UKOwKZDJdWbYMAAAe85BDQ (envelope-from ) for ; Fri, 21 Jun 2024 20:42:24 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=GMPFrRjQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718995344; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=AJ7nzOaVjYrROoOYExALrm6ib83K9zCfSGTYIR0Jfbw=; b=I6XZme7eJIqImx0yWjgWC8GcsrBbW+hSsd9fuuUheZWFvBs7TCGd7C3Tz0N6V/zJI9dq3S Cu/ejfeIWL4dC6/Xj1uSg/lDDeMOuhY9pZaai8vzRdM7BFA2+WUp1fohIkw6K9OpJW0MrK M4qQNErySfVFGED9BhaHi+cesfISCfpi6JKOb3nCtRYI8Y0u+FMlXJFSI+aq0Whn/rXNSU l7CZip0avuM6tUJPcPOUdd3mblJH2MlzgIH4YVR70pXXzXUsfKFJBySyhdNc4stSKEl8rF HCtxJSbacAEW+6/8X4+RSAHMZeu9F8+NzXTuLjBi/7E/1W6yYZpLxLc339d+UA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718995344; a=rsa-sha256; cv=none; b=CatVzXWSU/1ZPbBzmW9JMohp0Dek/3WXR9unVIF4IHCvw9KqCoGmMwRQe9/SkCYiBULA+n yVWqIa5evZSXxgVZn0RSfKkDQTkaK02HdD1gDi/uK4F3A+B2XJUSxSb4HVMj0X101mZsnr ZJPJlgYplWMMdC9ho5WNZ1sGv3j1Ex/TtVVAnNEKPJm32YqzIcg4PQ0Bk8S+c/47wlWStP G8SzsKN+EXIXkYcYbg1UiPC3RLMFVQaI+l7RlYIU5IkX/XfwCNJlKahUNTZuXxjchumHCR sdfVcHbocu71DhrosxEEwE40Wyo7ZlAyjfLMXR73e2whX/N7v0msd0rB4LkMkw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=GMPFrRjQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7662C639DA for ; Fri, 21 Jun 2024 20:42:24 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKjCG-0008Sc-6H; Fri, 21 Jun 2024 14:41:16 -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 1sKjCC-0008Oe-Nt for guix-patches@gnu.org; Fri, 21 Jun 2024 14:41:12 -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 1sKjCC-0003Qs-Fx for guix-patches@gnu.org; Fri, 21 Jun 2024 14:41:12 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sKjCB-0004Tl-Op; Fri, 21 Jun 2024 14:41:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71702] [PATCH 25/30] gnu: Add python-regularizepsf. 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: Fri, 21 Jun 2024 18:41:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71702 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71702@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 71702-submit@debbugs.gnu.org id=B71702.171899524916907 (code B ref 71702); Fri, 21 Jun 2024 18:41:11 +0000 Received: (at 71702) by debbugs.gnu.org; 21 Jun 2024 18:40:49 +0000 Received: from localhost ([127.0.0.1]:43566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKjBo-0004OW-Vf for submit@debbugs.gnu.org; Fri, 21 Jun 2024 14:40:49 -0400 Received: from mail-wm1-f43.google.com ([209.85.128.43]:57590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKjBX-0004Lb-4s for 71702@debbugs.gnu.org; Fri, 21 Jun 2024 14:40:31 -0400 Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-42165f6645fso19976985e9.2 for <71702@debbugs.gnu.org>; Fri, 21 Jun 2024 11:40:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718995166; x=1719599966; 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=AJ7nzOaVjYrROoOYExALrm6ib83K9zCfSGTYIR0Jfbw=; b=GMPFrRjQRbqv6mKHYgd+06EevZwnHCR92nSM7SX/+w321BGxSPygN/vFjErqi86EiK 1tsPjvvLgK9eTpUbkC4ic1XjJb+S+Jl2htPJXrthWyVI+5BiqYKgcz2paBH0FVVQ2u8c M0aZFm89ts2NB3OBGVx/CAexVhJQhel3q1ITv/JQRPR2Rg/cOFnef6ZDb+fDil3r+kQe naHwpEIGyuadh5QACxzktoUyMG83MPt0oy4rCuWabyPy5bnTurn8fLJ/87k8IVafuHX1 tRgH+a7Fq9uPvgnhF4WsjatbtEIfFOWcWgsCoOsgQ3yAJM23Y4e/mMsgR+rWET/LWdiD SAnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718995166; x=1719599966; 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=AJ7nzOaVjYrROoOYExALrm6ib83K9zCfSGTYIR0Jfbw=; b=GmJ8ZeBeaFXYFVIWGM+aCIKOVajPTXUqptESk/whkaQZx9PNMdwhAOxI9TC0pID2VM lfb4gsYXKJOYJfr9drPG2uqM/YzpxT56g2Vg09FVYhYacWEcSXrv59wl6UD78H8vojAY NSC5ziLfbDTe3G0hUlPyQo1yA+F8CetjLSeQ0ahJTL8ELQzjEFZ+G0JjeH883xJ58Fem O3msqgjzJKeosF9cBXrKzQoPNHmkFgEJ0Wbjze7L4SmohzYTN9mr/ewCVc/xC4BGBYDw 6CYzwh7U/DO5I0K29ctDKPvkwReVi3SAO/Kw2al6oa5EQkb/GLoxCntqZDgcQWcr8y1/ MvzQ== X-Gm-Message-State: AOJu0YxDl8udWKa5TH0VyrRuLNFCJz1PFhxSdDI/hD7/oQSkkuwh3S/D NPY5xodUjb77CzJrXDjY9gdqkWlKLW7WH7UNsw/wyhYRBFwFv63iZ4fQOgai X-Google-Smtp-Source: AGHT+IHJasE2PkvPehqpY2OnaKksPDHK31kOAaUloo8aaNpkkUQW/wNhDyiMY7Apq0Z17JyvxyDATg== X-Received: by 2002:a05:600c:4a9a:b0:422:720a:1be9 with SMTP id 5b1f17b1804b1-4247517f131mr71116555e9.20.1718995166143; Fri, 21 Jun 2024 11:39:26 -0700 (PDT) Received: from guxtil.incerto.xyz (bagu-15-b2-v4wan-170076-cust245.vm21.cable.virginm.net. [77.98.0.246]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4247d0b63d4sm76298985e9.3.2024.06.21.11.39.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 11:39:25 -0700 (PDT) From: Sharlatan Hellseher Date: Fri, 21 Jun 2024 19:38:47 +0100 Message-ID: <3468fb2b588a457f6370b300f3b53c6577525edc.1718966788.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -0.76 X-Spam-Score: -0.76 X-Migadu-Queue-Id: 7662C639DA X-Migadu-Scanner: mx11.migadu.com X-TUID: UEuAOlOzsvtX * gnu/packages/astronomy.scm (python-regularizepsf): New variable. Change-Id: I168b531f681999def9e08d2e8aa63e4ccc11bb29 --- gnu/packages/astronomy.scm | 48 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 676bf437ef..4e8ebc3830 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2800,6 +2800,54 @@ (define-public python-regions (description "Regions is an Astropy package for region handling.") (license license:bsd-3))) +(define-public python-regularizepsf + (package + (name "python-regularizepsf") + (version "0.3.4") + (source + (origin + (method git-fetch) ; no tests data in the PyPI tarball + (uri (git-reference + (url "https://github.com/punch-mission/regularizepsf") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "078nklks6hjq0hgv6wpbh2x1m2yh6kmzyfgdzd9q82lxpjy1vq0i")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'relax-requirements + (lambda _ + (substitute* "setup.py" + ;; numpy==1.26.4 + (("==1.26.4") ">=1.23")))) + (add-before 'check 'build-extensions + (lambda _ + (invoke "python" "setup.py" "build_ext" "--inplace")))))) + (propagated-inputs + (list python-astropy + python-dill + python-h5py + python-lmfit + python-matplotlib + python-numpy + python-scikit-image + python-scipy + python-sep)) + (native-inputs + (list python-cython + python-pytest + python-pytest-mpl + python-pytest-runner)) + (home-page "https://github.com/punch-mission/regularizepsf") + (synopsis "Point spread function modeling and regularization") + (description + "This package inplements functionality of @acronym{Point Spread Function, +PSF} describing how the optical system spreads light from sources.") + (license license:expat))) + (define-public python-reproject (package (name "python-reproject") -- 2.41.0