The django-cache-url dependency avoids the following test failure:
Traceback (most recent call last):
File "/.../configurations/utils.py", line 32, in import_by_path
module = import_module(module_path)
File "/usr/lib64/python3.3/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1529, in _find_and_load_unlocked
ImportError: No module named 'django_cache_url'
The dj-database-url dependency avoids the following test failure:
Traceback (most recent call last):
File "/.../configurations/utils.py", line 32, in import_by_path
module = import_module(module_path)
File "/usr/lib64/python3.3/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1529, in _find_and_load_unlocked
ImportError: No module named 'dj_database_url'
The dj-email-url dependency avoids the following test failure:
Traceback (most recent call last):
File "/.../configurations/utils.py", line 32, in import_by_path
module = import_module(module_path)
File "/usr/lib64/python3.3/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1529, in _find_and_load_unlocked
ImportError: No module named 'dj_email_url'
The dj-search-url dependency avoids the following test failure:
Traceback (most recent call last):
File "/.../configurations/utils.py", line 32, in import_by_path
module = import_module(module_path)
File "/usr/lib64/python3.3/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1529, in _find_and_load_unlocked
ImportError: No module named 'dj_search_url'
--- /dev/null
+# 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/jezdez/${PN}.git"
+ SRC_URI=""
+else
+ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+fi
+
+DESCRIPTION="A helper for organizing Django project settings"
+HOMEPAGE="http://django-configurations.readthedocs.org/ https://pypi.python.org/pypi/django-configurations"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+ dev-python/dj-database-url[${PYTHON_USEDEP}]
+ dev-python/dj-email-url[${PYTHON_USEDEP}]
+ dev-python/django[${PYTHON_USEDEP}]
+ dev-python/django-cache-url[${PYTHON_USEDEP}]
+ "
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ ${RDEPEND}
+ )"
+
+python_test() {
+ "${EPYTHON}" manage.py test -v2 --failfast
+}