diff options
author | Alex Brandt <alunduil@gentoo.org> | 2014-08-31 01:53:22 +0000 |
---|---|---|
committer | Alex Brandt <alunduil@gentoo.org> | 2014-08-31 01:53:22 +0000 |
commit | ffabf79f4121b6a5a4d8273b8a369225824833ec (patch) | |
tree | 3ba4fef162369d8b93ceab3ff5492eea487726d0 /dev-python/websocket-client | |
parent | Add 0.11.0 and 0.17.0 to tree. (diff) | |
download | gentoo-2-ffabf79f4121b6a5a4d8273b8a369225824833ec.tar.gz gentoo-2-ffabf79f4121b6a5a4d8273b8a369225824833ec.tar.bz2 gentoo-2-ffabf79f4121b6a5a4d8273b8a369225824833ec.zip |
fix minor style issues and add missing environment items
idella4 provided cross testing on other pythons (python 3.4 and pypy) and x86
arch as well as feedback on certain style issues. These have been incorporated
into the ebuilds.
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 92FEA28B)
Diffstat (limited to 'dev-python/websocket-client')
-rw-r--r-- | dev-python/websocket-client/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/websocket-client/websocket-client-0.11.0.ebuild | 6 | ||||
-rw-r--r-- | dev-python/websocket-client/websocket-client-0.17.0.ebuild | 9 |
3 files changed, 15 insertions, 10 deletions
diff --git a/dev-python/websocket-client/ChangeLog b/dev-python/websocket-client/ChangeLog index e1978203e597..d29c1a4a6d7b 100644 --- a/dev-python/websocket-client/ChangeLog +++ b/dev-python/websocket-client/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-python/websocket-client # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/websocket-client/ChangeLog,v 1.1 2014/08/31 01:02:48 alunduil Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/websocket-client/ChangeLog,v 1.2 2014/08/31 01:53:22 alunduil Exp $ + + 31 Aug 2014; Alex Brandt <alunduil@gentoo.org> websocket-client-0.11.0.ebuild, + websocket-client-0.17.0.ebuild: + fix minor style issues and add missing environment items idella4 provided + cross testing on other pythons (python 3.4 and pypy) and x86 arch as well as + feedback on certain style issues. These have been incorporated into the + ebuilds. *websocket-client-0.17.0 (31 Aug 2014) *websocket-client-0.11.0 (31 Aug 2014) @@ -10,4 +17,3 @@ +metadata.xml: New ebuild for websocket-client. Ebuild written by me. Partial fix for bug #520912 - diff --git a/dev-python/websocket-client/websocket-client-0.11.0.ebuild b/dev-python/websocket-client/websocket-client-0.11.0.ebuild index b4652c0312e2..dd510c2d042c 100644 --- a/dev-python/websocket-client/websocket-client-0.11.0.ebuild +++ b/dev-python/websocket-client/websocket-client-0.11.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/websocket-client/websocket-client-0.11.0.ebuild,v 1.1 2014/08/31 01:02:48 alunduil Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/websocket-client/websocket-client-0.11.0.ebuild,v 1.2 2014/08/31 01:53:22 alunduil Exp $ EAPI=5 PYTHON_COMPAT=( python2_7 ) @@ -13,14 +13,14 @@ SRC_URI="https://github.com/liris/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~x86" IUSE="examples" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" RDEPEND="" python_test() { - python test_websocket.py || die 'test_websocket' + "${PYTHON}" test_websocket.py || die "Tests failed under ${EPYTHON}" } python_install_all() { diff --git a/dev-python/websocket-client/websocket-client-0.17.0.ebuild b/dev-python/websocket-client/websocket-client-0.17.0.ebuild index 506f919a3b89..dad864e3d9a4 100644 --- a/dev-python/websocket-client/websocket-client-0.17.0.ebuild +++ b/dev-python/websocket-client/websocket-client-0.17.0.ebuild @@ -1,21 +1,20 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/websocket-client/websocket-client-0.17.0.ebuild,v 1.1 2014/08/31 01:02:48 alunduil Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/websocket-client/websocket-client-0.17.0.ebuild,v 1.2 2014/08/31 01:53:22 alunduil Exp $ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_3 ) +PYTHON_COMPAT=( python2_7 python3_3 python3_4 pypy ) inherit distutils-r1 DESCRIPTION="WebSocket client for python. hybi13 is supported" HOMEPAGE="https://github.com/liris/websocket-client" -MY_P="${P/_alpha/a}" SRC_URI="https://github.com/liris/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~x86" IUSE="examples" DEPEND="" @@ -35,7 +34,7 @@ python_prepare_all() { } python_test() { - python tests/test_websocket.py || die 'test_websocket' + "${PYTHON}" tests/test_websocket.py || die "Tests failed under ${EPYTHON}" } python_install_all() { |