* [gentoo-commits] gentoo-x86 commit in dev-python/ws4py: ws4py-0.2.4.ebuild ws4py-0.2.3.ebuild ChangeLog
@ 2013-01-11 15:50 Ian Delaney (idella4)
0 siblings, 0 replies; only message in thread
From: Ian Delaney (idella4) @ 2013-01-11 15:50 UTC (permalink / raw
To: gentoo-commits
idella4 13/01/11 15:50:38
Modified: ws4py-0.2.3.ebuild ChangeLog
Added: ws4py-0.2.4.ebuild
Log:
0.2.3.ebuild; corrections re gevent now present in portage, adjusted PYTHON_DEPEND to encompass py3 and pypy, set cherrypy to minimal version in DEPEND, discarded sed stmnt added cherrypy_test.patch to src_prepare acquired upstream, fixes issue 72, fixes Bug #450638 by Ago, version bump 0.2.4 with all these features
(Portage version: 2.1.11.30/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Revision Changes Path
1.3 dev-python/ws4py/ws4py-0.2.3.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ws4py/ws4py-0.2.3.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ws4py/ws4py-0.2.3.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ws4py/ws4py-0.2.3.ebuild?r1=1.2&r2=1.3
Index: ws4py-0.2.3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/ws4py/ws4py-0.2.3.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ws4py-0.2.3.ebuild 6 Jan 2013 19:56:07 -0000 1.2
+++ ws4py-0.2.3.ebuild 11 Jan 2013 15:50:38 -0000 1.3
@@ -1,17 +1,15 @@
# Copyright 1999-2013 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.2 2013/01/06 19:56:07 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/ws4py/ws4py-0.2.3.ebuild,v 1.3 2013/01/11 15:50:38 idella4 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"
+PYTHON_DEPEND="*:2.6"
+SUPPORT_PYTHON_ABIS="1"
+DISTUTILS_SRC_TEST="py.test"
inherit distutils eutils
if [[ ${PV} == "9999" ]] ; then
@@ -34,18 +32,17 @@
DEPEND="test? (
${RDEPEND}
virtual/python-unittest2
- dev-python/cherrypy
+ >=dev-python/cherrypy-3.2.0
dev-python/gevent
)"
src_prepare() {
- sed -i -e 's/tests_require=['unittest2', 'gevent', 'cherrypy'],//' setup.py || die "Fail"
+ epatch "${FILESDIR}"/${PN}-0.2-cherrypy_test.patch
+ distutils_src_prepare
}
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
}
1.8 dev-python/ws4py/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ws4py/ChangeLog?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ws4py/ChangeLog?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ws4py/ChangeLog?r1=1.7&r2=1.8
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/ws4py/ChangeLog,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ChangeLog 6 Jan 2013 19:56:07 -0000 1.7
+++ ChangeLog 11 Jan 2013 15:50:38 -0000 1.8
@@ -1,6 +1,16 @@
# ChangeLog for dev-python/ws4py
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/ws4py/ChangeLog,v 1.7 2013/01/06 19:56:07 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/ws4py/ChangeLog,v 1.8 2013/01/11 15:50:38 idella4 Exp $
+
+*ws4py-0.2.4 (11 Jan 2013)
+
+ 11 Jan 2013; Ian Delaney <idella4@gentoo.org>
+ +files/ws4py-0.2-cherrypy_test.patch, +ws4py-0.2.4.ebuild, ws4py-0.2.3.ebuild:
+ 0.2.3.ebuild; corrections re gevent now present in portage, adjusted
+ PYTHON_DEPEND to encompass py3 and pypy, set cherrypy to minimal version in
+ DEPEND, discarded sed stmnt added cherrypy_test.patch to src_prepare acquired
+ upstream, fixes issue 72, fixes Bug #450638 by Ago, version bump 0.2.4 with
+ all these features
06 Jan 2013; Michał Górny <mgorny@gentoo.org> ws4py-0.2.3.ebuild:
Use virtual/python-unittest2.
1.1 dev-python/ws4py/ws4py-0.2.4.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ws4py/ws4py-0.2.4.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ws4py/ws4py-0.2.4.ebuild?rev=1.1&content-type=text/plain
Index: ws4py-0.2.4.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/ws4py/ws4py-0.2.4.ebuild,v 1.1 2013/01/11 15:50:38 idella4 Exp $
# 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.6"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="*-jython"
DISTUTILS_SRC_TEST="py.test"
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}
virtual/python-unittest2
>=dev-python/cherrypy-3.2.0
dev-python/gevent
)"
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.2-cherrypy_test.patch
distutils_src_prepare
}
src_install() {
distutils_src_install
use client || rm -rf "${ED}$(python_get_sitedir)"/ws4py/client
use server || rm -rf "${ED}$(python_get_sitedir)"/ws4py/server
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-01-11 15:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-11 15:50 [gentoo-commits] gentoo-x86 commit in dev-python/ws4py: ws4py-0.2.4.ebuild ws4py-0.2.3.ebuild ChangeLog Ian Delaney (idella4)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox