SHA256
1
0
forked from pool/protobuf

Accepting request 814648 from home:Rotkraut:branches:openSUSE:Factory

- Python: Add requirement on python-six

The Python subpackages python2-protobuf and python3-protobuf depend on python2-six and python3-six respectively:

$ python3
Python 3.6.10 (default, Jan 16 2020, 09:12:04) [GCC] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import google.protobuf.descriptor
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.6/site-packages/google/protobuf/descriptor.py", line 38, in <module>
    import six
ModuleNotFoundError: No module named 'six'
>>>

OBS-URL: https://build.opensuse.org/request/show/814648
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=92
This commit is contained in:
Martin Pluskal 2020-06-15 08:16:10 +00:00 committed by Git OBS Bridge
parent 6e21fed354
commit 451bcc4b20
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 10 15:32:29 UTC 2020 - Rolf Krahl <rolf@rotkraut.de>
- Python: Add requirement on python-six
-------------------------------------------------------------------
Fri Mar 6 10:05:22 UTC 2020 - Nico Kruber <nico.kruber@gmail.com>

View File

@ -129,6 +129,7 @@ Summary: Python2 Bindings for Google Protocol Buffers
Group: Development/Libraries/Python
Provides: python-%{name} = %{version}
Obsoletes: python-%{name} < %{version}
Requires: python2-six >= 1.9
%description -n python2-%{name}
This package contains the Python bindings for Google Protocol Buffers.
@ -136,6 +137,7 @@ This package contains the Python bindings for Google Protocol Buffers.
%package -n python3-%{name}
Summary: Python3 Bindings for Google Protocol Buffers
Group: Development/Libraries/Python
Requires: python3-six >= 1.9
%description -n python3-%{name}
This package contains the Python bindings for Google Protocol Buffers.