Install this version:
emerge -a =dev-python/python-xz-0.6.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/python-xz-0.6.0
Or alternatively:
emerge --autounmask-write -a =dev-python/python-xz-0.6.0
# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_1{0,1,2,3,4,5} )
DISTUTILS_USE_PEP517=hatchling
PYPI_VERIFY_REPO="https://github.com/rogdham/python-xz"
inherit distutils-r1 pypi
DESCRIPTION="Pure Python implementation of the XZ file format with random access support."
HOMEPAGE="https://pypi.org/project/python-xz/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest