Signed-off-by: Michał Górny <mgorny@gentoo.org>
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python{2_7,3_6,3_7} )
+PYTHON_COMPAT=( python{3_6,3_7} )
inherit distutils-r1
HOMEPAGE="https://supybot.aperio.fr/"
LICENSE="BSD"
SLOT="0"
-IUSE="crypt ssl test"
+IUSE="crypt ssl"
RDEPEND="
dev-python/chardet[${PYTHON_USEDEP}]
!net-irc/supybot
!net-irc/supybot-plugins
"
-DEPEND="${RDEPEND}
- test? ( $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) )"
-
-RESTRICT="!test? ( test )"
+DEPEND="${RDEPEND}"
src_unpack() {
if [[ ${PV} == "99999999" ]]; then
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python{2_7,3_6,3_7} )
+PYTHON_COMPAT=( python{3_6,3_7} )
inherit distutils-r1
HOMEPAGE="https://supybot.aperio.fr/"
LICENSE="BSD"
SLOT="0"
-IUSE="crypt ssl test"
+IUSE="crypt ssl"
RDEPEND="
dev-python/chardet[${PYTHON_USEDEP}]
!net-irc/supybot
!net-irc/supybot-plugins
"
-DEPEND="${RDEPEND}
- test? ( $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) )"
-
-RESTRICT="!test? ( test )"
+DEPEND="${RDEPEND}"
src_unpack() {
if [[ ${PV} == "99999999" ]]; then