2012-05-09 01:43:18 +04:00
|
|
|
# Copyright 1999-2012 Gentoo Foundation
|
2011-11-09 11:33:19 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2012-05-21 22:44:40 +04:00
|
|
|
# $Header: /var/cvsroot/gentoo-x86/www-servers/tornado/tornado-2.2.1.ebuild,v 1.3 2012/05/21 12:24:16 phajdan.jr Exp $
|
2011-11-09 11:33:19 +04:00
|
|
|
|
|
|
|
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"
|
2012-05-21 22:44:40 +04:00
|
|
|
KEYWORDS="amd64 x86"
|
2011-11-09 11:33:19 +04:00
|
|
|
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
|
|
|
|
}
|