Gentoo Archives: gentoo-commits

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