the-backdoor-factory: migrate to PYTHON_SINGLE_USEDEP

This commit is contained in:
Yury Martynov 2020-02-10 21:55:11 +03:00
parent c19c4ff93a
commit 666b51898e
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E

View file

@ -1,8 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
# TODO: drop py2
PYTHON_COMPAT=( python2_7 )
inherit eutils python-single-r1
@ -18,9 +19,10 @@ SLOT="0"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
app-crypt/osslsigncode
dev-libs/capstone[python,${PYTHON_USEDEP}]
!!dev-libs/capstone-bindings
dev-python/pefile[${PYTHON_USEDEP}]"
$(python_gen_cond_dep '
dev-libs/capstone[python,${PYTHON_MULTI_USEDEP}]
dev-python/pefile[${PYTHON_MULTI_USEDEP}]
')"
pkg_setup() {
python-single-r1_pkg_setup