mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-04 18:40:19 +02:00
wesng: qa fixes
This commit is contained in:
parent
80b46dce8d
commit
8eb65b460d
2 changed files with 5 additions and 58 deletions
|
|
@ -1,54 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit eutils python-single-r1
|
||||
|
||||
DESCRIPTION="Windows Exploit Suggester - Next Generation"
|
||||
HOMEPAGE="https://github.com/bitsadmin/wesng"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/bitsadmin/wesng"
|
||||
else
|
||||
HASH_COMMIT="7dbdaf26d5e8345fd09b78c2d6ec411f4c4fb9bc" # 20200616
|
||||
SRC_URI="https://github.com/bitsadmin/wesng/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
S="${WORKDIR}/${PN}-${HASH_COMMIT}"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/chardet[${PYTHON_USEDEP}]
|
||||
dev-python/MechanicalSoup[${PYTHON_USEDEP}]
|
||||
')"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang "${S}"
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/${PN}"
|
||||
doins -r collector/ validation/ definitions.zip *.py
|
||||
|
||||
python_optimize "${D}/usr/share/${PN}"
|
||||
|
||||
make_wrapper wes \
|
||||
"${PYTHON} /usr/share/${PN}/wes.py" \
|
||||
"/usr/share/${PN}"
|
||||
|
||||
dodoc README.md CHANGELOG.md CMDLINE.md
|
||||
}
|
||||
1
app-exploits/wesng/wesng-20200616.ebuild
Symbolic link
1
app-exploits/wesng/wesng-20200616.ebuild
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
wesng-99999999.ebuild
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit eutils python-single-r1
|
||||
inherit python-single-r1 wrapper
|
||||
|
||||
DESCRIPTION="Windows Exploit Suggester - Next Generation"
|
||||
HOMEPAGE="https://github.com/bitsadmin/wesng"
|
||||
|
|
|
|||
Loading…
Reference in a new issue