mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-27 21:48:16 -07:00
dev-python/pytest-django: Relax dependency version
Package-Manager: Portage-2.3.3, Repoman-2.3.1 Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
@@ -25,6 +25,13 @@ DEPEND="${RDEPEND}
|
||||
# https://github.com/pytest-dev/pytest-django/issues/290
|
||||
RESTRICT=test
|
||||
|
||||
src_prepare() {
|
||||
sed \
|
||||
-e '/setuptools_scm/s:==1.8.0::g' \
|
||||
-i setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
PYTEST_PLUGINS=${PN/-/_} \
|
||||
py.test --ds=pytest_django_test.settings_sqlite_file --strict -r fEsxXw || die
|
||||
|
||||
Reference in New Issue
Block a user