mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-19 13:20:57 +02:00
sublist3r: fix python2 module, https://github.com/aboul3la/Sublist3r/issues/129
This commit is contained in:
parent
926216d66b
commit
0f00726fa3
1 changed files with 2 additions and 1 deletions
|
|
@ -26,12 +26,13 @@ DEPEND="${RDEPEND}"
|
|||
src_prepare() {
|
||||
#make it a module
|
||||
sed -e 's|from subbrute|from sublist3r.subbrute|' -i sublist3r.py || die "sed failed"
|
||||
touch __init__.py
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_moduleinto ${PN}
|
||||
python_foreach_impl python_domodule subbrute
|
||||
python_foreach_impl python_domodule subbrute __init__.py
|
||||
newbin sublist3r.py sublist3r
|
||||
dodoc README.md LICENSE
|
||||
}
|
||||
Loading…
Reference in a new issue