From 301b296f90f270c5fcc152e74409e785e1723b11 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 4 Oct 2014 13:33:06 -0700 Subject: [PATCH 1/1] dev-python/django-cache-url: Add this (indirect) Raven test dependency --- django-cache-url-9999.ebuild | 38 ++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 django-cache-url-9999.ebuild diff --git a/django-cache-url-9999.ebuild b/django-cache-url-9999.ebuild new file mode 100644 index 0000000..58ea8bf --- /dev/null +++ b/django-cache-url-9999.ebuild @@ -0,0 +1,38 @@ +# 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/ghickman/${PN}.git" + SRC_URI="" +else + SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" +fi + +DESCRIPTION="Use Cache URLs in your Django application" +HOMEPAGE="http://github.com/ghickman/django-cache-url https://pypi.python.org/pypi/django-cache-url" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + dev-python/django[${PYTHON_USEDEP}] + " +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] + )" + +python_test() { + nosetests || die "Tests fail with ${EPYTHON}" +} -- 2.26.2