diff options
Diffstat (limited to 'www-servers/tornado/tornado-1.2.1.ebuild')
-rw-r--r-- | www-servers/tornado/tornado-1.2.1.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/www-servers/tornado/tornado-1.2.1.ebuild b/www-servers/tornado/tornado-1.2.1.ebuild new file mode 100644 index 000000000000..386be9f36c8e --- /dev/null +++ b/www-servers/tornado/tornado-1.2.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/tornado/tornado-1.2.1.ebuild,v 1.1 2011/03/03 21:58:19 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.* *-jython" + +inherit distutils + +DESCRIPTION="Scalable, non-blocking web server and tools" +HOMEPAGE="http://www.tornadoweb.org/ http://pypi.python.org/pypi/tornado" +SRC_URI="http://github.com/downloads/facebook/tornado/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-python/pycurl + || ( dev-lang/python:2.7 dev-lang/python:2.6 dev-python/simplejson )" +DEPEND="${RDEPEND} + dev-python/setuptools" + +src_test() { + testing() { + PYTHONPATH="." "$(PYTHON)" tornado/test/runtests.py + } + python_execute_function testing +} |