polenum-1.7.ebuild

This commit is contained in:
Anton Bolshakov 2025-11-14 11:01:17 +08:00
parent c52588a92d
commit d0bc84c549
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
3 changed files with 35 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST polenum-1.6.1.tar.gz 16182 BLAKE2B a7e49af87ec4d215932e41b7e5e9eb01c5eca874ddaa2a87823b0baf37dee7842874ca69705fac44dcebe86b97300cfdca730791f9d6d60f7ad49adfd86db69d SHA512 adef8bd74d51e1b8e6bf79bb1acce3728ac6dd2480ced231a76633d5ecb18d791a2f1de39d6f21a07808c9e3314ea561239d9c4507206cbdaecf87318a1e34a3
DIST polenum-1.7.tar.gz 16608 BLAKE2B 5ae43bd977e37ef42f9f7d32e09c973b73ef48280c339427852df4da009592f064a21bbb13157f963e79951ddc999bd5ca912e91d01ada74d3673846479d722b SHA512 3d26d250ecb1385a70af00de9be319c270aaba6fe4682f529bafbbc37bb7320076b843aafc09d6992afe34f9e6a10950da32e78684a838bd9e03cea6a701bd16

View file

@ -5,4 +5,7 @@
<email>unknown@pentoo.ch</email>
<name>Author Unknown</name>
</maintainer>
<upstream>
<remote-id type="github">Wh1t3Fox/polenum</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1,31 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
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
}