mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-15 21:02:30 +01:00
31 lines
671 B
Bash
31 lines
671 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{11..13} )
|
|
|
|
inherit python-single-r1
|
|
|
|
DESCRIPTION="Extract password policy from a windows machine"
|
|
HOMEPAGE="https://github.com/Wh1t3Fox/polenum"
|
|
SRC_URI="https://github.com/Wh1t3Fox/polenum/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
RDEPEND="${PYTHON_DEPS}
|
|
$(python_gen_cond_dep 'dev-python/impacket[${PYTHON_USEDEP}]')"
|
|
DEPEND="${RDEPEND}"
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
|
|
src_prepare() {
|
|
default
|
|
python_fix_shebang .
|
|
}
|
|
|
|
src_install() {
|
|
newbin ${PN}.py ${PN}
|
|
dodoc README.md
|
|
}
|