Gentoo Archives: gentoo-commits

From: "Sergey Popov (pinkbyte)" <pinkbyte@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-im/err: err-1.3.1-r1.ebuild ChangeLog err-1.5.1-r1.ebuild err-1.3.1.ebuild err-1.5.1.ebuild
Date: Tue, 25 Dec 2012 20:40:08
Message-Id: 20121225203953.D53012171D@flycatcher.gentoo.org
1 pinkbyte 12/12/25 20:39:53
2
3 Modified: ChangeLog
4 Added: err-1.3.1-r1.ebuild err-1.5.1-r1.ebuild
5 Removed: err-1.3.1.ebuild err-1.5.1.ebuild
6 Log:
7 Fix pid directory detection, revision bump, drop old revisions wrt bug #448498
8
9 (Portage version: 2.2.0_alpha144/cvs/Linux x86_64, unsigned Manifest commit)
10
11 Revision Changes Path
12 1.10 net-im/err/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/err/ChangeLog?rev=1.10&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/err/ChangeLog?rev=1.10&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/err/ChangeLog?r1=1.9&r2=1.10
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-im/err/ChangeLog,v
21 retrieving revision 1.9
22 retrieving revision 1.10
23 diff -u -r1.9 -r1.10
24 --- ChangeLog 25 Dec 2012 11:31:14 -0000 1.9
25 +++ ChangeLog 25 Dec 2012 20:39:53 -0000 1.10
26 @@ -1,6 +1,15 @@
27 # ChangeLog for net-im/err
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-im/err/ChangeLog,v 1.9 2012/12/25 11:31:14 pinkbyte Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-im/err/ChangeLog,v 1.10 2012/12/25 20:39:53 pinkbyte Exp $
31 +
32 +*err-1.5.1-r1 (25 Dec 2012)
33 +*err-1.3.1-r1 (25 Dec 2012)
34 +
35 + 25 Dec 2012; Sergey Popov <pinkbyte@g.o> -err-1.3.1.ebuild,
36 + +err-1.3.1-r1.ebuild, -err-1.5.1.ebuild, +err-1.5.1-r1.ebuild,
37 + files/errd.initd:
38 + Fix pid directory detection, revision bump, drop old revisions wrt bug
39 + #448498
40
41 25 Dec 2012; Sergey Popov <pinkbyte@g.o> err-1.3.1.ebuild,
42 err-1.5.1.ebuild, files/errd.initd:
43
44
45
46 1.1 net-im/err/err-1.3.1-r1.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/err/err-1.3.1-r1.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/err/err-1.3.1-r1.ebuild?rev=1.1&content-type=text/plain
50
51 Index: err-1.3.1-r1.ebuild
52 ===================================================================
53 # Copyright 1999-2012 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/net-im/err/err-1.3.1-r1.ebuild,v 1.1 2012/12/25 20:39:53 pinkbyte Exp $
56
57 EAPI=4
58
59 DISTUTILS_SRC_TEST="setup.py"
60
61 SUPPORT_PYTHON_ABIS="1"
62 PYTHON_DEPEND="2:2.7"
63 RESTRICT_PYTHON_ABIS="3.*"
64
65 inherit distutils eutils user
66
67 DESCRIPTION="Plugin based XMPP chatbot designed to be easily deployable, extensible and maintainable"
68 HOMEPAGE="http://gbin.github.com/err/"
69
70 SRC_URI="mirror://pypi/e/${PN}/${P}.tar.gz"
71 KEYWORDS="~amd64 ~x86"
72 LICENSE="GPL-3"
73 SLOT="0"
74 IUSE="+plugins"
75
76 DEPEND="dev-python/setuptools"
77 RDEPEND="dev-python/xmpppy
78 dev-python/python-daemon
79 dev-python/yapsy
80 plugins? ( dev-vcs/git )"
81
82 pkg_setup() {
83 python_pkg_setup
84 ebegin "Creating err group and user"
85 enewgroup 'err'
86 enewuser 'err' -1 -1 -1 'err'
87 eend ${?}
88 }
89
90 src_install() {
91 distutils_src_install
92 newinitd "${FILESDIR}"/errd.initd errd
93 newconfd "${FILESDIR}"/errd.confd errd
94 dodir /etc/${PN}
95 dodir /var/lib/${PN}
96 # Create plugins directory here because of err creates it itself with 0777 rights
97 dodir /var/lib/${PN}/plugins
98
99 keepdir /var/log/${PN}
100 fowners -R err:err /var/lib/${PN}
101 fowners -R err:err /var/log/${PN}
102 insinto /etc/${PN}
103 newins errbot/config-template.py config.py
104 }
105
106
107
108 1.1 net-im/err/err-1.5.1-r1.ebuild
109
110 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/err/err-1.5.1-r1.ebuild?rev=1.1&view=markup
111 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/err/err-1.5.1-r1.ebuild?rev=1.1&content-type=text/plain
112
113 Index: err-1.5.1-r1.ebuild
114 ===================================================================
115 # Copyright 1999-2012 Gentoo Foundation
116 # Distributed under the terms of the GNU General Public License v2
117 # $Header: /var/cvsroot/gentoo-x86/net-im/err/err-1.5.1-r1.ebuild,v 1.1 2012/12/25 20:39:53 pinkbyte Exp $
118
119 EAPI=4
120
121 DISTUTILS_SRC_TEST="setup.py"
122
123 SUPPORT_PYTHON_ABIS="1"
124 PYTHON_DEPEND="2:2.7"
125 RESTRICT_PYTHON_ABIS="3.*"
126
127 inherit distutils eutils user
128
129 DESCRIPTION="Plugin based XMPP chatbot designed to be easily deployable, extensible and maintainable"
130 HOMEPAGE="http://gbin.github.com/err/"
131
132 SRC_URI="mirror://pypi/e/${PN}/${P}.tar.gz"
133 KEYWORDS="~amd64 ~x86"
134 LICENSE="GPL-3"
135 SLOT="0"
136 IUSE="qt4 +plugins"
137
138 DEPEND="dev-python/setuptools"
139 RDEPEND="dev-python/dnspython
140 dev-python/jinja
141 dev-python/python-daemon
142 dev-python/xmpppy
143 dev-python/yapsy
144 qt4? ( dev-python/pyside[X,webkit] )
145 plugins? ( dev-vcs/git )"
146
147 pkg_setup() {
148 python_pkg_setup
149 ebegin "Creating err group and user"
150 enewgroup 'err'
151 enewuser 'err' -1 -1 -1 'err'
152 eend ${?}
153 }
154
155 src_install() {
156 # Upstream requires images to be in site-packages directory,
157 # butdoes not install them at all!
158 install_svgs() {
159 insinto "$(python_get_sitedir)"/errbot
160 doins errbot/*.svg
161 }
162 distutils_src_install
163 newinitd "${FILESDIR}"/errd.initd errd
164 newconfd "${FILESDIR}"/errd.confd errd
165 dodir /etc/${PN}
166 dodir /var/lib/${PN}
167 keepdir /var/log/${PN}
168 fowners -R err:err /var/lib/${PN}
169 fowners -R err:err /var/log/${PN}
170 insinto /etc/${PN}
171 newins errbot/config-template.py config.py
172 use qt4 && python_execute_function install_svgs
173 }