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: metadata.xml ChangeLog err-1.7.1.ebuild err-1.6.1.ebuild err-1.3.1-r1.ebuild err-1.5.1-r1.ebuild
Date: Sat, 05 Oct 2013 16:24:21
Message-Id: 20131005162415.B90AB2004C@flycatcher.gentoo.org
1 pinkbyte 13/10/05 16:24:15
2
3 Modified: metadata.xml ChangeLog
4 Added: err-1.7.1.ebuild
5 Removed: err-1.6.1.ebuild err-1.3.1-r1.ebuild
6 err-1.5.1-r1.ebuild
7 Log:
8 Version bump: EAPI 5, migrate to distutils-r1, optional dependencies for IRC backend. Drop old versions
9
10 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
11
12 Revision Changes Path
13 1.5 net-im/err/metadata.xml
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/err/metadata.xml?rev=1.5&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/err/metadata.xml?rev=1.5&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/err/metadata.xml?r1=1.4&r2=1.5
18
19 Index: metadata.xml
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/net-im/err/metadata.xml,v
22 retrieving revision 1.4
23 retrieving revision 1.5
24 diff -u -r1.4 -r1.5
25 --- metadata.xml 3 Apr 2013 10:35:34 -0000 1.4
26 +++ metadata.xml 5 Oct 2013 16:24:15 -0000 1.5
27 @@ -6,6 +6,7 @@
28 <name>Sergey Popov</name>
29 </maintainer>
30 <use>
31 + <flag name="irc">Pull optional dependencies, needed for IRC backend</flag>
32 <flag name="plugins">Enable support for installing plugins with <pkg>dev-vcs/git</pkg></flag>
33 </use>
34 <upstream>
35
36
37
38 1.14 net-im/err/ChangeLog
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/err/ChangeLog?rev=1.14&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/err/ChangeLog?rev=1.14&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/err/ChangeLog?r1=1.13&r2=1.14
43
44 Index: ChangeLog
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/net-im/err/ChangeLog,v
47 retrieving revision 1.13
48 retrieving revision 1.14
49 diff -u -r1.13 -r1.14
50 --- ChangeLog 17 Apr 2013 07:24:39 -0000 1.13
51 +++ ChangeLog 5 Oct 2013 16:24:15 -0000 1.14
52 @@ -1,6 +1,13 @@
53 # ChangeLog for net-im/err
54 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
55 -# $Header: /var/cvsroot/gentoo-x86/net-im/err/ChangeLog,v 1.13 2013/04/17 07:24:39 pinkbyte Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/net-im/err/ChangeLog,v 1.14 2013/10/05 16:24:15 pinkbyte Exp $
57 +
58 +*err-1.7.1 (05 Oct 2013)
59 +
60 + 05 Oct 2013; Sergey Popov <pinkbyte@g.o> -err-1.3.1-r1.ebuild,
61 + -err-1.5.1-r1.ebuild, -err-1.6.1.ebuild, +err-1.7.1.ebuild, metadata.xml:
62 + Version bump: EAPI 5, migrate to distutils-r1, optional dependencies for IRC
63 + backend. Drop old versions
64
65 17 Apr 2013; Sergey Popov <pinkbyte@g.o> err-1.3.1-r1.ebuild,
66 err-1.5.1-r1.ebuild, err-1.6.1.ebuild:
67
68
69
70 1.1 net-im/err/err-1.7.1.ebuild
71
72 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/err/err-1.7.1.ebuild?rev=1.1&view=markup
73 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/err/err-1.7.1.ebuild?rev=1.1&content-type=text/plain
74
75 Index: err-1.7.1.ebuild
76 ===================================================================
77 # Copyright 1999-2013 Gentoo Foundation
78 # Distributed under the terms of the GNU General Public License v2
79 # $Header: /var/cvsroot/gentoo-x86/net-im/err/err-1.7.1.ebuild,v 1.1 2013/10/05 16:24:15 pinkbyte Exp $
80
81 EAPI=5
82
83 PYTHON_COMPAT=( python2_7 )
84 inherit distutils-r1 eutils user
85
86 DESCRIPTION="Plugin based XMPP chatbot designed to be easily deployable, extensible and maintainable"
87 HOMEPAGE="http://gbin.github.com/err/"
88
89 SRC_URI="mirror://pypi/e/${PN}/${P}.tar.gz"
90 KEYWORDS="~amd64 ~x86"
91 LICENSE="GPL-3"
92 SLOT="0"
93 IUSE="irc qt4 +plugins"
94
95 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
96 RDEPEND="dev-python/dnspython[${PYTHON_USEDEP}]
97 dev-python/flask[${PYTHON_USEDEP}]
98 dev-python/jinja[${PYTHON_USEDEP}]
99 dev-python/pyfire[${PYTHON_USEDEP}]
100 dev-python/python-daemon[${PYTHON_USEDEP}]
101 dev-python/xmpppy
102 dev-python/yapsy[${PYTHON_USEDEP}]
103 irc? (
104 dev-python/pyopenssl[${PYTHON_USEDEP}]
105 dev-python/twisted-core[${PYTHON_USEDEP}]
106 dev-python/twisted-words[${PYTHON_USEDEP}]
107 )
108 qt4? ( dev-python/pyside[${PYTHON_USEDEP},X,webkit] )
109 plugins? ( dev-vcs/git )"
110
111 # Testsuite is broken since 1.6.3
112 RESTRICT="test"
113
114 # NOTES:
115 # 1. It has bundled libs - for example exrex(see 'errbot/bundled' subfolder)
116 # 2. Need to add PYTHON_USEDEP to remaining dev-python/ deps
117 # 3. Support for BOT_SENTRY option is missing, cause
118 # we do not have apropriate packages in portage yet
119 # 4. Internal web server is broken(dunno why :-()
120
121 pkg_setup() {
122 ebegin "Creating err group and user"
123 enewgroup 'err'
124 enewuser 'err' -1 -1 -1 'err'
125 eend ${?}
126 }
127
128 python_prepare_all() {
129 # Remove configparser and config from requirements as they are NOT needed
130 sed -i \
131 -e "/install_requires/s/'configparser', //" \
132 -e "/install_requires/s/, 'config'//" \
133 setup.py || die
134
135 # Tests are broken and should not be installed
136 rm -r tests || die
137
138 distutils-r1_python_prepare_all
139 }
140
141 python_install_all() {
142 distutils-r1_python_install_all
143
144 newinitd "${FILESDIR}"/errd.initd errd
145 newconfd "${FILESDIR}"/errd.confd errd
146
147 dodir /etc/${PN}
148 dodir /var/lib/${PN}
149 keepdir /var/log/${PN}
150 fowners -R err:err /var/lib/${PN}
151 fowners -R err:err /var/log/${PN}
152
153 insinto /etc/${PN}
154 newins errbot/config-template.py config.py
155 }
156
157 python_install() {
158 distutils-r1_python_install
159
160 # Upstream requires images to be in site-packages directory,
161 # but does not install them at all!
162 if use qt4; then
163 local python_moduleroot=errbot
164 python_domodule errbot/*.svg
165 fi
166 }