summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2012-09-16 11:05:25 +0000
committerSergey Popov <pinkbyte@gentoo.org>2012-09-16 11:05:25 +0000
commit96042f1b802775df6f4b52cbc4b9a9bf833c1464 (patch)
tree09681602196353165d9b08215fab0ed4eb86cba6 /net-im/err
parentStable for amd64, wrt bug #435114 (diff)
downloadgentoo-2-96042f1b802775df6f4b52cbc4b9a9bf833c1464.tar.gz
gentoo-2-96042f1b802775df6f4b52cbc4b9a9bf833c1464.tar.bz2
gentoo-2-96042f1b802775df6f4b52cbc4b9a9bf833c1464.zip
Version bump to 1.5.1
(Portage version: 2.2.0_alpha125/cvs/Linux x86_64)
Diffstat (limited to 'net-im/err')
-rw-r--r--net-im/err/ChangeLog7
-rw-r--r--net-im/err/err-1.5.1.ebuild61
2 files changed, 67 insertions, 1 deletions
diff --git a/net-im/err/ChangeLog b/net-im/err/ChangeLog
index e5e3fef37bed..f5e7738c4306 100644
--- a/net-im/err/ChangeLog
+++ b/net-im/err/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-im/err
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/err/ChangeLog,v 1.4 2012/08/30 18:34:14 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/err/ChangeLog,v 1.5 2012/09/16 11:05:25 pinkbyte Exp $
+
+*err-1.5.1 (16 Sep 2012)
+
+ 16 Sep 2012; Sergey Popov <pinkbyte@gentoo.org> +err-1.5.1.ebuild:
+ Version bump
30 Aug 2012; Sergey Popov <pinkbyte@gentoo.org> metadata.xml:
Set correct email address, drop proxy maintainer
diff --git a/net-im/err/err-1.5.1.ebuild b/net-im/err/err-1.5.1.ebuild
new file mode 100644
index 000000000000..b2fc27fb1100
--- /dev/null
+++ b/net-im/err/err-1.5.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/err/err-1.5.1.ebuild,v 1.1 2012/09/16 11:05:25 pinkbyte Exp $
+
+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"
+
+DEPEND="dev-python/setuptools"
+RDEPEND="dev-python/dnspython
+ dev-python/jinja
+ dev-python/python-daemon
+ 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_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
+}