msldap: drop version, add doc and examples flags

use github to compile documentation
This commit is contained in:
rick 2025-05-25 18:22:38 +02:00
parent c6e9eb9de1
commit 6644137c41
No known key found for this signature in database
GPG key ID: A2E7B6CA577C8F07
3 changed files with 21 additions and 42 deletions

View file

@ -1,2 +1 @@
DIST msldap-0.5.10.tar.gz 132376 BLAKE2B b389005417abc6f786bcae8b9bb841b605c75a9b48e5e41d42e6b3674198f69d65bfc9473d9a3914c2342f89f9bf3a043a0c1901a80904cefaefbbd6f6c10b4a SHA512 8a5afe4060a8bda0ab16e04b681d6b3270526c6113d911731d8ab5c7930404a1dfc552644533cc8faddd3919972d4130815eceb2c47736399d41f45434b465b6
DIST msldap-0.5.14.tar.gz 138720 BLAKE2B 7cefd942c9e8bb123a723a517dcd63a53a6c3710c56a0a29de323475869af5f1fb18da6d2985e5dfb301e61853a83a9ca35edfac08bb768d6a8ff333cbc324e4 SHA512 cbc7cd5e2d3a6263facbeff6f86834670ec5fa5f37dbeb7bcdc44c4c30ac735993e36a564317d2e646e76187336c62d876f470fef66e6ed3d8120f36982bfeec
DIST msldap-0.5.14.gh.tar.gz 153933 BLAKE2B dbef6781d29c67e30ed9d61b60b3e37f11cc4e2e35cc9b5fc862cbde63657c88eded78f6a2c79f893f20f8064dfd6533d7d8f7c856c0813898b3eee484c0b920 SHA512 59761c38041fa55e5352262c18ebaad98e72266837cb88cce79b941cca4d4f422cc8d98a527668d045ef5232e61118feef7626ebc220f6a829a85762d6f2b746

View file

@ -1,34 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="Python library to play with MS LDAP"
HOMEPAGE="https://github.com/skelsec/msldap"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm64 x86"
#'winsspi;platform_system=="Windows"',
# the last two (aiocmd and asciitree) are "Prerequisites"
# extra: ./msldap/external/*
RDEPEND="
>=dev-python/unicrypto-0.0.10[${PYTHON_USEDEP}]
>=dev-python/asyauth-0.0.18[${PYTHON_USEDEP}]
>=dev-python/asysocks-0.2.11[${PYTHON_USEDEP}]
>=dev-python/asn1crypto-1.3.0[${PYTHON_USEDEP}]
>=dev-python/winacl-0.1.8[${PYTHON_USEDEP}]
>=dev-python/prompt-toolkit-3.0.2[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
dev-python/wcwidth[${PYTHON_USEDEP}]
dev-python/tabulate[${PYTHON_USEDEP}]
dev-python/aiocmd[${PYTHON_USEDEP}]
dev-python/asciitree[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"

View file

@ -1,4 +1,4 @@
# Copyright2025 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -6,29 +6,43 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
inherit distutils-r1
DESCRIPTION="Python library to play with MS LDAP"
HOMEPAGE="https://github.com/skelsec/msldap"
SRC_URI="https://github.com/skelsec/msldap/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm64 x86"
IUSE="examples"
#'winsspi;platform_system=="Windows"',
# the last two (aiocmd and asciitree) are "Prerequisites"
# extra: ./msldap/external/*
RDEPEND="
>=dev-python/unicrypto-0.0.10[${PYTHON_USEDEP}]
>=dev-python/asn1crypto-1.3.0[${PYTHON_USEDEP}]
>=dev-python/asyauth-0.0.18[${PYTHON_USEDEP}]
>=dev-python/asysocks-0.2.11[${PYTHON_USEDEP}]
>=dev-python/asn1crypto-1.3.0[${PYTHON_USEDEP}]
>=dev-python/winacl-0.1.9[${PYTHON_USEDEP}]
>=dev-python/prompt-toolkit-3.0.2[${PYTHON_USEDEP}]
>=dev-python/unicrypto-0.0.10[${PYTHON_USEDEP}]
>=dev-python/winacl-0.1.9[${PYTHON_USEDEP}]
dev-python/tabulate[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
dev-python/wcwidth[${PYTHON_USEDEP}]
dev-python/tabulate[${PYTHON_USEDEP}]
dev-python/aiocmd[${PYTHON_USEDEP}]
dev-python/asciitree[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
distutils_enable_sphinx 'docs/source'
python_install_all() {
if use examples; then
docinto examples
dodoc -r examples/.
docompress -x /usr/share/doc/${PF}/examples
fi
distutils-r1_python_install_all
}