qark: remove py2; other minor changes

This commit is contained in:
Yury Martynov 2020-02-12 10:30:26 +03:00
parent 45d31edeb3
commit d4adfa025b
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
2 changed files with 15 additions and 6 deletions

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

View file

@ -1,9 +1,10 @@
# Copyright 1999-2019 Gentoo Foundation
# Copyright 1999-2020 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{5,6} )
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
DESCRIPTION="A tool to look for Android application vulnerabilities"
@ -17,7 +18,8 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="exploit"
RDEPEND="dev-python/requests[ssl,${PYTHON_USEDEP}]
RDEPEND="${PYTHON_DEPS}
dev-python/requests[ssl,${PYTHON_USEDEP}]
dev-python/pluginbase[${PYTHON_USEDEP}]
dev-python/jinja[${PYTHON_USEDEP}]
virtual/python-enum34[${PYTHON_USEDEP}]
@ -28,8 +30,7 @@ RDEPEND="dev-python/requests[ssl,${PYTHON_USEDEP}]
dev-util/dex2jar
dev-util/apktool
"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${PN}-${HASH_COMMIT}
@ -42,7 +43,7 @@ src_prepare() {
sed -i '/dex2jar-2.0/d' setup.py || die
rm -r qark/lib/apktool
sed -i '/apktool/d' setup.py || die
eapply_user
default
}
python_install_all() {