commit: 43411f10cc04c6b8d8a07317e18d56e22e22dbe3 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> AuthorDate: Tue Jan 5 11:34:02 2021 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> 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 <andrewammerlaan <AT> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>[email protected]</email> + <name>Gentoo Astronomy Project</name> + </maintainer> + <longdescription lang="en"> +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. +</longdescription> + <upstream> + <remote-id type="github">gammapy/gammapy</remote-id> + </upstream> +</pkgmetadata> 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
