From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id qF/+MIgvxWZFSQAAe85BDQ:P1 (envelope-from ) for ; Wed, 21 Aug 2024 00:06:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id qF/+MIgvxWZFSQAAe85BDQ (envelope-from ) for ; Wed, 21 Aug 2024 02:06:32 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=E0p+n2lq; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=EtXKHKol; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1724198792; 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=tPYTtYnxcdSK6DYDWlaZuvSRboPW2TRirvF4+QRw2AM=; b=W6+dg+VGT2TKsdZUpNwBuTs5XXaFKuQRjOwLxJdjJiznq3T2+6scctjebH9/jUbnzRpFkB QkYeM0ElJNcCZSof37Zi6QDQoj/paeaI7JIc4hncpCjvaWGfWIJ8qvT90zzme+zM8Lmq0v mnSUeLCmg1w65k9YY9zIIu0QhjU5SP8iwstXkXRQGpwKm/lWdUzYLQASvKQ4y3SYXQtdrS lslWSYuT+lHloMiO4Uyc6kqsjt3lpY9QVDbgiekQN6O+AtggSQ0uJn/FCvVpA+ikfFRR5M Zx6FqWgGbX/avY2SggiYk1FFq60x9xIpqgkZLO1bavS4brxbUEKLcqSaotrHeA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=E0p+n2lq; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=EtXKHKol; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724198792; a=rsa-sha256; cv=none; b=FpgJFVIuxF9KoiJARpF5VnAspBObqLR/y0GOnTCulAQ9sQpHGd4zHbTfLj9+qfuvhehZdj I9jVGOmDZGKW0ifKaquQXIbKjdbwrxv9HvIY8fSYhPVVyBNoeRhZiQHfkXL/jmF4qqECoR kNRJPSlAZiVM4giAeps+ezaMUCrjPuXupHJpiLTpFOYs4LJAvF6j+XWwnZXKoT2DSUI1Zc +O7G66Gs7uavY0XA9gUoCCwlLveEQbm4XmgwaVsYl4quDf7FxKBnSlXxY2HLEF8E5bsekX 3pYAibevPTY8+qLoOu1j94f5YyhRQm0elBpWiV2kSL40aoUfj3WDqCWZiu6bBg== 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 5EA3B66128 for ; Wed, 21 Aug 2024 02:06:32 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sgYr1-0001tX-JY; Tue, 20 Aug 2024 20:05:35 -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 1sgYqz-0001qt-SJ for guix-patches@gnu.org; Tue, 20 Aug 2024 20:05:33 -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 1sgYqz-0004xu-HL for guix-patches@gnu.org; Tue, 20 Aug 2024 20:05:33 -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=tPYTtYnxcdSK6DYDWlaZuvSRboPW2TRirvF4+QRw2AM=; b=E0p+n2lqzdqPEDDnTxWsTsGp6WvfZ8E8OFNfAgamijk9xaHrA7cf2gGj4sbNvrxCWmxhiW5mcJ6yr3ZznLIcV+ZEctSqNgCFl9ypuRAMddPO87hI1F9Pw9h2b3PP+oWjDqb3t1CBcPUAFgEDKTzCigRh4RdaN+OQuUiJsNvZu97KGp/Upj9WiQUcoS3VoPkGsxDqtqRmGDlRQAJM8O9+hGrpeR+IiFNteh37awmO6KKrWOYcRc03jo/rXR50j/PBDhawhy8pcJmNBviPiwXoU3ta9EMLD4kXQfPSPvFoNIf1iAgwBwnB9CfdcIZqnyyCp5ZbKI0VMvdSXBIkJ5ipMA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sgYrg-0003B0-0w; Tue, 20 Aug 2024 20:06:16 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72741] [PATCH 26/32] gnu: Add python-specreduce. 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: Wed, 21 Aug 2024 00:06:15 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72741 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72741@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 72741-submit@debbugs.gnu.org id=B72741.172419877412182 (code B ref 72741); Wed, 21 Aug 2024 00:06:15 +0000 Received: (at 72741) by debbugs.gnu.org; 21 Aug 2024 00:06:14 +0000 Received: from localhost ([127.0.0.1]:34448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sgYrd-0003A2-Ea for submit@debbugs.gnu.org; Tue, 20 Aug 2024 20:06:14 -0400 Received: from mail-ed1-f44.google.com ([209.85.208.44]:53357) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sgYrI-00032S-Kx for 72741@debbugs.gnu.org; Tue, 20 Aug 2024 20:05:53 -0400 Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-5bed92f638fso2534879a12.2 for <72741@debbugs.gnu.org>; Tue, 20 Aug 2024 17:05:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724198643; x=1724803443; 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=tPYTtYnxcdSK6DYDWlaZuvSRboPW2TRirvF4+QRw2AM=; b=EtXKHKol4WCv7VdGpqQ6CbZoU+HsCkJ2Ur8PiboTbazzLUTjs4BLRilZD7TA/7Aupa OjbEs3DZfPV0SdjOvyGOf+dXRFteNPpnw6LWMSkO8an8YObZCSiDOBpsO90arWOIBONg 1WyWTBWbwQ8EQMbyj9Eg+RyTgIlvLem45eye/lnZLz/nYtFHHEDoH4IeDTcv6Lz9ELFp +plQr6WVu62+qOkISnneNwcY/y99P9q4da3Anw4XcZY5v6PfEQneJzhQBm4AjGNVzHZM bqLvdpOMf/sk9dPwfbJYGU7kWlwDZrSepyt6sawKqy3hoUgYJhOqNslrt4AdAOs/zVtr qLig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724198643; x=1724803443; 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=tPYTtYnxcdSK6DYDWlaZuvSRboPW2TRirvF4+QRw2AM=; b=s1bUH4Smfwu+WLssfFVJ8gpCObkC8Nqtcl49DKM0GW7njDq3DykSSTBSommuVDAdB9 0devBkf7jYH4165DYifYnlR2NqZukTww0Hxrl1JakozF1zCfPfDS6hLik2e20AsPWrv2 8A0pJ9dFylfX4TOxlPmY/bedkNm1z6t3vxFufPuzSrd3lgRvVYkc4yi+Czq42/w1F+GL J3sFZxuMmMuK8CuL9WkkcBNuSwetEY4k8SfUx2L1WaykhkIJw2zSk+MTILHo/vIOrr66 kP/ozRdESXxLQ7bJX4LNcq3GPFPlIqBLJGqdtjaOi7hcAIt2SCqm0hznZeQKC6ndd7K6 lbcQ== X-Gm-Message-State: AOJu0Yy5naDh1Qork9UtAjor3xVvdIbmQbEvMX6PWi5OX41TwN1DOKlZ Z5h7LRPnyv0dgojXuljZwcde3vVYj5ukGGMUImkdehJL8l6bUUmWrSoc7hJ1 X-Google-Smtp-Source: AGHT+IGtqrgyaWLEq+Hcqtg/65roOfx2kd32DgvISs53ps2lQqyRn/ebrkZ9yOsVW7AWx20PqPdLoQ== X-Received: by 2002:a05:6402:40c7:b0:5be:eb4f:d4cb with SMTP id 4fb4d7f45d1cf-5bf1f0a3b2bmr493477a12.5.1724198643158; Tue, 20 Aug 2024 17:04:03 -0700 (PDT) Received: from guxtil.incerto.xyz (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5bebc081cf5sm7314559a12.90.2024.08.20.17.04.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Aug 2024 17:04:02 -0700 (PDT) From: Sharlatan Hellseher Date: Wed, 21 Aug 2024 01:03:28 +0100 Message-ID: <01658e5c86648c7150f7263faebb7a647572e9fd.1724198118.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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 5EA3B66128 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -7.41 X-Spam-Score: -7.41 X-TUID: dVSMwYaQoJDI * gnu/packages/astronomy.scm (python-specreduce): New variable. Change-Id: Ia6468aeb8bb65cd3d9ff0a8f854e393069ba6f4f --- gnu/packages/astronomy.scm | 53 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 53b50db7cd..6f7fecd8e4 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -1376,6 +1376,59 @@ (define-public python-soxs ;; known as New or Revised BSD). (license license:bsd-3))) +(define-public python-specreduce + (package + (name "python-specreduce") + (version "1.4.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "specreduce" version)) + (sha256 + (base32 "14ba4ws2z3kpw007f3hpslgp5i6dx082xhql4aim7j82211gpj6s")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + ;; TODO: Try to link some test data availale in + ;; specification-specreduce-data package. + #~(list "-k" (string-append + "not specreduce.calibration_data.get_pypeit_data_path" + " and not specreduce.calibration_data.get_reference_file_path")) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-pypojrect-toml + (lambda _ + (substitute* "pyproject.toml" + ;; TypeError: Configuration.__init__() got an unexpected + ;; keyword argument 'version_file' + (("version_file = .*") "")))) + (add-before 'check 'set-home + (lambda _ + ;; Relax matplotlib warning: ... because the default path + ;; (/homeless-shelter/.config/matplotlib) is not a writable + ;; directory ... + (setenv "HOME" "/tmp")))))) + (propagated-inputs + (list python-astropy + python-gwcs + python-matplotlib + python-photutils + python-specutils + python-synphot)) + (native-inputs + (list python-photutils + python-setuptools-scm + python-pytest-astropy)) + (home-page "https://specreduce.readthedocs.io/") + (synopsis "Spectroscopic Reductions") + (description + "This package implements functionality of spectroscopic reduction in +observations from Optical and @acronym{Near-infrared spectroscopy,NIR} +instruments.") + (license (list license:bsd-3 ; licenses/LICENSE.rst, same as python-astropy + license:expat)))) ; licenses/KOSMOS_LICENSE + (define-public wcslib (package (name "wcslib") -- 2.41.0