dev-python/radio-beam - 0.3.10 (benzene-overlay)

Search

Install

Install this version:

emerge -a =dev-python/radio-beam-0.3.10

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/radio-beam-0.3.10

Or alternatively:

emerge --autounmask-write -a =dev-python/radio-beam-0.3.10

Package Information

Description:
Operations for radio astronomy beams with astropy
Homepage:
https://radio-beam.readthedocs.io
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
0.3.10 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYPI_VERIFY_REPO=https://github.com/radio-astro-tools/radio-beam
PYTHON_COMPAT=( python3_{11..14} )

inherit distutils-r1 pypi

DESCRIPTION="Operations for radio astronomy beams with astropy"
HOMEPAGE="https://radio-beam.readthedocs.io"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="all doc intersphinx"
RESTRICT="intersphinx? ( network-sandbox )"
REQUIRED_USE="intersphinx? ( doc )"

RDEPEND=">=dev-python/numpy-1.24[${PYTHON_USEDEP}]
	>=dev-python/astropy-6.1[${PYTHON_USEDEP}]
	>=dev-python/packaging-19[${PYTHON_USEDEP}]
	>=dev-python/scipy-1.8[${PYTHON_USEDEP}]
	>=dev-python/setuptools-62.3.3[${PYTHON_USEDEP}]
	>=dev-python/matplotlib-3.5[${PYTHON_USEDEP}]
"
BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}]
	doc? (
		${RDEPEND}
		dev-python/sphinx-astropy[${PYTHON_USEDEP}]
	)
"

EPYTEST_PLUGINS=( pytest-{astropy-header,doctestplus} )
distutils_enable_tests pytest
#distutils_enable_sphinx docs dev-python/sphinx-astropy

python_compile_all() {
	if use doc; then
		VARTEXFONTS="${T}"/fonts MPLCONFIGDIR="${T}" PYTHONPATH="${BUILD_DIR}"/install/$(python_get_sitedir) \
			emake "SPHINXOPTS=$(usex intersphinx '' '-D disable_intersphinx=1')" -C docs html
		HTML_DOCS=( docs/_build/html/. )
	fi
}

#python_test() {
#	use doc && local EPYTEST_IGNORE=( docs/_build )
#	epytest
#}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/radio-beam | euse -E <flag> -p dev-python/radio-beam | euse -D <flag> -p dev-python/radio-beam

Global/Standard Flags

all
doc

Inherited Eclasses

Dependencies

RDEPEND

>=dev-python/numpy-1.24[]
	>=dev-python/astropy-6.1[]
	>=dev-python/packaging-19[]
	>=dev-python/scipy-1.8[]
	>=dev-python/setuptools-62.3.3[]
	>=dev-python/matplotlib-3.5[]

BDEPEND

dev-python/setuptools-scm[]
	doc? (
		>=dev-python/numpy-1.24[]
	>=dev-python/astropy-6.1[]
	>=dev-python/packaging-19[]
	>=dev-python/scipy-1.8[]
	>=dev-python/setuptools-62.3.3[]
	>=dev-python/matplotlib-3.5[]

		dev-python/sphinx-astropy[]
	)