dev-python/dsinternals - 1.2.5 (nest)

Search

Package Information

Description:
Directory Services Internals Library
Homepage:
https://github.com/p0dalirius/pydsinternals
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
1.2.5 8 ~amd64 0
View Raw Ebuild
# 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

DESCRIPTION="Directory Services Internals Library"
HOMEPAGE="https://github.com/p0dalirius/pydsinternals"
SRC_URI="https://github.com/p0dalirius/py${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/py${P}"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"

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

Dependencies

RDEPEND

dev-python/pyopenssl[${PYTHON_USEDEP}]
	dev-python/pycryptodome[${PYTHON_USEDEP}]

Manifest for 1.2.5

Type File Size Source URLs
DIST dsinternals-1.2.5.gh.tar.gz 168689 bytes https://github.com/p0dalirius/pydsinternals/archive/1.2.5.tar.gz