Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/ws4py: ws4py-0.2.3.ebuild ChangeLog
Date: Wed, 31 Oct 2012 06:51:28
Message-Id: 20121031065109.9488221600@flycatcher.gentoo.org
1 patrick 12/10/31 06:51:09
2
3 Modified: ChangeLog
4 Added: ws4py-0.2.3.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.6 dev-python/ws4py/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ws4py/ChangeLog?rev=1.6&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ws4py/ChangeLog?rev=1.6&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ws4py/ChangeLog?r1=1.5&r2=1.6
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/ws4py/ChangeLog,v
20 retrieving revision 1.5
21 retrieving revision 1.6
22 diff -u -r1.5 -r1.6
23 --- ChangeLog 17 Jul 2012 02:11:37 -0000 1.5
24 +++ ChangeLog 31 Oct 2012 06:51:09 -0000 1.6
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/ws4py
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/ws4py/ChangeLog,v 1.5 2012/07/17 02:11:37 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/ws4py/ChangeLog,v 1.6 2012/10/31 06:51:09 patrick Exp $
30 +
31 +*ws4py-0.2.3 (31 Oct 2012)
32 +
33 + 31 Oct 2012; Patrick Lauer <patrick@g.o> +ws4py-0.2.3.ebuild:
34 + Bump
35
36 *ws4py-0.2.2 (17 Jul 2012)
37
38
39
40
41 1.1 dev-python/ws4py/ws4py-0.2.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ws4py/ws4py-0.2.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ws4py/ws4py-0.2.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ws4py-0.2.3.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/ws4py/ws4py-0.2.3.ebuild,v 1.1 2012/10/31 06:51:09 patrick Exp $
51
52 # The gevent package isn't in the tree yet, so we delete
53 # those implementations.
54 #
55 # We could depend on dev-python/cherrypy when USE=server, but
56 # that is an optional component ...
57 # Same for www-servers/tornado and USE=client ...
58
59 EAPI="4"
60 PYTHON_DEPEND="2:2.6"
61 DISTUTILS_SRC_TEST="setup.py"
62
63 inherit distutils eutils
64 if [[ ${PV} == "9999" ]] ; then
65 EGIT_REPO_URI="git://github.com/Lawouach/WebSocket-for-Python.git"
66 inherit git-2
67 else
68 inherit vcs-snapshot
69 SRC_URI="https://github.com/Lawouach/WebSocket-for-Python/tarball/v${PV} -> ${P}.tar.gz"
70 KEYWORDS="~amd64 ~arm ~x86"
71 fi
72
73 DESCRIPTION="WebSocket support for Python"
74 HOMEPAGE="https://github.com/Lawouach/WebSocket-for-Python"
75
76 LICENSE="BSD"
77 SLOT="0"
78 IUSE="+client +server test +threads"
79
80 RDEPEND="client? ( dev-lang/python[threads?] )"
81 DEPEND="test? (
82 ${RDEPEND}
83 dev-python/unittest2
84 dev-python/cherrypy
85 dev-python/gevent
86 )"
87
88 src_prepare() {
89 sed -i -e 's/tests_require=['unittest2', 'gevent', 'cherrypy'],//' setup.py || die "Fail"
90 }
91
92 src_install() {
93 distutils_src_install
94 # We don't have a gevent pkg in the tree, so punt.
95 rm -rf "${ED}$(python_get_sitedir)"/ws4py/*/gevent*.py
96 use client || rm -rf "${ED}$(python_get_sitedir)"/ws4py/client
97 use server || rm -rf "${ED}$(python_get_sitedir)"/ws4py/server
98 }