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 <module>
    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
This commit is contained in:
Thomas Bechtold 2015-11-11 09:30:52 +00:00 committed by Git OBS Bridge
parent 60e80652ee
commit e52951b823
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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