Install this version:
emerge -a =sci-libs/pyshp-3.1.6
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sci-libs/pyshp-3.1.6
Or alternatively:
emerge --autounmask-write -a =sci-libs/pyshp-3.1.6
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=hatchling
inherit distutils-r1 pypi
DESCRIPTION="Pure Python read/write support for ESRI Shapefile format"
HOMEPAGE="https://pypi.org/project/pyshp/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
BDEPEND="test? ( dev-python/hypothesis[${PYTHON_USEDEP}] )"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
python_test() {
epytest tests -m "not network"
}