From 487959f8f15503053032a7ca2a678bcfca69fd5e22c323fadd40c1973be454c5 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Thu, 19 Jun 2014 11:08:39 +0000 Subject: [PATCH] Accepting request 237622 from devel:languages:python 1 OBS-URL: https://build.opensuse.org/request/show/237622 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=12 --- python-pytest.changes | 5 +++++ python-pytest.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/python-pytest.changes b/python-pytest.changes index c9b95bc..c550bc7 100644 --- a/python-pytest.changes +++ b/python-pytest.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 10 10:49:25 UTC 2014 - mvyskocil@opensuse.org + +- Add setuptools dependency as py.test launcher does import pkg_resources + ------------------------------------------------------------------- Wed Mar 12 16:09:57 UTC 2014 - speilicke@suse.com diff --git a/python-pytest.spec b/python-pytest.spec index 46fcbf8..c5ecd29 100644 --- a/python-pytest.spec +++ b/python-pytest.spec @@ -34,6 +34,8 @@ BuildRequires: python-py >= 1.4.20 Requires: python-py >= 1.4.20 Requires(post): update-alternatives Requires(postun): update-alternatives +#/usr/bin/py.test imports pkg_resources +Requires: python-setuptools %if 0%{?suse_version} && 0%{?suse_version} <= 1110 Requires: python-argparse %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}