pentoo-overlay/dev-python/ldapdomaindump/ldapdomaindump-0.9.1-r1.ebuild
2020-04-29 09:09:03 +08:00

29 lines
664 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1
DESCRIPTION="Active Directory information dumper via LDAP"
HOMEPAGE="https://github.com/dirkjanm/ldapdomaindump"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="${PYTHON_DEPS}
dev-python/dnspython[${PYTHON_USEDEP}]
>=dev-python/ldap3-2.5.1[${PYTHON_USEDEP}]
dev-python/future[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
src_prepare(){
sed -i "s|ldap3==2.5.1|ldap3|g" setup.py
eapply_user
}