-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
KEYWORDS="~amd64 ~x86"
LICENSE="GPL-3"
SLOT="0"
-IUSE="irc qt4 +plugins"
+IUSE="irc +plugins"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="
dev-python/jinja[${PYTHON_USEDEP}]
dev-python/pyfire[${PYTHON_USEDEP}]
dev-python/python-daemon[${PYTHON_USEDEP}]
- dev-python/xmpppy
+ dev-python/xmpppy[${PYTHON_USEDEP}]
dev-python/yapsy[${PYTHON_USEDEP}]
virtual/python-dnspython[${PYTHON_USEDEP}]
irc? (
dev-python/twisted-core[${PYTHON_USEDEP}]
dev-python/twisted-words[${PYTHON_USEDEP}]
)
- qt4? ( dev-python/pyside[${PYTHON_USEDEP},X,webkit] )
plugins? ( dev-vcs/git )"
# Testsuite is broken since 1.6.3
# NOTES:
# 1. It has bundled libs - for example exrex(see 'errbot/bundled' subfolder)
-# 2. Need to add PYTHON_USEDEP to remaining dev-python/ deps
-# 3. Support for BOT_SENTRY option is missing, cause
+# 2. Support for BOT_SENTRY option is missing, cause
# we do not have apropriate packages in portage yet
-# 4. Internal web server is broken(dunno why :-()
+# 3. Internal web server is broken(dunno why :-()
pkg_setup() {
ebegin "Creating err group and user"
insinto /etc/${PN}
newins errbot/config-template.py config.py
}
-
-python_install() {
- distutils-r1_python_install
-
- # Upstream requires images to be in site-packages directory,
- # but does not install them at all!
- if use qt4; then
- python_moduleinto errbot
- python_domodule errbot/*.svg
- fi
-}