From 2b1c2b9b677120481952e711ef78d847eef57ad0 Mon Sep 17 00:00:00 2001 From: Sergey Popov Date: Fri, 13 Jul 2018 13:09:55 +0300 Subject: net-im/err: revision bump Bump EAPI to 7, move to unified twisted dependency. Drop old revision. Reported-by: Brian Dolbec Closes: https://bugs.gentoo.org/660652 Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- net-im/err/err-1.7.1-r1.ebuild | 78 ------------------------------------------ net-im/err/err-1.7.1-r2.ebuild | 77 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+), 78 deletions(-) delete mode 100644 net-im/err/err-1.7.1-r1.ebuild create mode 100644 net-im/err/err-1.7.1-r2.ebuild (limited to 'net-im/err') diff --git a/net-im/err/err-1.7.1-r1.ebuild b/net-im/err/err-1.7.1-r1.ebuild deleted file mode 100644 index ebb937892546..000000000000 --- a/net-im/err/err-1.7.1-r1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 eutils user - -DESCRIPTION="Plugin based XMPP chatbot designed to be easily deployable, extensible and maintainable" -HOMEPAGE="https://gbin.github.com/err/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -KEYWORDS="~amd64 ~x86" -LICENSE="GPL-3" -SLOT="0" -IUSE="irc +plugins" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND=" - dev-python/flask[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/pyfire[${PYTHON_USEDEP}] - dev-python/python-daemon[${PYTHON_USEDEP}] - dev-python/xmpppy[${PYTHON_USEDEP}] - dev-python/yapsy[${PYTHON_USEDEP}] - virtual/python-dnspython[${PYTHON_USEDEP}] - irc? ( - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/twisted-core[${PYTHON_USEDEP}] - dev-python/twisted-words[${PYTHON_USEDEP}] - ) - plugins? ( dev-vcs/git )" - -# Testsuite is broken since 1.6.3 -RESTRICT="test" - -# NOTES: -# 1. It has bundled libs - for example exrex(see 'errbot/bundled' subfolder) -# 2. Support for BOT_SENTRY option is missing, cause -# we do not have apropriate packages in portage yet -# 3. 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 configparser and config from requirements as they are NOT needed - sed -i \ - -e "/install_requires/s/'configparser', //" \ - -e "/install_requires/s/, 'config'//" \ - setup.py || die - - # Tests are broken and should not be installed - rm -r tests || 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 -} diff --git a/net-im/err/err-1.7.1-r2.ebuild b/net-im/err/err-1.7.1-r2.ebuild new file mode 100644 index 000000000000..6ed14b926aec --- /dev/null +++ b/net-im/err/err-1.7.1-r2.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 eutils user + +DESCRIPTION="Plugin based chatbot designed to be easily deployable, extensible and maintainable" +HOMEPAGE="https://errbot.io/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +LICENSE="GPL-3" +SLOT="0" +IUSE="irc +plugins" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND=" + dev-python/flask[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/pyfire[${PYTHON_USEDEP}] + dev-python/python-daemon[${PYTHON_USEDEP}] + dev-python/xmpppy[${PYTHON_USEDEP}] + dev-python/yapsy[${PYTHON_USEDEP}] + virtual/python-dnspython[${PYTHON_USEDEP}] + irc? ( + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/twisted[${PYTHON_USEDEP}] + ) + plugins? ( dev-vcs/git )" + +# Testsuite is broken since 1.6.3 +RESTRICT="test" + +# NOTES: +# 1. It has bundled libs - for example exrex(see 'errbot/bundled' subfolder) +# 2. Support for BOT_SENTRY option is missing, cause +# we do not have apropriate packages in portage yet +# 3. 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 configparser and config from requirements as they are NOT needed + sed -i \ + -e "/install_requires/s/'configparser', //" \ + -e "/install_requires/s/, 'config'//" \ + setup.py || die + + # Tests are broken and should not be installed + rm -r tests || 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} + 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 +} -- cgit v1.2.3-65-gdbad