Install this version:
emerge -a =dev-python/dsinternals-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/dsinternals-9999
Or alternatively:
emerge --autounmask-write -a =dev-python/dsinternals-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 1999-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} )
inherit distutils-r1 git-r3
DESCRIPTION="Directory Services Internals Library"
HOMEPAGE="https://github.com/p0dalirius/pydsinternals"
EGIT_REPO_URI="https://github.com/p0dalirius/${PN}.git"
LICENSE="GPL-2"
SLOT="0"
RDEPEND="dev-python/pyopenssl[${PYTHON_USEDEP}]
dev-python/pycryptodome[${PYTHON_USEDEP}]"
python_prepare_all() {
# use pycryptodome instead of pycryptodomex
sed -i 's/Cryptodome/Crypto/' dsinternals/common/cryptography/RSAKeyMaterial.py \
dsinternals/common/cryptography/X509Certificate2.py \
|| die "sed failed for cryptodomex"
distutils-r1_python_prepare_all
}
distutils_enable_tests unittest
dev-python/pyopenssl[] dev-python/pycryptodome[]