dev-python/aiohttp: Add this dev-python/raven test dependency dev-python/aiohttp
authorW. Trevor King <wking@tremily.us>
Tue, 30 Sep 2014 23:27:30 +0000 (16:27 -0700)
committerW. Trevor King <wking@tremily.us>
Tue, 30 Sep 2014 23:27:30 +0000 (16:27 -0700)
aiohttp-9999.ebuild [new file with mode: 0644]

diff --git a/aiohttp-9999.ebuild b/aiohttp-9999.ebuild
new file mode 100644 (file)
index 0000000..c154295
--- /dev/null
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+PYTHON_COMPAT=( python{3_3,3_4} )
+
+inherit distutils-r1
+
+if [[ "${PV}" == "9999" ]]; then
+       inherit git-2
+       EGIT_REPO_URI="git://github.com/KeepSafe/${PN}.git"
+       SRC_URI=""
+else
+       SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+fi
+
+DESCRIPTION="HTTP client/server for asyncio"
+HOMEPAGE="https://github.com/KeepSafe/aiohttp https://pypi.python.org/pypi/aiohttp"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+       python_targets_python3_3? (
+               dev-python/asyncio[python_targets_python3_3]
+       )"
+DEPEND="
+       test? (
+               ${RDEPEND}
+               dev-python/chardet[${PYTHON_USEDEP}]
+               dev-python/gunicorn[${PYTHON_USEDEP}]
+               dev-python/nose[${PYTHON_USEDEP}]
+       )"
+
+python_test() {
+       esetup.py test
+}