diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2013-09-28 08:01:01 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2013-09-28 08:01:01 +0000 |
commit | de5647d861a5a3ccfddf136df3718eda3b72a0b9 (patch) | |
tree | b806d59164ff80cb3f9fd61b99b4a47690a19b71 /www-servers | |
parent | Dev channel bump. Fix bug #481812 by floppym. Back to bundled v8 (frequent AP... (diff) | |
download | gentoo-2-de5647d861a5a3ccfddf136df3718eda3b72a0b9.tar.gz gentoo-2-de5647d861a5a3ccfddf136df3718eda3b72a0b9.tar.bz2 gentoo-2-de5647d861a5a3ccfddf136df3718eda3b72a0b9.zip |
Version bump, fixes #473574 by Dirkjan Ochtman <djc@gentoo.org>
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x5D21B852895192F9)
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/tornado/ChangeLog | 8 | ||||
-rw-r--r-- | www-servers/tornado/tornado-3.1.1.ebuild | 38 |
2 files changed, 45 insertions, 1 deletions
diff --git a/www-servers/tornado/ChangeLog b/www-servers/tornado/ChangeLog index bc58d2fd6fbb..89dbfb9c0816 100644 --- a/www-servers/tornado/ChangeLog +++ b/www-servers/tornado/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-servers/tornado # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/tornado/ChangeLog,v 1.37 2013/09/05 19:44:44 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/tornado/ChangeLog,v 1.38 2013/09/28 08:01:01 xarthisius Exp $ + +*tornado-3.1.1 (28 Sep 2013) + + 28 Sep 2013; Kacper Kowalik <xarthisius@gentoo.org> +tornado-3.1.1.ebuild, + tornado-2.4-r1.ebuild: + Version bump, fixes #473574 by Dirkjan Ochtman <djc@gentoo.org> 05 Sep 2013; Michał Górny <mgorny@gentoo.org> tornado-2.4-r1.ebuild, tornado-2.4.1.ebuild: diff --git a/www-servers/tornado/tornado-3.1.1.ebuild b/www-servers/tornado/tornado-3.1.1.ebuild new file mode 100644 index 000000000000..544df8866d83 --- /dev/null +++ b/www-servers/tornado/tornado-3.1.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/tornado/tornado-3.1.1.ebuild,v 1.1 2013/09/28 08:01:01 xarthisius Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 ) + +inherit distutils-r1 + +DESCRIPTION="Scalable, non-blocking web server and tools" +HOMEPAGE="http://www.tornadoweb.org/ http://pypi.python.org/pypi/tornado" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" +IUSE="curl" + +RDEPEND="curl? ( dev-python/pycurl[$(python_gen_usedep 'python2*')] )" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +REQUIRED_USE="curl? ( || ( $(python_gen_useflags python2*) ) )" + +src_test() { + # The test server tries to bind at an unused port but suffers + # a race condition in it. Seems to be fixed already. + # https://github.com/facebook/tornado/blob/master/tornado/test/process_test.py#L64 + local DISTUTILS_NO_PARALLEL_BUILD=1 + + distutils-r1_src_test +} + +python_test() { + cd "${TMPDIR}" || die + "${PYTHON}" -m tornado.test.runtests || die "Tests fail with ${EPYTHON}" +} |