Install this version:
emerge -a =app-crypt/certbot-dns-aliyun-2.0.0-r1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-crypt/certbot-dns-aliyun-2.0.0-r1
Or alternatively:
emerge --autounmask-write -a =app-crypt/certbot-dns-aliyun-2.0.0-r1
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYTHON_COMPAT=( python3_{12..13} )
inherit distutils-r1 pypi
MY_PN=${PN//-/_}
DESCRIPTION="Aliyun DNS Authenticator plugin for Certbot"
HOMEPAGE="https://pypi.org/project/certbot-dns-aliyun/ https://github.com/tengattack/certbot-dns-aliyun"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="test"
RDEPEND="
>=app-crypt/certbot-2.0.0[${PYTHON_USEDEP}]
>=dev-python/requests-2.28.0[${PYTHON_USEDEP}]
"
src_prepare() {
default
cd "${S}"
sed -i "s/ 'mock',//" setup.py
cd "${MY_PN}"
rm -r *test.py
}
>=app-crypt/certbot-2.0.0[] >=dev-python/requests-2.28.0[]