androguard: make qt optional

This commit is contained in:
Anton Bolshakov 2025-07-03 17:59:01 +08:00
parent eb83ebf2ab
commit 7eae3ffdab
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
2 changed files with 5 additions and 1 deletions

View file

@ -15,6 +15,7 @@ SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86"
# no proper test scripts
#RESTRICT="test"
IUSE="show"
RDEPEND="
>=dev-python/pygments-2.3.1[${PYTHON_USEDEP}]
@ -31,7 +32,7 @@ RDEPEND="
>=dev-util/apkInspector-1.1.7[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
dev-python/networkx[${PYTHON_USEDEP}]
dev-python/pyqt5[${PYTHON_USEDEP}]
show? ( dev-python/pyqt6[${PYTHON_USEDEP}] )
dev-python/pyyaml[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"

View file

@ -4,6 +4,9 @@
<maintainer type="person">
<email>blshkv@pentoo.org</email>
</maintainer>
<use>
<flag name="show">QT is required for this function</flag>
</use>
<upstream>
<remote-id type="github">androguard/androguard</remote-id>
<remote-id type="pypi">androguard</remote-id>