Does this look somewhat sane? (worksforme™)
Code: Select all
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
PYPI_NO_NORMALIZE=1
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="Daemon which provides TLS client policy for Postfix via socketmap, according to domain MTA-STS policy."
HOMEPAGE="https://github.com/Snawoot/postfix-mta-sts-resolver https://pypi.org/project/postfix-mta-sts-resolver/"
SRC_URI="https://github.com/Snawoot/postfix-mta-sts-resolver/releases/download/v${PV}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64"
IUSE="uvloop"
DOCS="README.md"
RDEPEND="
${PYTHON_DEPS}
>=dev-python/aiodns-1.1.1[${PYTHON_USEDEP}]
>=dev-python/aiohttp-3.4.4[${PYTHON_USEDEP}]
>=dev-python/pyyaml-3.12[${PYTHON_USEDEP}]
>=dev-python/pycares-4.0.0[${PYTHON_USEDEP}]
>=dev-python/attrs-17.3.0[${PYTHON_USEDEP}]
>=dev-python/charset-normalizer-2.0[${PYTHON_USEDEP}]
<dev-python/charset-normalizer-4.0[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5[${PYTHON_USEDEP}]
<dev-python/multidict-7.0[${PYTHON_USEDEP}]
>=dev-python/async-timeout-4.0.0[${PYTHON_USEDEP}]
<dev-python/async-timeout-5.0[${PYTHON_USEDEP}]
>=dev-python/yarl-1.0[${PYTHON_USEDEP}]
<dev-python/yarl-2.0[${PYTHON_USEDEP}]
>=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}]
>=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}]
>=dev-python/cffi-1.5.0[${PYTHON_USEDEP}]
>=dev-python/idna-2.0[${PYTHON_USEDEP}]
dev-python/pycparser[${PYTHON_USEDEP}]
uvloop? (
dev-python/uvloop[${PYTHON_USEDEP}]
)
"
DEPEND="${RDEPEND}"Code: Select all
python3 -m pip install postfix-mta-sts-resolver --break-system-packages

