diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2013-04-03 10:36:10 +0000 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2013-04-03 10:36:10 +0000 |
commit | 1f266cb1f026d7ba3a7340b062217bb9158b3b5b (patch) | |
tree | 38cf9b8c023a2f0cc2ceba6261a04767b95df3bf /net-im/err | |
parent | Add comments to confd file, add upstream info to metadata (diff) | |
download | gentoo-2-1f266cb1f026d7ba3a7340b062217bb9158b3b5b.tar.gz gentoo-2-1f266cb1f026d7ba3a7340b062217bb9158b3b5b.tar.bz2 gentoo-2-1f266cb1f026d7ba3a7340b062217bb9158b3b5b.zip |
Version bump
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'net-im/err')
-rw-r--r-- | net-im/err/ChangeLog | 7 | ||||
-rw-r--r-- | net-im/err/err-1.6.1.ebuild | 74 |
2 files changed, 80 insertions, 1 deletions
diff --git a/net-im/err/ChangeLog b/net-im/err/ChangeLog index 5c3a90464c7d..5a498db2ad7c 100644 --- a/net-im/err/ChangeLog +++ b/net-im/err/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-im/err # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/err/ChangeLog,v 1.11 2013/04/03 10:35:34 pinkbyte Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/err/ChangeLog,v 1.12 2013/04/03 10:36:09 pinkbyte Exp $ + +*err-1.6.1 (03 Apr 2013) + + 03 Apr 2013; Sergey Popov <pinkbyte@gentoo.org> +err-1.6.1.ebuild: + Version bump 03 Apr 2013; Sergey Popov <pinkbyte@gentoo.org> files/errd.confd, metadata.xml: diff --git a/net-im/err/err-1.6.1.ebuild b/net-im/err/err-1.6.1.ebuild new file mode 100644 index 000000000000..b39ab92e99aa --- /dev/null +++ b/net-im/err/err-1.6.1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/err/err-1.6.1.ebuild,v 1.1 2013/04/03 10:36:10 pinkbyte Exp $ + +EAPI=5 + +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" + +DEPEND="dev-python/setuptools" +# NOTES: +# 1. It has bundled libs - for example exrex(see 'errbot/bundled' subfolder) +RDEPEND="dev-python/dnspython + dev-python/flask + dev-python/jinja + dev-python/pyfire + dev-python/python-daemon + dev-python/simplejson + dev-python/xmpppy + dev-python/yapsy + qt4? ( dev-python/pyside[X,webkit] ) + plugins? ( dev-vcs/git )" + +pkg_setup() { + python_pkg_setup + ebegin "Creating err group and user" + enewgroup 'err' + enewuser 'err' -1 -1 -1 'err' + eend ${?} +} + +src_prepare() { + # Remove configparser from requirements + sed -i "s/'configparser', //" setup.py || die "remove configparser from setup.py failed" + distutils_src_prepare +} + +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} + fowners -R err:err /var/lib/${PN} + fowners -R err:err /var/log/${PN} + + insinto /etc/${PN} + newins errbot/config-template.py config.py + + use qt4 && python_execute_function install_svgs +} |