2015-06-04 15:04:50 +03:00
|
|
|
# Copyright 1999-2015 Gentoo Foundation
|
2014-09-21 12:29:27 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-08-10 23:59:40 +03:00
|
|
|
# $Id$
|
2014-09-21 12:29:27 +04:00
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
|
|
|
|
2015-07-29 14:14:15 +03:00
|
|
|
RESTRICT="test" # missing south now
|
|
|
|
|
2014-09-21 12:29:27 +04:00
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
DESCRIPTION="Django test runner that uses nose"
|
|
|
|
HOMEPAGE="https://github.com/jbalogh/django-nose"
|
|
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="BSD"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
2015-06-04 15:04:50 +03:00
|
|
|
IUSE="test"
|
2014-09-21 12:29:27 +04:00
|
|
|
|
2015-06-04 15:04:50 +03:00
|
|
|
RDEPEND=">=dev-python/nose-1.2.1[${PYTHON_USEDEP}]
|
|
|
|
dev-python/django[${PYTHON_USEDEP}]"
|
2015-07-29 14:14:15 +03:00
|
|
|
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
|
|
|
# test? ( ${RDEPEND}
|
|
|
|
# >=dev-python/south-0.7[${PYTHON_USEDEP}] )"
|
2014-09-21 12:29:27 +04:00
|
|
|
|
|
|
|
python_test() {
|
|
|
|
"${PYTHON}" testapp/runtests.py
|
|
|
|
}
|