From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id AD38OagG7mYNiAAAe85BDQ:P1 (envelope-from ) for ; Fri, 20 Sep 2024 23:35:05 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id AD38OagG7mYNiAAAe85BDQ (envelope-from ) for ; Sat, 21 Sep 2024 01:35:05 +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=JUOfoVp2; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="V95TAcI/"; 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=1726875304; 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=b8IqbqyJKb/x7izCQct3gOBZOtZpIp7lhqPfw7oO69U=; b=KUejp/V6VgieWQi3AW/4ES9o7ep2oD/R6DFXMLTO4tP+HYkTOnMAhgZFKY7NiObge9UZQ1 kh8hs2NqCeT3+HGHmngEgvDr23v2JE45+Eh9n+xzeTcG7923kqrwwfXZomTV7BRp2Hj3yz O1sRME/8pM+FCO566ldUvvO9BJmQ/pk96T9uzqcfDpQi9yqAye6PjVVQ+driGOmBEoPMgQ 9Z5CL1GDafcZ8JVZwTgzrZPm0dKl0uyze+2xzvn1Y9g9LWAYKqLUAWQ9TA90zo6mKyMRv7 5Rbuhu2mLoQ+8hXyscSr+V9ZpfZ3Sdeej1KYQnlo9Fqf8jbRcGnfeflRSV5RYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=JUOfoVp2; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="V95TAcI/"; 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=1726875304; a=rsa-sha256; cv=none; b=hg0kcf4yrfggsfxkjVMBpbFq2Bxp2oJ5jxk2SZM4/Hfkwk4EoEWj0e6lH9+mEj1ql2l0Gx 7IDLFVhX6+Yp3O5Ggmv6dPh+5P1cnXj7MVlFkJJNZrrpuOVp6gZqUpD47qAw9gp1UBlv4q tIL99UkgsLukvmctNBhLlBw4OdI7riEGJsHX6mI+PIFgJHs8yOezN2MVXCJeJCUsccceKf YNZoMcdjbPHhGl7533XnSHK1UHuF5Vzx2SKVb0fc7XiWDXb/pI7PlZcQCh5ozHGi8IVOIT arDje3pf7CIfAOI9uoz7q8GQZILGmSMkCl5pb0BajvxsZcaTKXAg+AHhFtMAZg== 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 981E7C23E for ; Sat, 21 Sep 2024 01:35:04 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srn9F-0000Zt-Py; Fri, 20 Sep 2024 19:34:49 -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 1srn9E-0000Z7-Jw for guix-patches@gnu.org; Fri, 20 Sep 2024 19:34:48 -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 1srn9E-0000SH-AI for guix-patches@gnu.org; Fri, 20 Sep 2024 19:34:48 -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=b8IqbqyJKb/x7izCQct3gOBZOtZpIp7lhqPfw7oO69U=; b=JUOfoVp2PWldXMIJfjYR7ZtcFd7iaJWjB5z+Ft8Z975MGZhu4qnDpjYnU2w9VFEeHmSs7RnC6Us2CQh/SYxxiI1rySF0JmaIfPSyXcEaPvrSkA7wtpYJgr+JxZVl41zVBKZYIQhwrwqtkfLCYEmHYez0q0Oy2q2U3oGcSwo0GLd3yGfvFqIMg43jULp5UuDSn9jmfm34gqzDbEFwh9hcFQfIcU+aXrd5cntpk3dPgk5XPXedeSfDZjLbd8kzVz9hHf88rexh5F8C3azMRWX/lhAp8z+E48yuW44qGMJhOdACtSWSvXncep36VCMF2khgd9TkpW7HWpyYWNzse9YgXA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1srn9W-00040v-5Q; Fri, 20 Sep 2024 19:35:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73399] [PATCH 26/26] gnu: Add python-healpy. 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, 20 Sep 2024 23:35:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73399 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73399@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 73399-submit@debbugs.gnu.org id=B73399.172687525915271 (code B ref 73399); Fri, 20 Sep 2024 23:35:06 +0000 Received: (at 73399) by debbugs.gnu.org; 20 Sep 2024 23:34:19 +0000 Received: from localhost ([127.0.0.1]:36693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srn8k-0003yA-So for submit@debbugs.gnu.org; Fri, 20 Sep 2024 19:34:19 -0400 Received: from mail-wm1-f51.google.com ([209.85.128.51]:49605) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srn8I-0003sW-FJ for 73399@debbugs.gnu.org; Fri, 20 Sep 2024 19:33:54 -0400 Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-42cacabd2e0so21584115e9.3 for <73399@debbugs.gnu.org>; Fri, 20 Sep 2024 16:33:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726875145; x=1727479945; 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=b8IqbqyJKb/x7izCQct3gOBZOtZpIp7lhqPfw7oO69U=; b=V95TAcI/q4szhWtpfjx+WcbioQPG1J/Di/FtsVAVJqqfxrGxZQF9Ec0Kh2k54xkghK gJGM0KeTEr7I8ll4/kD9tq74H0ziRBoULqK6fiCe9gOprVCSzwLWHoQLfI/7IJ5CeCyu 53pRvlbrQE9GzH5tFTzc5fJJKaTHbHLZBy4bbZx7iGlHR/pc+H39EeSdt/S5rS0kficH gR8D6iODbwKt1gaAKZUbhCaeZ+0NJg0h22E7FIYnprDseN5AH+iSkvooZ+au0oJrC/im UTkyQevAFX8cy0dwNCunRLnt4I7yjKbDrsZck/LHqns5TJui+PGuHetxKOPGClciIwQn C3YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726875145; x=1727479945; 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=b8IqbqyJKb/x7izCQct3gOBZOtZpIp7lhqPfw7oO69U=; b=ND5QT0yFNd7E4LyIc63IJrJDPQgNKaW+Cv8jxWlKEpVdrJ8s95+oy2vX6lLjkUnftV r1heMs7OCisPY3Ka7/QE5MbupwdUXfaTcXt8F4l6pce8Yfs0U5mdR6vDq/KdPPJ/AM8h qo7vmpVeQCSF69Ri2pGhdUR4QcYi4xZzDvScHL/laqPYcvHTPLRtBQ6t+cLik0N1M8q5 fZzJ8PCNqb9NB+tPdX5t+bv9YqjUr2erf3GFrB08+eV4c2shQ6FsQUteL6g+uxiFi4l6 8o9KEfxDBZYq1Y0mA0JBXF+nYBJIMVaMd5TLVA5mNnbLrO7UgJ6Lkn+QcsoeP7znlfXf N/jQ== X-Gm-Message-State: AOJu0YydA+JNAUWZx2qJjfCF61x17tulZXfC7Q1Et5+XwYOi26+N64r1 1NPvUlvsDDINRhtvcs+qd3uRjeFWOXq0ZN0b+RtImxcOyap5BTCrh2Xb6roH X-Google-Smtp-Source: AGHT+IHam9aXuA4+BVugfXikkoLhP6vwFX2zbx9cxUqbMPmZ1ApVegEcqBQrdIcVanPwGhoiXoOURA== X-Received: by 2002:a05:600c:5107:b0:42c:be90:fa2f with SMTP id 5b1f17b1804b1-42e7ad734b2mr33143035e9.25.1726875145188; Fri, 20 Sep 2024 16:32:25 -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 5b1f17b1804b1-42e7afbfa1asm35353675e9.21.2024.09.20.16.32.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Sep 2024 16:32:24 -0700 (PDT) From: Sharlatan Hellseher Date: Sat, 21 Sep 2024 00:31:51 +0100 Message-ID: X-Mailer: git-send-email 2.46.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: -4.51 X-Spam-Score: -4.51 X-Migadu-Queue-Id: 981E7C23E X-Migadu-Scanner: mx10.migadu.com X-TUID: z0cTmj3EA4D5 * gnu/packages/astronomy.scm (python-healpy): New variable. Change-Id: I471145f504d4e8d7a2611a6a1fd3c4f0d0472033 --- gnu/packages/astronomy.scm | 59 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 3675ccd14e..291ea8d1ca 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -1413,6 +1413,65 @@ (define-public python-glue-qt (description "Multidimensional data visualization across files.") (license license:bsd-3))) +(define-public python-healpy + (package + (name "python-healpy") + ;; The latest version depends on custom fork of HEALPix with changes not + ;; ported to upstream yet, see + ;; . + (version "1.16.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "healpy" version)) + (sha256 + (base32 "1w99cgszh2mzcn5x8p0gdzn3r96vyfdnvbwm20a1l9fdiy16xcha")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + ;; Disable tests requiring network access. + #~(list "-k" (string-append "not test_astropy_download_file" + " and not test_pixelweights_local_datapath" + " and not test_rotate_map_polarization_alms")) + #:phases + #~(modify-phases %standard-phases + ;; XXX: It's not compatible with pytest-8, enable when newer version + ;; is available. + (add-after 'unpack 'disable-doctest + (lambda _ + (substitute* "pyproject.toml" + (("--doctest-plus") "")))) + (add-before 'check 'build-extensions + (lambda _ + (invoke "python" "setup.py" "build_ext" "--inplace")))))) + (native-inputs + (list nss-certs-for-test + pkg-config + python-cython-3 + python-pytest-8 + python-pytest-astropy-header + python-pytest-cython + ;python-pytest-doctestplus + python-setuptools-scm)) + (propagated-inputs + (list python-astropy + python-colorlog + python-matplotlib + python-numpy + python-scipy)) + (inputs + (list cfitsio + healpix-cxx + libsharp)) + (home-page "http://healpy.readthedocs.org/") + (synopsis "Healpix tools package for Python") + (description + "healpy is a Python package to handle pixelated data on the sphere. It +is based on the Hierarchical Equal Area isoLatitude Pixelization (HEALPix) +scheme and bundles the HEALPix C++ library.") + (license license:gpl2+))) + (define-public python-pvextractor (package (name "python-pvextractor") -- 2.46.0