From e52951b823e2c76fb045b7d7bb2f551bfa3e92bca598a4d025548d2d19043483 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Wed, 11 Nov 2015 09:30:52 +0000 Subject: [PATCH] Accepting request 343727 from home:cboltz:branches:devel:languages:python - add dependency on python-setuptools (the pkg_resources module is needed at runtime) Without python-setuptools, I got # pyflakes Traceback (most recent call last): File "/usr/bin/pyflakes", line 5, in from pkg_resources import load_entry_point ImportError: No module named pkg_resources OBS-URL: https://build.opensuse.org/request/show/343727 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=28 --- python-pyflakes.changes | 6 ++++++ python-pyflakes.spec | 2 ++ 2 files changed, 8 insertions(+) diff --git a/python-pyflakes.changes b/python-pyflakes.changes index a135ff4..56d10b2 100644 --- a/python-pyflakes.changes +++ b/python-pyflakes.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 10 22:31:39 UTC 2015 - opensuse@cboltz.de + +- add dependency on python-setuptools (the pkg_resources module is needed + at runtime) + ------------------------------------------------------------------- Mon Jun 22 15:15:47 UTC 2015 - tbechtold@suse.com diff --git a/python-pyflakes.spec b/python-pyflakes.spec index 7176eaf..4674653 100644 --- a/python-pyflakes.spec +++ b/python-pyflakes.spec @@ -27,6 +27,8 @@ Source: pyflakes-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-setuptools +# the pkg_resources module is required at runtime +Requires: python-setuptools %if 0%{?suse_version} %py_requires %if 0%{?suse_version} > 1110