commit:     433369d957bbfa0fb81dea84fe8ce9c139a825bc
Author:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  3 12:25:05 2016 +0000
Commit:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Sun Apr  3 12:25:05 2016 +0000
URL:        https://gitweb.gentoo.org/dev/dev-zero.git/commit/?id=433369d9

net-im/errbot: move and bump package. Add all required deps.

 dev-python/ansi/Manifest                           |   1 +
 dev-python/ansi/ansi-0.1.3.ebuild                  |  27 ++++++
 dev-python/pygments-markdown-lexer/Manifest        |   1 +
 .../pygments-markdown-lexer-0.1.0_pre39.ebuild     |  33 +++++++
 dev-python/rocket-errbot/Manifest                  |   1 +
 .../rocket-errbot/rocket-errbot-1.2.5.ebuild       |  22 +++++
 dev-python/threadpool/Manifest                     |   1 +
 dev-python/threadpool/threadpool-1.3.2.ebuild      |  25 +++++
 dev-python/typing/Manifest                         |   1 +
 dev-python/typing/typing-3.5.0.1.ebuild            |  28 ++++++
 dev-python/yapsy/Manifest                          |   3 +
 {net-im/err => dev-python/yapsy}/metadata.xml      |  12 ++-
 dev-python/yapsy/yapsy-1.11.223-r1.ebuild          |  44 +++++++++
 net-im/err/Manifest                                |   5 -
 net-im/err/err-1.6.7.ebuild                        |  63 ------------
 net-im/errbot/Manifest                             |   1 +
 net-im/errbot/errbot-4.0.3.ebuild                  | 108 +++++++++++++++++++++
 net-im/{err => errbot}/files/errd.confd            |   0
 net-im/{err => errbot}/files/errd.initd            |   0
 net-im/{err => errbot}/metadata.xml                |   0
 virtual/python-dnspython/metadata.xml              |   8 ++
 .../python-dnspython/python-dnspython-1-r1.ebuild  |  26 +++++
 22 files changed, 338 insertions(+), 72 deletions(-)

diff --git a/dev-python/ansi/Manifest b/dev-python/ansi/Manifest
new file mode 100644
index 0000000..2fd6fd8
--- /dev/null
+++ b/dev-python/ansi/Manifest
@@ -0,0 +1 @@
+DIST ansi-0.1.3.tar.gz 4156 SHA256 
ef1eff1d52ee5db71e0954e515c32ec0a65933326c8bf887f698eebfc021c61b SHA512 
6d204c48ef4bdae3ab1c9f755113faf717044041a415659c249a317c141c32f60bc040ef3a41782af4a6793940684c73b405ecbb48a4e82e5fad708a9b1e7af3
 WHIRLPOOL 
7effbe04b1d5c0c91595e210c54b9fb6758091a8b0f58cab5bc0865cde1102480eb540f24742f1658546d7adde808b08688b9b71e9748100cf40155b5b222229

diff --git a/dev-python/ansi/ansi-0.1.3.ebuild 
b/dev-python/ansi/ansi-0.1.3.ebuild
new file mode 100644
index 0000000..976da55
--- /dev/null
+++ b/dev-python/ansi/ansi-0.1.3.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="ANSI cursor movement and graphics"
+HOMEPAGE=" https://github.com/tehmaze/ansi/ https://pypi.python.org/pypi/ansi";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz -> ${P}.tar.gz"
+# tarball on pypi does not contain tests
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND=""
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+       test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}/${PN}-${P}"
+
+python_test() {
+       py.test -v || die
+}

diff --git a/dev-python/pygments-markdown-lexer/Manifest 
b/dev-python/pygments-markdown-lexer/Manifest
new file mode 100644
index 0000000..d2af36c
--- /dev/null
+++ b/dev-python/pygments-markdown-lexer/Manifest
@@ -0,0 +1 @@
+DIST pygments-markdown-lexer-0.1.0.dev39.zip 28039 SHA256 
4c128c26450b5886521c674d759f95fc3768b8955a7d9c81866ee0213c2febdf SHA512 
9d831bd48a4f04bd1c0e0a5b3db199022d2367893950826d5ab4fe7fdf44c6e5f620ce754ca6e474733dd9f01765d7f3f50599b4894f9cf206f5958b16078219
 WHIRLPOOL 
9eaa7a0bb532addb41203458925ea53bbf23ff46011732d7a895ad3c743055d232b3d89fe8c32831127903e8ecb45e8ed0139eede0b6b30558ef21bbfc244d98

diff --git 
a/dev-python/pygments-markdown-lexer/pygments-markdown-lexer-0.1.0_pre39.ebuild 
b/dev-python/pygments-markdown-lexer/pygments-markdown-lexer-0.1.0_pre39.ebuild
new file mode 100644
index 0000000..db5ec74
--- /dev/null
+++ 
b/dev-python/pygments-markdown-lexer/pygments-markdown-lexer-0.1.0_pre39.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+
+inherit distutils-r1
+
+MY_P="${PN}-${PV/_pre/.dev}"
+
+DESCRIPTION="A Markdown lexer for Pygments to highlight Markdown code 
snippets."
+HOMEPAGE="https://github.com/jhermann/pygments-markdown-lexer 
https://pypi.python.org/pypi/pygments-markdown-lexer";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.zip"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND=""
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+       test? ( dev-python/pytest[${PYTHON_USEDEP}]
+               dev-python/sh[${PYTHON_USEDEP}] )"
+
+RESTRICT="test"
+# there are no tests in the tarball on pypi and no tags on GitHub
+
+S="${WORKDIR}/${MY_P}"
+
+python_test() {
+       py.test -v -c setup.cfg || die
+}

diff --git a/dev-python/rocket-errbot/Manifest 
b/dev-python/rocket-errbot/Manifest
new file mode 100644
index 0000000..fb776fc
--- /dev/null
+++ b/dev-python/rocket-errbot/Manifest
@@ -0,0 +1 @@
+DIST rocket-errbot-1.2.5.tar.gz 18001 SHA256 
aa7d9c5fc922d51ba495251de8eb809febddf3962ad2f55b2f3ed32d310f3ea0 SHA512 
92089b8b0e84946b0c7e1bc377e91916b74ed7143036a0a0fffe84bed4cdc169e906c1bac0110dd9798e24bcede5be0b78897e23577906309f537ddff9f93113
 WHIRLPOOL 
8ffe045b02f85352b08f69eb2e6aa2a36af52d4c995aebd47032a06e895da08c1627cb1a6066c21b249a9addf325c84b1cc5e16135deda0468be3d5dd8e705b2

diff --git a/dev-python/rocket-errbot/rocket-errbot-1.2.5.ebuild 
b/dev-python/rocket-errbot/rocket-errbot-1.2.5.ebuild
new file mode 100644
index 0000000..a7ef205
--- /dev/null
+++ b/dev-python/rocket-errbot/rocket-errbot-1.2.5.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Modern, Multi-threaded, Comet-Friendly WSGI Web Server 
(errbot-fork)"
+HOMEPAGE="https://pypi.python.org/pypi/rocket-errbot 
https://github.com/errbotio/rocket";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=""
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+# tarball on pypi is missing tests and GitHub repo has no tags

diff --git a/dev-python/threadpool/Manifest b/dev-python/threadpool/Manifest
new file mode 100644
index 0000000..54930e4
--- /dev/null
+++ b/dev-python/threadpool/Manifest
@@ -0,0 +1 @@
+DIST threadpool-1.3.2.tar.bz2 33088 SHA256 
cce4ef898b7eda686a6086facf33c9ac006d1809281db0030673d1647bfeefa4 SHA512 
d8927dca3354d8c073abd262a9b5a37a1efdd26ec7313d2e050b3b2baa62c91b2b83574a79db8bae94614bf1e72f4d55f14bd631ad394bf2650c000a2b4fd18f
 WHIRLPOOL 
1f0c5895969d74086377040537a47f8ef9e88561b584838888964927c670da0662c94149fd5d217ebc7e93be68715a11b91e5d343bc6b667787375c0ded2ce89

diff --git a/dev-python/threadpool/threadpool-1.3.2.ebuild 
b/dev-python/threadpool/threadpool-1.3.2.ebuild
new file mode 100644
index 0000000..09ab924
--- /dev/null
+++ b/dev-python/threadpool/threadpool-1.3.2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Easy to use object-oriented thread pool framework."
+HOMEPAGE="http://chrisarndt.de/projects/threadpool/ 
https://pypi.python.org/pypi/threadpool";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND=""
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+       test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+python_test() {
+       py.test -v test || die
+}

diff --git a/dev-python/typing/Manifest b/dev-python/typing/Manifest
new file mode 100644
index 0000000..76926ba
--- /dev/null
+++ b/dev-python/typing/Manifest
@@ -0,0 +1 @@
+DIST typing-3.5.0.1.tar.gz 44955 SHA256 
b247d3ffe4228bebf319cc6670535eca472ad65a96d681c41cd67b90a686d942 SHA512 
abd638f243b40bcb002fa94cfe64df29a454a3874edc629ab43e79b10149a18a29d8200ce0574bf1e920461e58f4736905f04d231c3cf045bb6a91ad12d4c53e
 WHIRLPOOL 
8d7f3fc04d3aec17a492f3c405fa6edd55be8431c266a8a3de5a31d61711835a0eaf11b3cbda9089165d69476e948d810bb233acac199ea9350579c315b96037

diff --git a/dev-python/typing/typing-3.5.0.1.ebuild 
b/dev-python/typing/typing-3.5.0.1.ebuild
new file mode 100644
index 0000000..d56ced8
--- /dev/null
+++ b/dev-python/typing/typing-3.5.0.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit distutils-r1
+
+DESCRIPTION="Type Hints for Python - backport for Python versions older than 
3.5"
+HOMEPAGE="https://docs.python.org/3.5/library/typing.html";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+DEPEND=""
+RDEPEND=""
+
+python_test() {
+       if [[ ${EPYTHON} == python2.* ]]; then
+               "${PYTHON}" python2/test_typing.py || die
+       else
+               "${PYTHON}" src/test_typing.py || die
+       fi
+}

diff --git a/dev-python/yapsy/Manifest b/dev-python/yapsy/Manifest
new file mode 100644
index 0000000..12bd7da
--- /dev/null
+++ b/dev-python/yapsy/Manifest
@@ -0,0 +1,3 @@
+DIST Yapsy-1.10.423.tar.gz 152691 SHA256 
9ba7767f63ab591c0ad3fc8b2bd11ac19a0fabb7259bcb1733858eab5bd9b1e1 SHA512 
46447ac2cc2583fcb7fe1c89ded74654efc4d3c9ecc79f955db1e0e9875c9ac2f18e12de3b5f0886c34fdbcdadf601523eb2cd1d8e74b24b791f4f6900dcdcc3
 WHIRLPOOL 
7dbd717a40296f05da0aec09e05b40c039613d0dc8622b337aa21ddc1919c71e48d9e9ed31c8cf4b89a9c06e5752da2eb684bbdcc843c7f1e8e672920e10d20d
+DIST Yapsy-1.11.023.tar.gz 80595 SHA256 
7b494e6cd62cc598d6d6f3be49dd45e9b1670b5d341627f60664d7002e4e0539 SHA512 
98ce3925084119a7760ee5f8ed8904d6d4d39746918ff3eccfc64dd890a99aede0249dc3c97482fd53df441730083f790aa81d459ba4395e66f39248a5e14d79
 WHIRLPOOL 
91a15a51f0d4d64082202366a337ae91e433a426dca6f7c8b71470fb9f8354d36e1c45f5434a0c5a7474b2f3cfdc99c03a616402dbe1a4796519bb7a58be11a4
+DIST Yapsy-1.11.223.tar.gz 80783 SHA256 
45bb39a72461913388d7f3e92ce33816e84fff59946c45e16796eb1fb1d5f2a6 SHA512 
690d0ab78eafede5a75cf7b7bbcfce00b05c7b6f958980c3b67815bcaf848a8098b6e81afd1d95c5821fa4bb7affefab2cde208ff7c8ac7952615c8ddbafe305
 WHIRLPOOL 
05a3682f0c19a2c13ed97e9e17041f5bf7fd35a7928c4ff1bf27881a1575f1d1923c933ade7bb14569a732c6ddbcdffd3cba4ac546e8e4c1263f838876325082

diff --git a/net-im/err/metadata.xml b/dev-python/yapsy/metadata.xml
similarity index 51%
copy from net-im/err/metadata.xml
copy to dev-python/yapsy/metadata.xml
index 9ee79b5..59dcad6 100644
--- a/net-im/err/metadata.xml
+++ b/dev-python/yapsy/metadata.xml
@@ -1,11 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-       <maintainer>
+       <maintainer type="person">
                <email>pinkb...@gentoo.org</email>
                <name>Sergey Popov</name>
        </maintainer>
-       <use>
-               <flag name="plugins">Enable support for installing plugins with 
<pkg>dev-vcs/git</pkg></flag>
-       </use>
+       <maintainer type="project">
+               <email>pyt...@gentoo.org</email>
+               <name>Python</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="sourceforge">yapsy</remote-id>
+       </upstream>
 </pkgmetadata>

diff --git a/dev-python/yapsy/yapsy-1.11.223-r1.ebuild 
b/dev-python/yapsy/yapsy-1.11.223-r1.ebuild
new file mode 100644
index 0000000..e3f29ee
--- /dev/null
+++ b/dev-python/yapsy/yapsy-1.11.223-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+MY_P="Yapsy-${PV}"
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="A fat-free DIY Python plugin management toolkit"
+HOMEPAGE="http://yapsy.sourceforge.net/";
+SRC_URI="mirror://sourceforge/yapsy/${MY_P}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+       doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}/${MY_P}"
+
+python_prepare_all() {
+       # Disable erroneous test
+       sed -e 's:test_default_plugins_place_is_parent_dir:_&:' \
+               -i test/test_PluginFileLocator.py || die
+       distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+       use doc && emake -C doc html
+}
+
+python_test() {
+       esetup.py test
+}
+
+python_install_all() {
+       use doc && local HTML_DOCS=( doc/_build/html/. )
+       distutils-r1_python_install_all
+}

diff --git a/net-im/err/Manifest b/net-im/err/Manifest
deleted file mode 100644
index 49743a2..0000000
--- a/net-im/err/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-AUX errd.confd 86 SHA256 
2ce2d0233670c1a6077274ff84f9e8f7b65075a5dc8682efadd43f9476437962 SHA512 
880006134b7432bdf60c89b8c930b87aae0450330d936a41db5148d2fa94508e6dfe1930733d59d1effdf217d0f9e0b4b79fa1faed5d0bc7cc2ad4951865bf66
 WHIRLPOOL 
1bf955480a32b0585f3ec1ee1c8f557e19a2cb547189e02e898ba8c74723844e3d5f00cf251ab44002784d0d8a2639082053455823287fb002643b8d3de60503
-AUX errd.initd 481 SHA256 
b4919e1bae84cffbefac8dc4436effee0d7afba01e35acd823d59eb245e45303 SHA512 
d0cb608c10fe009d29a41596656f2dc41df73df202a929b8f35f0cd53a0a35ae3fb95e6cc685f64ac99aea8b9237091c75598d617bc21c1c8a767b0ae17ace7f
 WHIRLPOOL 
d1ef3b17da3690f02283b5fecdc57ea14255756d6c57187ca2f6e9d73c321dacd445285439f695b0caf83d4410efc7a1692d517df98eb61dcf8a6a92a17eed26
-DIST err-1.6.7.tar.gz 98216 SHA256 
16526b36912769ee0cb6afae842ef5fa4b658555143dfffaac4df01a461c6ade SHA512 
bb071f6ae70753cf8fd9b88bb6bd81fd1b2587f6d04b99baa28cf37a07d4b51caeea90b3625831c26a082d12446fd8f8b231c9588facbe4d535669af8653c1c5
 WHIRLPOOL 
b076dd0a2653a973ab1d5ef0cd9895091b00b42a1cb378e68adca1cf4214746a93f04108369f9a935939e295908eec2c9dc0671afc43d109e4be2f7b55d79cb3
-EBUILD err-1.6.7.ebuild 1498 SHA256 
8680f6a3509b326e37e48ba33978704bb087a69138e4e08b835b0228a166d26c SHA512 
d129bcf4db16b6a24e26f5a1cbbc62416e5fbe95a9da6dadccaae477ebbe2722fa46012fea3171a8f773c25313dc59e7f953a8bed64036632640d49efb5136b6
 WHIRLPOOL 
71ee54e923c8ef8f7d1986da126d85209767b5fcf0956ad4a99ee36d103257db30ee2e13de303c6415358c7a41a283624bbf3185bb85c8fa53f8dd227d32ff63
-MISC metadata.xml 344 SHA256 
388fbb3ff322390f625ba1df28374cb50a8250cb5daaa9e5eea0cc949b703c5f SHA512 
540ceb7369bf4b95e214bec22598c49d9fb909bf83c12cb4bb8539ef4076fb17c85d43bf239bfedcd71b1d97fa3b7d3b26ae1e353a54f6e2a542d9892120db6f
 WHIRLPOOL 
b225bc9240c96a6deb207aee6f754f19b3a80c660c81fb46800e818fc6bdd825181cbea5db833eaa325dd20e0c193f1b6038ba66840f303a59264a939b4d1b11

diff --git a/net-im/err/err-1.6.7.ebuild b/net-im/err/err-1.6.7.ebuild
deleted file mode 100644
index 20dc467..0000000
--- a/net-im/err/err-1.6.7.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-DISTUTILS_SRC_TEST="setup.py"
-
-SUPPORT_PYTHON_ABIS="1"
-PYTHON_DEPEND="2:2.7"
-RESTRICT_PYTHON_ABIS="3.*"
-
-inherit distutils eutils user
-
-DESCRIPTION="Plugin based XMPP chatbot designed to be easily deployable, 
extensible and maintainable"
-HOMEPAGE="http://gbin.github.com/err/";
-
-SRC_URI="mirror://pypi/e/${PN}/${P}.tar.gz"
-KEYWORDS="~amd64 ~x86"
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="qt4 +plugins"
-
-RDEPEND="dev-python/dnspython
-       dev-python/jinja
-       dev-python/flask
-       dev-python/python-daemon
-       dev-python/xmpppy
-       dev-python/yapsy
-       qt4? ( dev-python/pyside[X,webkit] )
-       plugins? ( dev-vcs/git )"
-DEPEND="${RDEPEND}
-       dev-python/setuptools"
-
-pkg_setup() {
-       python_pkg_setup
-       ebegin "Creating err group and user"
-       enewgroup 'err'
-       enewuser 'err' -1 -1 -1 'err'
-       eend ${?}
-}
-
-src_install() {
-       # Upstream requires images to be in site-packages directory,
-       # butdoes not install them at all!
-       install_svgs() {
-               insinto "$(python_get_sitedir)"/errbot
-               doins errbot/*.svg
-       }
-       distutils_src_install
-       newinitd "${FILESDIR}"/errd.initd errd
-       newconfd "${FILESDIR}"/errd.confd errd
-       dodir /etc/${PN}
-       dodir /var/lib/${PN}
-       keepdir /var/log/${PN}
-       keepdir /var/run/${PN}
-       fowners -R err:err /var/lib/${PN}
-       fowners -R err:err /var/log/${PN}
-       fowners -R err:err /var/run/${PN}
-       insinto /etc/${PN}
-       newins errbot/config-template.py config.py
-       use qt4 && python_execute_function install_svgs
-}

diff --git a/net-im/errbot/Manifest b/net-im/errbot/Manifest
new file mode 100644
index 0000000..7c2679c
--- /dev/null
+++ b/net-im/errbot/Manifest
@@ -0,0 +1 @@
+DIST errbot-4.0.3.tar.gz 1179360 SHA256 
37e9e618ce4d4a68760ddcd386f39b75f53d4bb960d31c844f7a7ef446ec6e5c SHA512 
19eadad29f223e71c85ef681102eee0ef260d5d04a47840b8a4282ecebffccfc5429c3a1844d4557b160d90632bf949f315f8f03ae783d397be6d927bc446437
 WHIRLPOOL 
3e132d6611b460eaee32d77d1f7dd72989ce7589c1b8b94a49f7ade6dda94773d4533ed655aa781101767a089e8ea051e201ea9b58bb2e24b6b66ace1d4a2f7a

diff --git a/net-im/errbot/errbot-4.0.3.ebuild 
b/net-im/errbot/errbot-4.0.3.ebuild
new file mode 100644
index 0000000..8963ed1
--- /dev/null
+++ b/net-im/errbot/errbot-4.0.3.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+
+inherit distutils-r1 eutils user
+
+DESCRIPTION="Plugin based XMPP chatbot designed to be easily deployable, 
extensible and maintainable"
+HOMEPAGE="http://errbot.io";
+SRC_URI="https://github.com/errbotio/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+# ^^ package on pypi is missing most of the tests
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="hipchat irc qt4 +plugins slack telegram test xmpp"
+
+RDEPEND="dev-python/webtest[${PYTHON_USEDEP}]
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       dev-python/bottle[${PYTHON_USEDEP}]
+       dev-python/threadpool[${PYTHON_USEDEP}]
+       dev-python/rocket-errbot[${PYTHON_USEDEP}]
+       dev-python/requests[${PYTHON_USEDEP}]
+       dev-python/jinja[${PYTHON_USEDEP}]
+       dev-python/pyopenssl[${PYTHON_USEDEP}]
+       dev-python/colorlog[${PYTHON_USEDEP}]
+       dev-python/yapsy[${PYTHON_USEDEP}]
+       dev-python/markdown[${PYTHON_USEDEP}]
+       dev-python/ansi[${PYTHON_USEDEP}]
+       dev-python/pygments[${PYTHON_USEDEP}]
+       dev-python/pygments-markdown-lexer[${PYTHON_USEDEP}]
+       virtual/python-dnspython[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep 
'dev-python/backports-functools-lru-cache[${PYTHON_USEDEP}]' python2_7)
+       $(python_gen_cond_dep 'dev-python/configparser[${PYTHON_USEDEP}]' 
python2_7)
+       $(python_gen_cond_dep 'dev-python/typing[${PYTHON_USEDEP}]' python3_3 
python3_4)
+       hipchat? (
+               dev-python/hypchat[${PYTHON_USEDEP}]
+               dev-python/sleekxmpp[${PYTHON_USEDEP}]
+               dev-python/pyasn1[${PYTHON_USEDEP}]
+               dev-python/pyasn1-modules[${PYTHON_USEDEP}]
+               )
+       irc? ( dev-python/irc[${PYTHON_USEDEP}] )
+       qt4? ( dev-python/pyside[${PYTHON_USEDEP},X,webkit] )
+       plugins? ( dev-vcs/git )
+       slack? ( dev-python/slackclient[${PYTHON_USEDEP}] )
+       telegram? ( dev-python/telegram-bot[${PYTHON_USEDEP}] )
+       xmpp? (
+               dev-python/sleekxmpp[${PYTHON_USEDEP}]
+               dev-python/pyasn1[${PYTHON_USEDEP}]
+               dev-python/pyasn1-modules[${PYTHON_USEDEP}]
+               )"
+DEPEND="${RDEPEND}
+       test? (
+               dev-python/mock[${PYTHON_USEDEP}]
+               dev-python/nose[${PYTHON_USEDEP}]
+               dev-python/pytest[${PYTHON_USEDEP}]
+               dev-python/pytest-xdist[${PYTHON_USEDEP}]
+               )"
+
+# NOTES:
+# 1. Support for BOT_SENTRY option is missing, cause
+#    we do not have apropriate packages in portage yet
+# 2. Internal web server is broken(dunno why :-()
+
+pkg_setup() {
+       ebegin "Creating err group and user"
+       enewgroup 'err'
+       enewuser 'err' -1 -1 -1 'err'
+       eend ${?}
+}
+
+python_prepare_all() {
+       # Remove config from requirements as it is NOT needed
+       sed -i \
+               -e "/install_requires/s/, 'config'//" \
+               setup.py || die
+
+       distutils-r1_python_prepare_all
+}
+
+python_install_all() {
+       distutils-r1_python_install_all
+
+       newinitd "${FILESDIR}"/errd.initd errd
+       newconfd "${FILESDIR}"/errd.confd errd
+
+       dodir /etc/${PN}
+       dodir /var/lib/${PN}
+       keepdir /var/log/${PN}
+       fowners -R err:err /var/lib/${PN}
+       fowners -R err:err /var/log/${PN}
+
+       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
+               local python_moduleroot=errbot
+               python_domodule errbot/*.svg
+       fi
+}

diff --git a/net-im/err/files/errd.confd b/net-im/errbot/files/errd.confd
similarity index 100%
rename from net-im/err/files/errd.confd
rename to net-im/errbot/files/errd.confd

diff --git a/net-im/err/files/errd.initd b/net-im/errbot/files/errd.initd
similarity index 100%
rename from net-im/err/files/errd.initd
rename to net-im/errbot/files/errd.initd

diff --git a/net-im/err/metadata.xml b/net-im/errbot/metadata.xml
similarity index 100%
rename from net-im/err/metadata.xml
rename to net-im/errbot/metadata.xml

diff --git a/virtual/python-dnspython/metadata.xml 
b/virtual/python-dnspython/metadata.xml
new file mode 100644
index 0000000..e24dd86
--- /dev/null
+++ b/virtual/python-dnspython/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="project">
+    <email>pyt...@gentoo.org</email>
+    <name>Python</name>
+  </maintainer>
+</pkgmetadata>

diff --git a/virtual/python-dnspython/python-dnspython-1-r1.ebuild 
b/virtual/python-dnspython/python-dnspython-1-r1.ebuild
new file mode 100644
index 0000000..dbcb658
--- /dev/null
+++ b/virtual/python-dnspython/python-dnspython-1-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+
+inherit python-r1
+
+DESCRIPTION="A virtual for dnspython, for Python 2 & 3"
+HOMEPAGE=""
+SRC_URI=""
+
+LICENSE=""
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+       !dev-python/dnspython:0
+       $(python_gen_cond_dep 'dev-python/dnspython:py2[${PYTHON_USEDEP}]' 
'python2*')
+       $(python_gen_cond_dep 'dev-python/dnspython:py3[${PYTHON_USEDEP}]' 
'python3*')"
+DEPEND="!dev-python/dnspython:0"

Reply via email to