Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ws4py/
Date: Sun, 29 Dec 2019 08:53:34
Message-Id: 1577609581.feaf5dc94fd78182e793d40b81064f40315afdac.soap@gentoo
1 commit: feaf5dc94fd78182e793d40b81064f40315afdac
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 29 08:53:01 2019 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 29 08:53:01 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=feaf5dc9
7
8 dev-python/ws4py: Remove old
9
10 Package-Manager: Portage-2.3.83, Repoman-2.3.20
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 dev-python/ws4py/ws4py-0.3.4.ebuild | 52 -------------------------------------
14 1 file changed, 52 deletions(-)
15
16 diff --git a/dev-python/ws4py/ws4py-0.3.4.ebuild b/dev-python/ws4py/ws4py-0.3.4.ebuild
17 deleted file mode 100644
18 index 25713f224f7..00000000000
19 --- a/dev-python/ws4py/ws4py-0.3.4.ebuild
20 +++ /dev/null
21 @@ -1,52 +0,0 @@
22 -# Copyright 1999-2019 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -# We could depend on dev-python/cherrypy when USE=server, but
26 -# that is an optional component ...
27 -# Same for www-servers/tornado and USE=client ... so why not???
28 -# pypy is viable but better with a cutdown set of deps
29 -
30 -EAPI=5
31 -PYTHON_COMPAT=( python{2_7,3_5} )
32 -PYTHON_REQ_USE="threads?"
33 -
34 -inherit distutils-r1
35 -if [[ ${PV} == *9999* ]] ; then
36 - EGIT_REPO_URI="https://github.com/Lawouach/WebSocket-for-Python.git"
37 - inherit git-r3
38 -else
39 - inherit vcs-snapshot
40 - SRC_URI="https://github.com/Lawouach/WebSocket-for-Python/archive/v${PV} -> ${P}.tar.gz"
41 - KEYWORDS="amd64 arm x86"
42 -fi
43 -
44 -DESCRIPTION="WebSocket client and server library for Python 2 and 3 as well as PyPy"
45 -HOMEPAGE="https://github.com/Lawouach/WebSocket-for-Python"
46 -
47 -LICENSE="BSD"
48 -SLOT="0"
49 -IUSE="+client +server test +threads"
50 -RESTRICT="!test? ( test )"
51 -# doc build requires sphinxcontrib ext packages absent from portage
52 -
53 -RDEPEND=">=dev-python/greenlet-0.4.1[${PYTHON_USEDEP}]
54 - $(python_gen_cond_dep 'dev-python/gevent[${PYTHON_USEDEP}]' python2_7)
55 - >=dev-python/cython-0.19.1[${PYTHON_USEDEP}]
56 - client? ( >=www-servers/tornado-3.1[${PYTHON_USEDEP}] )
57 - server? ( >=dev-python/cherrypy-3.2.4[${PYTHON_USEDEP}] )"
58 -DEPEND="test? (
59 - >=dev-python/cherrypy-3.2.4[${PYTHON_USEDEP}]
60 - dev-python/unittest2[${PYTHON_USEDEP}]
61 - >=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
62 - )"
63 -
64 -python_test() {
65 - # testsuite displays an issue with mock under py3 but is non fatal
66 - "${PYTHON}" -m unittest discover || die "Tests failed under ${EPYTHON}"
67 -}
68 -
69 -python_install() {
70 - distutils-r1_python_install
71 - use client || rm -rf "${D}$(python_get_sitedir)"/ws4py/client
72 - use server || rm -rf "${D}$(python_get_sitedir)"/ws4py/server
73 -}