dev-python/specreduce - 1.9.0 (benzene-overlay)

Search

Install

Install this version:

emerge -a =dev-python/specreduce-1.9.0

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

autounmask =dev-python/specreduce-1.9.0

Or alternatively:

emerge --autounmask-write -a =dev-python/specreduce-1.9.0

Package Information

Description:
Astropy coordinated package for Spectroscopic Reductions
Homepage:
https://specreduce.readthedocs.io
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
1.9.0 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-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/astropy/specreduce
PYTHON_COMPAT=( python3_{11..13} )

DATA_COM="dcba1c6"
DATA_URI="https://github.com/astropy/specreduce-data/raw/${DATA_COM}/specreduce_data/reference_data"

inherit distutils-r1 pypi

DESCRIPTION="Astropy coordinated package for Spectroscopic Reductions"
HOMEPAGE="https://specreduce.readthedocs.io"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="all intersphinx"
PROPERTIES="test_network"
RESTRICT="test"

RDEPEND=">=dev-python/astropy-6.0[${PYTHON_USEDEP}]
	dev-python/gwcs[${PYTHON_USEDEP}]
	>=dev-python/matplotlib-3.10[${PYTHON_USEDEP}]
	>=dev-python/scipy-1.14[${PYTHON_USEDEP}]
	>=dev-python/specutils-2.0[${PYTHON_USEDEP}]
	all? (
		>=dev-python/photutils-1.11[${PYTHON_USEDEP}]
		dev-python/synphot[${PYTHON_USEDEP}]
	)
"
BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}]
	test? (
		dev-python/photutils[${PYTHON_USEDEP}]
		dev-python/synphot[${PYTHON_USEDEP}]
	)
"

EPYTEST_PLUGINS=( pytest-{astropy-header,doctestplus,mock,remotedata} )
distutils_enable_tests pytest

python_install() {
	distutils-r1_python_install
	rm -r "${ED%/}"/$(python_get_sitedir)/{docs,licenses} || die
}

python_test() {
	epytest --remote-data
}

USE Flags

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

Global/Standard Flags

all

Inherited Eclasses

Dependencies

RDEPEND

>=dev-python/astropy-6.0[]
	dev-python/gwcs[]
	>=dev-python/matplotlib-3.10[]
	>=dev-python/scipy-1.14[]
	>=dev-python/specutils-2.0[]
	all? (
		>=dev-python/photutils-1.11[]
		dev-python/synphot[]
	)

BDEPEND

dev-python/setuptools-scm[]
	test? (
		dev-python/photutils[]
		dev-python/synphot[]
	)