From 9e4f2f5b0b4df8ab2ac0d6f637f8182710d39839 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 6 Oct 2014 09:23:06 -0700 Subject: [PATCH 1/1] dev-python/dj-email-url: Add this (indirect) Raven test dependency --- dj-email-url-9999.ebuild | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 dj-email-url-9999.ebuild diff --git a/dj-email-url-9999.ebuild b/dj-email-url-9999.ebuild new file mode 100644 index 0000000..6e5d02c --- /dev/null +++ b/dj-email-url-9999.ebuild @@ -0,0 +1,35 @@ +# 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/migonzalvar/${PN}.git" + SRC_URI="" +else + SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" +fi + +DESCRIPTION="Use a URL to configure email backend settings in your Django Application" +HOMEPAGE="http://github.com/migonzalvar/dj-email-url https://pypi.python.org/pypi/dj-email-url" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + dev-python/django[${PYTHON_USEDEP}] + " +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + " + +python_test() { + "${EPYTHON}" test_dj_email_url.py || die "Tests fail with ${EPYTHON}" +} -- 2.26.2