dev-python/pytest-django-9999.ebuild: Add this Raven test dependency dev-python/pytest-django
authorW. Trevor King <wking@tremily.us>
Tue, 7 Oct 2014 18:23:33 +0000 (11:23 -0700)
committerW. Trevor King <wking@tremily.us>
Tue, 7 Oct 2014 18:23:33 +0000 (11:23 -0700)
I haven't been able to get the test suite working locally, so I'm
leaving it out of this commit.

pytest-django-9999.ebuild [new file with mode: 0644]

diff --git a/pytest-django-9999.ebuild b/pytest-django-9999.ebuild
new file mode 100644 (file)
index 0000000..ab612ba
--- /dev/null
@@ -0,0 +1,29 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
+
+inherit distutils-r1
+
+if [[ "${PV}" == "9999" ]]; then
+       inherit git-2
+       EGIT_REPO_URI="git://github.com/pytest-dev/${PN}.git"
+       SRC_URI=""
+else
+       SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+fi
+
+DESCRIPTION="A Django plugin for py.test"
+HOMEPAGE="http://pytest-django.readthedocs.org/ https://pypi.python.org/pypi/pytest-django"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND=">=dev-python/pytest-2.5[${PYTHON_USEDEP}]"
+DEPEND="
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       "