Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/ws4py: ws4py-0.3.4.ebuild ChangeLog
Date: Sat, 24 May 2014 04:26:23
Message-Id: 20140524042619.4EADA2004E@flycatcher.gentoo.org
1 idella4 14/05/24 04:26:19
2
3 Modified: ChangeLog
4 Added: ws4py-0.3.4.ebuild
5 Log:
6 bump; drop py2.6 add py3 support, add previously known optional deps, update test phase to one that (works for this version)
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
9
10 Revision Changes Path
11 1.13 dev-python/ws4py/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ws4py/ChangeLog?rev=1.13&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ws4py/ChangeLog?rev=1.13&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ws4py/ChangeLog?r1=1.12&r2=1.13
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/ws4py/ChangeLog,v
20 retrieving revision 1.12
21 retrieving revision 1.13
22 diff -u -r1.12 -r1.13
23 --- ChangeLog 3 May 2014 08:12:25 -0000 1.12
24 +++ ChangeLog 24 May 2014 04:26:19 -0000 1.13
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/ws4py
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/ws4py/ChangeLog,v 1.12 2014/05/03 08:12:25 patrick Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/ws4py/ChangeLog,v 1.13 2014/05/24 04:26:19 idella4 Exp $
30 +
31 +*ws4py-0.3.4 (24 May 2014)
32 +
33 + 24 May 2014; Ian Delaney <idella4@g.o> +ws4py-0.3.4.ebuild:
34 + bump; drop py2.6 add py3 support, add previously known optional deps, update
35 + test phase to one that (works for this version)
36
37 *ws4py-0.3.3 (03 May 2014)
38
39
40
41
42 1.1 dev-python/ws4py/ws4py-0.3.4.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ws4py/ws4py-0.3.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ws4py/ws4py-0.3.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ws4py-0.3.4.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/ws4py/ws4py-0.3.4.ebuild,v 1.1 2014/05/24 04:26:19 idella4 Exp $
52
53 # We could depend on dev-python/cherrypy when USE=server, but
54 # that is an optional component ...
55 # Same for www-servers/tornado and USE=client ... so why not???
56 # pypy is viable but better with a cutdown set of deps
57
58 EAPI="5"
59 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
60 PYTHON_REQ_USE="threads?"
61
62 inherit distutils-r1
63 if [[ ${PV} == "9999" ]] ; then
64 EGIT_REPO_URI="git://github.com/Lawouach/WebSocket-for-Python.git"
65 inherit git-2
66 else
67 inherit vcs-snapshot
68 SRC_URI="https://github.com/Lawouach/WebSocket-for-Python/tarball/v${PV} -> ${P}.tar.gz"
69 KEYWORDS="~amd64 ~arm ~x86"
70 fi
71
72 DESCRIPTION="WebSocket client and server library for Python 2 and 3 as well as PyPy"
73 HOMEPAGE="https://github.com/Lawouach/WebSocket-for-Python"
74
75 LICENSE="BSD"
76 SLOT="0"
77 IUSE="+client +server test +threads"
78 # doc build requires sphinxcontrib ext packages absent from portage
79
80 RDEPEND=">=dev-python/greenlet-0.4.1[${PYTHON_USEDEP}]
81 dev-python/gevent[$(python_gen_usedep python2_7)]
82 >=dev-python/cython-0.19.1[${PYTHON_USEDEP}]
83 client? ( >=www-servers/tornado-3.1[${PYTHON_USEDEP}] )
84 server? ( >=dev-python/cherrypy-3.2.4[${PYTHON_USEDEP}] )"
85 DEPEND="test? (
86 >=dev-python/cherrypy-3.2.4[${PYTHON_USEDEP}]
87 dev-python/unittest2[${PYTHON_USEDEP}]
88 >=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
89 )"
90
91 python_test() {
92 # testsuite displays an issue with mock under py3 but is non fatal
93 "${PYTHON}" -m unittest discover || die "Tests failed under ${EPYTHON}"
94 }
95
96 src_install() {
97 distutils-r1_src_install
98 use client || rm -rf "${ED}$(python_get_sitedir)"/ws4py/client
99 use server || rm -rf "${ED}$(python_get_sitedir)"/ws4py/server
100 }