Install this version:
emerge -a =dev-python/python-mbedtls-2.10.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/python-mbedtls-2.10.1
Or alternatively:
emerge --autounmask-write -a =dev-python/python-mbedtls-2.10.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2.10.1 | 8 | ~amd64 | 0 |
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
PYPI_NO_NORMALIZE=1
DISTUTILS_EXT=1
inherit distutils-r1
DESCRIPTION="free cryptographic library for Python that uses mbed TLS for back end"
HOMEPAGE="
https://pypi.org/project/python-mbedtls/
"
SRC_URI="https://github.com/Synss/python-mbedtls/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/certifi[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]
net-libs/mbedtls:0=
"
BDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
distutils_enable_sphinx "docs/source" dev-python/sphinx-rtd-theme \
dev-python/sphinxcontrib-applehelp \
dev-python/sphinxcontrib-devhelp \
dev-python/sphinxcontrib-htmlhelp \
dev-python/sphinxcontrib-jquery \
dev-python/sphinxcontrib-jsmath \
dev-python/sphinxcontrib-qthelp \
dev-python/sphinxcontrib-serializinghtml
src_prepare () {
sed -i -e "/startdir/d" tests/conftest.py
eapply_user
}
dev-python/certifi[] dev-python/typing-extensions[] net-libs/mbedtls:0=
dev-python/cython[]
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | python-mbedtls-2.10.1.gh.tar.gz | 106357 bytes | https://github.com/Synss/python-mbedtls/archive/refs/tags/2.10.1.tar.gz |