Install this version:
emerge -a =dev-python/healpy-1.20.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/healpy-1.20.0
Or alternatively:
emerge --autounmask-write -a =dev-python/healpy-1.20.0
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi
DESCRIPTION="Python wrapper for healpix"
HOMEPAGE="https://healpy.readthedocs.io"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
PROPERTIES="test_network"
RESTRICT="test"
IUSE="all"
DEPEND=">=dev-python/numpy-2.0.0[${PYTHON_USEDEP}]
>sci-astronomy/healpix-3.82:=[cxx]
>=sci-libs/cfitsio-4.5.0:=
sci-libs/libsharp:=
"
RDEPEND="${DEPEND}
dev-python/astropy[${PYTHON_USEDEP}]
all? (
dev-python/matplotlib[${PYTHON_USEDEP}]
dev-python/scipy[${PYTHON_USEDEP}]
)
"
BDEPEND=">=dev-python/cython-3[${PYTHON_USEDEP}]
>=dev-python/setuptools-scm-8.0[${PYTHON_USEDEP}]
virtual/pkgconfig
test? ( dev-python/scipy[${PYTHON_USEDEP}] )
"
DOCS=( README.rst CHANGELOG.rst CITATION )
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
#python_test() {
# cp "${BUILD_DIR}"/install/$(python_get_sitedir)/${PN}/*-gnu.so lib/${PN} || die
# epytest
# rm lib/${PN}/*-gnu.so || die
#}
src_test() {
rm -r lib/${PN} || die
distutils-r1_src_test
}
Manage flags for this package:
euse -i <flag> -p dev-python/healpy |
euse -E <flag> -p dev-python/healpy |
euse -D <flag> -p dev-python/healpy
>=dev-python/numpy-2.0.0[] >sci-astronomy/healpix-3.82:=[cxx] >=sci-libs/cfitsio-4.5.0:= sci-libs/libsharp:=
>=dev-python/numpy-2.0.0[] >sci-astronomy/healpix-3.82:=[cxx] >=sci-libs/cfitsio-4.5.0:= sci-libs/libsharp:= dev-python/astropy[] all? ( dev-python/matplotlib[] dev-python/scipy[] )
>=dev-python/cython-3[] >=dev-python/setuptools-scm-8.0[] virtual/pkgconfig test? ( dev-python/scipy[] )