This commit is contained in:
blshkv 2020-02-13 17:32:55 +08:00
parent f7e2896796
commit d68f4c3381
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
3 changed files with 4 additions and 21 deletions

View file

@ -1 +0,0 @@
DIST argparse-1.4.0.tar.gz 70508 BLAKE2B 7bc250ea4203f40d67d9a78ca046f7a2023df742a254426cdae551abb2edabb4beba8d3cef7c848e2e98ffd682a80638cf85689ddeab6b4ddcd3fd98e6d2572f SHA512 9941f9d26c43169f947c9efadda6239349e1f9df80ff5fcdba3070bc7b43c43ab6bb4b7f0c7eee8e5d06231a17a7e9ee9eb73c7a9bb68ebe5d13f879686d61b2

View file

@ -1,16 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
inherit distutils-r1
DESCRIPTION="Python command-line parsing library."
HOMEPAGE="https://github.com/ThomasWaldmann/argparse/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

View file

@ -3,9 +3,8 @@
EAPI=7
PYTHON_COMPAT=( python3_{5,6,7} )
PYTHON_COMPAT=( python3_{6,7,8} )
inherit python-r1
# python-utils-r1
COMMIT_HASH="3f5fc6da0142540c56e97c98f9925bb7d0855fb5"
@ -18,8 +17,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-python/argparse[${PYTHON_USEDEP}]
dev-python/dnspython[${PYTHON_USEDEP}]
RDEPEND="dev-python/dnspython[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
@ -29,6 +27,8 @@ src_prepare() {
#make it a module
sed -e 's|from subbrute|from sublist3r.subbrute|' -i sublist3r.py || die "sed failed"
touch __init__.py
#https://github.com/aboul3la/Sublist3r/issues/215
sed -e '/argparse/d' -i requirements.txt || die "sed failed"
default
}