diff options
author | Patrick Lauer <patrick@gentoo.org> | 2012-10-31 06:51:09 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2012-10-31 06:51:09 +0000 |
commit | d241f5b8f765550fd6928490e61f1042c5d6a347 (patch) | |
tree | be77bd95ce770ff4fa18acc480ffe9450e90b033 /dev-python/ws4py | |
parent | Remove version that requires a specific boost version. (diff) | |
download | gentoo-2-d241f5b8f765550fd6928490e61f1042c5d6a347.tar.gz gentoo-2-d241f5b8f765550fd6928490e61f1042c5d6a347.tar.bz2 gentoo-2-d241f5b8f765550fd6928490e61f1042c5d6a347.zip |
Bump
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-python/ws4py')
-rw-r--r-- | dev-python/ws4py/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/ws4py/ws4py-0.2.3.ebuild | 51 |
2 files changed, 57 insertions, 1 deletions
diff --git a/dev-python/ws4py/ChangeLog b/dev-python/ws4py/ChangeLog index e095a5ae1b9b..300a0ddff74f 100644 --- a/dev-python/ws4py/ChangeLog +++ b/dev-python/ws4py/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/ws4py # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/ws4py/ChangeLog,v 1.5 2012/07/17 02:11:37 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/ws4py/ChangeLog,v 1.6 2012/10/31 06:51:09 patrick Exp $ + +*ws4py-0.2.3 (31 Oct 2012) + + 31 Oct 2012; Patrick Lauer <patrick@gentoo.org> +ws4py-0.2.3.ebuild: + Bump *ws4py-0.2.2 (17 Jul 2012) diff --git a/dev-python/ws4py/ws4py-0.2.3.ebuild b/dev-python/ws4py/ws4py-0.2.3.ebuild new file mode 100644 index 000000000000..9c964ff59ae7 --- /dev/null +++ b/dev-python/ws4py/ws4py-0.2.3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/ws4py/ws4py-0.2.3.ebuild,v 1.1 2012/10/31 06:51:09 patrick Exp $ + +# The gevent package isn't in the tree yet, so we delete +# those implementations. +# +# We could depend on dev-python/cherrypy when USE=server, but +# that is an optional component ... +# Same for www-servers/tornado and USE=client ... + +EAPI="4" +PYTHON_DEPEND="2:2.6" +DISTUTILS_SRC_TEST="setup.py" + +inherit distutils eutils +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://github.com/Lawouach/WebSocket-for-Python.git" + inherit git-2 +else + inherit vcs-snapshot + SRC_URI="https://github.com/Lawouach/WebSocket-for-Python/tarball/v${PV} -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~x86" +fi + +DESCRIPTION="WebSocket support for Python" +HOMEPAGE="https://github.com/Lawouach/WebSocket-for-Python" + +LICENSE="BSD" +SLOT="0" +IUSE="+client +server test +threads" + +RDEPEND="client? ( dev-lang/python[threads?] )" +DEPEND="test? ( + ${RDEPEND} + dev-python/unittest2 + dev-python/cherrypy + dev-python/gevent + )" + +src_prepare() { + sed -i -e 's/tests_require=['unittest2', 'gevent', 'cherrypy'],//' setup.py || die "Fail" +} + +src_install() { + distutils_src_install + # We don't have a gevent pkg in the tree, so punt. + rm -rf "${ED}$(python_get_sitedir)"/ws4py/*/gevent*.py + use client || rm -rf "${ED}$(python_get_sitedir)"/ws4py/client + use server || rm -rf "${ED}$(python_get_sitedir)"/ws4py/server +} |