summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2018-08-01 16:08:47 +0300
committerSergey Popov <pinkbyte@gentoo.org>2018-08-01 16:11:57 +0300
commit7be9f4f7085eab0f72211f0b9b109fc783bf5fa8 (patch)
tree14460e640bd00e5443b248442bf754e9657fc143 /net-im
parentdev-python/ansi: new package (diff)
downloadgentoo-7be9f4f7085eab0f72211f0b9b109fc783bf5fa8.tar.gz
gentoo-7be9f4f7085eab0f72211f0b9b109fc783bf5fa8.tar.bz2
gentoo-7be9f4f7085eab0f72211f0b9b109fc783bf5fa8.zip
net-im/err: version bump
Reported-by: Leho Kraav <leho@kraav.com> Bug: https://bugs.gentoo.org/525036 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'net-im')
-rw-r--r--net-im/err/Manifest1
-rw-r--r--net-im/err/err-5.2.0.ebuild87
-rw-r--r--net-im/err/metadata.xml32
3 files changed, 104 insertions, 16 deletions
diff --git a/net-im/err/Manifest b/net-im/err/Manifest
index c83e07c39dfa..958feac807e5 100644
--- a/net-im/err/Manifest
+++ b/net-im/err/Manifest
@@ -1 +1,2 @@
DIST err-1.7.1.tar.gz 100716 BLAKE2B 6d47ec4e632210ed313342075f87e1857460b57dc9b32d4487b2980c9c99e2a852d27ae7a5c87ee6d8bc4bcd15577ca11934111f27c81979f8aca9d14223212d SHA512 5be7f6ede6694877e73226de4da58bc47e1230032bc9be8dd3e8fd1448afd1e3ae4c02ecbdb30343b98466bb0d3a8fbfbcb6609c5c50768a9be70b9d22f675a4
+DIST errbot-5.2.0.tar.gz 189305 BLAKE2B 96e275ee2a70fcab217f4a91c855192d8536cc177e0cafe08c8f55e17a09c06913c07e50473f87ea29e4537cd6389907615eba86d44756962ed59a87498be398 SHA512 d879e9da6647d697ead0a5f72fe83cf33614201863a9a62bc62c90d7ac0478e1e0902438c6f053d2ea56c940d68b136bbfa497175fb11647913bd7f139220aec
diff --git a/net-im/err/err-5.2.0.ebuild b/net-im/err/err-5.2.0.ebuild
new file mode 100644
index 000000000000..56e859063a4d
--- /dev/null
+++ b/net-im/err/err-5.2.0.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{3_5,3_6} )
+
+MY_PN="errbot"
+MY_P="${MY_PN}-${PV}"
+
+inherit distutils-r1 user
+
+DESCRIPTION="Multiprotocol chatbot designed to be easily deployable and maintainable"
+HOMEPAGE="http://errbot.io/"
+SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="irc +xmpp"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="
+ dev-python/ansi[${PYTHON_USEDEP}]
+ dev-python/bottle[${PYTHON_USEDEP}]
+ dev-python/colorlog[${PYTHON_USEDEP}]
+ dev-python/cryptography[${PYTHON_USEDEP}]
+ dev-python/daemonize[${PYTHON_USEDEP}]
+ dev-python/jinja[${PYTHON_USEDEP}]
+ dev-python/markdown[${PYTHON_USEDEP}]
+ dev-python/pygments[${PYTHON_USEDEP}]
+ dev-python/pyopenssl[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/webtest[${PYTHON_USEDEP}]
+ dev-python/yapsy[${PYTHON_USEDEP}]
+ virtual/python-dnspython[${PYTHON_USEDEP}]
+ irc? (
+ dev-python/irc[${PYTHON_USEDEP}]
+ )
+ xmpp? (
+ dev-python/pyasn1[${PYTHON_USEDEP}]
+ dev-python/pyasn1-modules[${PYTHON_USEDEP}]
+ dev-python/sleekxmpp[${PYTHON_USEDEP}]
+ )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+# 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)
+
+pkg_setup() {
+ ebegin "Creating err group and user"
+ enewgroup 'err'
+ enewuser 'err' -1 -1 -1 'err'
+ eend ${?}
+}
+
+python_prepare_all() {
+ sed -i \
+ -e '/rocket-errbot/d' \
+ -e 's/dnspython3/dnspython/' \
+ -e '/pygments-markdown-lexer/d' \
+ setup.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ newinitd "${FILESDIR}"/errd.initd.2 errd
+ newconfd "${FILESDIR}"/errd.confd errd
+
+ dodir /etc/${PN}
+ keepdir /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
+}
diff --git a/net-im/err/metadata.xml b/net-im/err/metadata.xml
index e6e55f5a3b8c..93446d15f5a7 100644
--- a/net-im/err/metadata.xml
+++ b/net-im/err/metadata.xml
@@ -1,20 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>pinkbyte@gentoo.org</email>
- <name>Sergey Popov</name>
- </maintainer>
- <use>
- <flag name="irc">Pull optional dependencies, needed for IRC backend</flag>
- <flag name="plugins">Enable support for installing plugins with <pkg>dev-vcs/git</pkg></flag>
- </use>
- <upstream>
- <remote-id type="github">gbin/err</remote-id>
- <maintainer status="active">
- <email>gbin@gootz.net</email>
- <name>Guillaume BINET</name>
- </maintainer>
- <remote-id type="pypi">err</remote-id>
- </upstream>
+ <maintainer type="person">
+ <email>pinkbyte@gentoo.org</email>
+ <name>Sergey Popov</name>
+ </maintainer>
+ <use>
+ <flag name="irc">Pull optional dependencies, needed for IRC backend</flag>
+ <flag name="plugins">Enable support for installing plugins with <pkg>dev-vcs/git</pkg></flag>
+ </use>
+ <upstream>
+ <remote-id type="github">gbin/err</remote-id>
+ <maintainer status="active">
+ <email>gbin@gootz.net</email>
+ <name>Guillaume BINET</name>
+ </maintainer>
+ <remote-id type="pypi">err</remote-id>
+ </upstream>
</pkgmetadata>