From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mAfCKu9m2mG0GwAAgWs5BA (envelope-from ) for ; Sun, 09 Jan 2022 05:39:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mKhRJ+9m2mEPcAAAauVa8A (envelope-from ) for ; Sun, 09 Jan 2022 05:39:11 +0100 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 7728532F28 for ; Sun, 9 Jan 2022 05:39:11 +0100 (CET) Received: from localhost ([::1]:43152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n6Pz4-0000qD-LT for larch@yhetil.org; Sat, 08 Jan 2022 23:39:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6Pyw-0000pv-AN for guix-patches@gnu.org; Sat, 08 Jan 2022 23:39:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56176) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n6Pyw-0004Df-1k for guix-patches@gnu.org; Sat, 08 Jan 2022 23:39:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n6Pyv-00081R-VL for guix-patches@gnu.org; Sat, 08 Jan 2022 23:39:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53135] [PATCH 3/5] gnu: Add python-astropy-healpix. References: <20220109043522.27612-1-monego@posteo.net> In-Reply-To: <20220109043522.27612-1-monego@posteo.net> Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 09 Jan 2022 04:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53135 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53135@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 53135-submit@debbugs.gnu.org id=B53135.164170313630811 (code B ref 53135); Sun, 09 Jan 2022 04:39:01 +0000 Received: (at 53135) by debbugs.gnu.org; 9 Jan 2022 04:38:56 +0000 Received: from localhost ([127.0.0.1]:49073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6Pyq-00080r-93 for submit@debbugs.gnu.org; Sat, 08 Jan 2022 23:38:56 -0500 Received: from mout02.posteo.de ([185.67.36.66]:50333) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6Pyn-00080b-Id for 53135@debbugs.gnu.org; Sat, 08 Jan 2022 23:38:54 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id A05C0240101 for <53135@debbugs.gnu.org>; Sun, 9 Jan 2022 05:38:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1641703127; bh=gmTEwDH0yTWTABohFhoHTCV8cWwbK3B3zDyhvDDqXeY=; h=From:To:Cc:Subject:Date:From; b=DE3NggiY2cmOAeBJbuK6m53Tyya09HfVGBp2iV77uYnjW6DgHFlQyRgl2RoFurCJy elFRVq2gDSOodbVyodMXWQ4f0zhkBVDpKQ5aO9Lidj62yuU2qDgia5Zp2BKDJA3+6g TwUVaXhqYRTrGQD3x8gMw3Qr0RkJ9jUzhYjFftzU8k0bC2C5iSv4gBtNMeRnDOd4mV Vc9OzfnaoKOwdF+wIkSZEV//n9P2E5Dwb5pbxxtXw0JkQjXWxonBbDv/cbM3T3BvDy uDrQoBa7Pc4/GAOWZgqca4AN3ZTKX4zwycadMD4VbAzNr51xDeN/5yFeuFBQFvCXen zC48VWLgpBkTw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JWkjy56J7z6tmB; Sun, 9 Jan 2022 05:38:46 +0100 (CET) From: Vinicius Monego Date: Sun, 9 Jan 2022 04:38:39 +0000 Message-Id: <20220109043841.28296-1-monego@posteo.net> 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641703151; 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=bjkGDwBTU1+bUTde0AShlyGK9YoRLghYuwENwOMsj88=; b=NA7QNtwlpV543j2WF3DH16FNtQW6fAOETdmpAKaY/xvzjE0XQYztJWnEtiMQ+uZWOIK4Jk HSF2+iV+r6kAETgn9UVEwqlhGVGlrjQdxhpNC7jBHMd2KqF0yChzdFtRX0zsYD6pSdrpmu szIzf8WTNfxqxma1tn8ZFTRybhwGwNP8QznELD1DOdlkf1uKn93c91kA7Z/mSDYxgbgtuL uLZYezwsGixRWj6f/+G/VdKf6m017iOANkD7hhiBCRJdkQM5uacp8U1BsonmW1siZ6Ksbw Xv2wHHARZo943qDbp6L+t05NlQmMhE8LMduh3YWNe2PnSDJ+2Q9AYK0u/Daraw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641703151; a=rsa-sha256; cv=none; b=qHdX8AgjOnbX3uQ9NQvuDYM9lGQShy7RuZaCzWQ87LsvxcOz75nIuAAZQH2rkcC9NHiwF1 XeI4apTUsCNDZz1VDqiRQkNhGkMHnLJOylAmRmlxIBjBfSywLkfdY2tgdc1gLsavqOZ6IY 7VV9po2AZ7wVyxXtQAkUsCHcw/psnSNtGRF2Wsvmmuaytzh+J8c1rWIhZUoUccRimz+WDl HKuWU9JWjV3cjKwLPxArgM0vSrHiOFqrHTBQzJ6sEfBsHjE/X4Aa+pLEIYZFoqogc9TcsZ qy33SrlZr9nIV824s+Ro+QgJE5bUlS6YdQhn/5i3MCxS1JzuR0Vx6D8mUD8bqQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=DE3NggiY; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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" X-Migadu-Spam-Score: -0.71 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=DE3NggiY; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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" X-Migadu-Queue-Id: 7728532F28 X-Spam-Score: -0.71 X-Migadu-Scanner: scn1.migadu.com X-TUID: h2TBv+F5px/P * gnu/packages/astronomy.scm (python-astropy-healpix): New variable. --- gnu/packages/astronomy.scm | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index ee65fbf2c5..1573003c7e 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -706,6 +706,45 @@ much of the core functionality and some common tools needed for performing astronomy and astrophysics.") (license license:bsd-3))) +(define-public python-astropy-healpix + (package + (name "python-astropy-healpix") + (version "0.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "astropy-healpix" version)) + (sha256 + (base32 "1436ml03xkmvx4afzbhfj67ab91418sz1w3lq1b18r43qchnd6j0")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; This file is opened in both install and check phases. + (add-before 'install 'writable-compiler + (lambda _ (make-file-writable "astropy_healpix/_compiler.c"))) + (add-before 'check 'writable-compiler + (lambda _ (make-file-writable "astropy_healpix/_compiler.c"))) + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + ;; Extensions have to be rebuilt before running the tests. + (invoke "python" "setup.py" "build_ext" "--inplace") + (invoke "python" "-m" "pytest" + "--pyargs" "astropy_healpix"))))))) + (native-inputs + (list python-extension-helpers + python-hypothesis + python-pytest-astropy + python-setuptools-scm)) + (propagated-inputs + (list python-astropy python-numpy)) + (home-page "https://github.com/astropy/astropy-healpix") + (synopsis "HEALPix for Astropy") + (description "This package provides HEALPix to the Astropy project.") + (license license:bsd-3))) + (define-public python-astroquery (package (name "python-astroquery") -- 2.30.2