From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id xKHXJrNm2mEdHQAAgWs5BA (envelope-from ) for ; Sun, 09 Jan 2022 05:38:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kI65IrNm2mGfLwAAauVa8A (envelope-from ) for ; Sun, 09 Jan 2022 05:38: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 5C8AE2246C for ; Sun, 9 Jan 2022 05:38:11 +0100 (CET) Received: from localhost ([::1]:42262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n6Py6-0008U8-Jf for larch@yhetil.org; Sat, 08 Jan 2022 23:38:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6Pxy-0008TH-DV for guix-patches@gnu.org; Sat, 08 Jan 2022 23:38:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56164) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n6Pxy-000494-4i for guix-patches@gnu.org; Sat, 08 Jan 2022 23:38:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n6Pxy-0007z8-0X for guix-patches@gnu.org; Sat, 08 Jan 2022 23:38:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53135] [PATCH 1/5] gnu: Add python-pyvo. 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:38: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.164170307230664 (code B ref 53135); Sun, 09 Jan 2022 04:38:01 +0000 Received: (at 53135) by debbugs.gnu.org; 9 Jan 2022 04:37:52 +0000 Received: from localhost ([127.0.0.1]:49063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6Pxo-0007yW-9i for submit@debbugs.gnu.org; Sat, 08 Jan 2022 23:37:52 -0500 Received: from mout01.posteo.de ([185.67.36.65]:48001) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6Pxm-0007yE-Gl for 53135@debbugs.gnu.org; Sat, 08 Jan 2022 23:37:51 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 8EB90240026 for <53135@debbugs.gnu.org>; Sun, 9 Jan 2022 05:37:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1641703064; bh=825NWjfrp8N8WwsXtPiwEom4KagVY4ECaZ/FgFZ8yOc=; h=From:To:Cc:Subject:Date:From; b=iReLhilw/fyeK1LwT9DZZ6nNrCyZshwk71fenz4YZ92TCDkinHCuodQW30h5ANvf0 jgwsr2dTjbCorJkf4/gP4igZOvYwE2tHCGiTgaBYlMaWsOy4iiB7OPmxbz4j04ESF0 OLfuASOVr3s/Oasrdyn8n7G3aZ3n31ZZiwlSrZDC+ncL+zxrcLlTLs3yNt9DxyoqMt mBvH4/yLrwYbUTigRwwX2DJAC/eV+9v/2L9bEqMjKY8+Ysv8X8zrWjaZ9yCBiTiTUv FiktD14QEgjNWVo31Mqcu428rjxaot+AysMfg+qQGpoDg0l4HD4IdcLbE/ER9yCw12 DItEihRrl2toA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JWkhl2rYNz9rxN; Sun, 9 Jan 2022 05:37:42 +0100 (CET) From: Vinicius Monego Date: Sun, 9 Jan 2022 04:37:22 +0000 Message-Id: <20220109043726.28142-1-monego@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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=1641703091; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=iVrEKZUv7sQP2NG2gIuAUPIW9jNNwtPdYsNSxbJC+j4=; b=azONL8/iDJ32Z1Nn8F0OxHflM/RU8bTmpgCo8K/mlnmI6dK18TKAtUva13CRhKpbvS242U m/igdTDkPJZZnrUHcGfEUHP74zocldu0yhZOqk2pmP3iNlDByYHbY2gsNlNfRbXGlcKRS+ DEZJqSJiPTxc7b1ryAd/4QRXuBxG5fe3omqAQge4yD0C5JWNyL6scamWsAi745VZH06DAB 4SnRPNaP8BpCOQpzy5qc3v4vlhQ3H5gDv1eqCs9qcVErOwEVZPm0tgq+MNA6XjY7viGuAm qYxcTIurem9A5zR7JYx/URGWf6+kqFRKGTQYw5LZHuL6ZgmRvgs+03S4McNjYw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641703091; a=rsa-sha256; cv=none; b=ugc2MU+he/dSoxL1LIdCsM/LT5zL9bpvARkpRF9uvjNEXXcC90n8KhRuWlmM67Kd91Wxfe 3gLuVSd85AJg/phQEzJXpUy4CHcR1DCUHXCShA641S8+p8bd0hEgCgpv6mINrFJj1cYBDf 6ru1f32v8j50gC1a7jsks1K6sxQe0S8uZ370e492nfBWV8cw1um9JfAjcpJ0h6lmkI4S8k R899mK+T5THdOVobAj4/ldggPhoOx2O7OX99kWMJui8pWub8kCA9Vit0xm23DvdxzRQOv9 5UF+wa0ZhZEbZzJ6j783h+S44FEKwI16Ef0GbjhmypciThOPE1W2BMCxI/qVvQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=iReLhilw; 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: -2.81 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=iReLhilw; 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: 5C8AE2246C X-Spam-Score: -2.81 X-Migadu-Scanner: scn0.migadu.com X-TUID: YKTSyB8e2yH5 * gnu/packages/astronomy.scm (python-pyvo): New variable. --- gnu/packages/astronomy.scm | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index a7a07fa3a8..ef85ec79e0 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -6,7 +6,7 @@ ;;; Copyright © 2020 R Veera Kumar ;;; Copyright © 2020, 2021 Guillaume Le Vaillant ;;; Copyright © 2021 Sharlatan Hellseher -;;; Copyright © 2021 Vinicius Monego +;;; Copyright © 2021, 2022 Vinicius Monego ;;; Copyright © 2021 Greg Hogan ;;; Copyright © 2021 Foo Chuan Wei ;;; @@ -55,6 +55,7 @@ #:use-module (gnu packages python-check) #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-science) + #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) #:use-module (gnu packages time) @@ -705,6 +706,40 @@ much of the core functionality and some common tools needed for performing astronomy and astrophysics.") (license license:bsd-3))) +(define-public python-pyvo + (package + (name "python-pyvo") + (version "1.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pyvo" version)) + (sha256 + (base32 "1lap703wxbyxqlbk85myirp4pkdnc6cg10xhfajfsvz5k0hm5ffw")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "python" "-m" "pytest" "--pyargs" "pyvo" "-k" + (string-append ; these tests use the network + "not test_access_with_string" + " and not test_access_with_list" + " and not test_access_with_expansion")))))))) + (native-inputs + (list python-pytest-astropy python-requests-mock)) + (propagated-inputs + (list python-astropy python-mimeparse python-pillow python-requests)) + (home-page "https://github.com/astropy/pyvo") + (synopsis "Access Virtual Observatory data and services") + (description + "PyVO is a package providing access to remote data and services of the +Virtual observatory (VO) using Python.") + (license license:bsd-3))) + (define-public python-astral (package (name "python-astral") -- 2.30.2