From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0E6AE1382C5 for ; Tue, 5 Jan 2021 16:16:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B9BC3E0827; Tue, 5 Jan 2021 16:16:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A4470E0827 for ; Tue, 5 Jan 2021 16:16:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4FC8A33BEF5 for ; Tue, 5 Jan 2021 16:16:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B879148F for ; Tue, 5 Jan 2021 16:16:29 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1609862618.43411f10cc04c6b8d8a07317e18d56e22e22dbe3.andrewammerlaan@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-python/regions/ X-VCS-Repository: proj/sci X-VCS-Files: dev-python/regions/metadata.xml dev-python/regions/regions-0.4.ebuild X-VCS-Directories: dev-python/regions/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 43411f10cc04c6b8d8a07317e18d56e22e22dbe3 X-VCS-Branch: master Date: Tue, 5 Jan 2021 16:16:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f004a22d-7bbd-4b0b-8755-e7067079a967 X-Archives-Hash: 11b92ca90ee471e95a97b59c6669f31c commit: 43411f10cc04c6b8d8a07317e18d56e22e22dbe3 Author: Andrew Ammerlaan riseup net> AuthorDate: Tue Jan 5 11:34:02 2021 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Tue Jan 5 16:03:38 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=43411f10 dev-python/regions: new dep Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/regions/metadata.xml | 16 ++++++++++++++++ dev-python/regions/regions-0.4.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-python/regions/metadata.xml b/dev-python/regions/metadata.xml new file mode 100644 index 000000000..a9f88e7d8 --- /dev/null +++ b/dev-python/regions/metadata.xml @@ -0,0 +1,16 @@ + + + + + sci-astronomy@gentoo.org + Gentoo Astronomy Project + + +Gammapy is a package for simulating and analysing gamma-ray sky data. +It is currently designed to support users of telescopes such as Fermi, +H.E.S.S, and CTA in primarily Galactic plane survey studies. + + + gammapy/gammapy + + diff --git a/dev-python/regions/regions-0.4.ebuild b/dev-python/regions/regions-0.4.ebuild new file mode 100644 index 000000000..ce522f3fc --- /dev/null +++ b/dev-python/regions/regions-0.4.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Astropy affilated package for region handling" +HOMEPAGE="http://github.com/astropy/regions" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# TODO: fix this +# E ModuleNotFoundError: No module named 'regions._geometry.circular_overlap' +RESTRICT="test" + +RDEPEND=" + >=dev-python/astropy-0.4[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" + +# TODO: fix this +# NameError: name 'disabled_intersphinx_mapping' is not defined +#distutils_enable_sphinx docs dev-python/sphinx-astropy +distutils_enable_tests pytest