summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2021-02-26 20:18:54 +0100
committerSam James <sam@gentoo.org>2021-02-26 22:04:42 +0000
commit0ea2dcca4e1f3a48e41ee35b9304821d88e70c02 (patch)
tree9d3f68f4ef985f56d41c280124991eee60694cd1 /net-im/err
parentnet-libs/nodejs: Stabilize 14.16.0 arm64, #772422 (diff)
downloadgentoo-0ea2dcca4e1f3a48e41ee35b9304821d88e70c02.tar.gz
gentoo-0ea2dcca4e1f3a48e41ee35b9304821d88e70c02.tar.bz2
gentoo-0ea2dcca4e1f3a48e41ee35b9304821d88e70c02.zip
net-im/err: Add missing test dep
Closes: https://bugs.gentoo.org/773082 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-im/err')
-rw-r--r--net-im/err/err-6.1.7.ebuild13
1 files changed, 3 insertions, 10 deletions
diff --git a/net-im/err/err-6.1.7.ebuild b/net-im/err/err-6.1.7.ebuild
index 981a4a81c279..c5e128e55c30 100644
--- a/net-im/err/err-6.1.7.ebuild
+++ b/net-im/err/err-6.1.7.ebuild
@@ -13,6 +13,7 @@ MY_P="${MY_PN}-${PV}"
DESCRIPTION="Multiprotocol chatbot designed to be easily deployable and maintainable"
HOMEPAGE="https://errbot.readthedocs.io/en/latest/"
SRC_URI="https://github.com/errbotio/errbot/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
KEYWORDS="~amd64"
LICENSE="GPL-3"
@@ -44,19 +45,11 @@ RDEPEND="${DEPEND}
dev-python/pyasn1[${PYTHON_USEDEP}]
dev-python/pyasn1-modules[${PYTHON_USEDEP}]
dev-python/slixmpp[${PYTHON_USEDEP}]
- )
-"
-S="${WORKDIR}/${MY_P}"
+ )"
+BDEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )"
distutils_enable_tests pytest
-# NOTES:
-# 1. Support for BOT_SENTRY option is missing, cause
-# we do not have apropriate packages in portage yet
-# 2. Currently only XMPP is supported(IRC still untested)
-# 3. Internal web server is temporarily removed (rocket-err from requires.txt)
-# 4. pygments-markdown-lexer dependency(needed only for debugging?) is temporarily removed (pygments-markdown-lexer from requires.txt)
-
python_prepare_all() {
sed -i -e '/pygments-markdown-lexer/d' setup.py || die