forked from pool/python-kombu
- Expanded test coverage
- Don't require python-msgpack-python for testing until issues are fixed. It's an optional feature anyway - Expanded test coverage - Don't require python-msgpack-python for testing until issues are fixed. It's an optional feature anyway - Drop link to python3-kombu, it's not really support Py3K ATM OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=84
This commit is contained in:
parent
08b316a79f
commit
7d160884a9
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 30 09:45:52 UTC 2013 - speilicke@suse.com
|
||||||
|
|
||||||
|
- Expanded test coverage
|
||||||
|
- Don't require python-msgpack-python for testing until issues are fixed.
|
||||||
|
It's an optional feature anyway
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Apr 13 10:17:23 UTC 2013 - toddrme2178@gmail.com
|
Sat Apr 13 10:17:23 UTC 2013 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@ -24,22 +24,30 @@ License: BSD-3-Clause
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://github.com/ask/kombu/
|
Url: http://github.com/ask/kombu/
|
||||||
Source: http://pypi.python.org/packages/source/k/kombu/kombu-%{version}.tar.gz
|
Source: http://pypi.python.org/packages/source/k/kombu/kombu-%{version}.tar.gz
|
||||||
BuildRequires: python-PyYAML
|
|
||||||
BuildRequires: python-amqplib
|
|
||||||
BuildRequires: python-anyjson
|
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-distribute
|
BuildRequires: python-distribute
|
||||||
|
# Test requirements:
|
||||||
|
BuildRequires: python-PyYAML
|
||||||
|
BuildRequires: python-amqp
|
||||||
|
BuildRequires: python-amqplib
|
||||||
|
BuildRequires: python-anyjson
|
||||||
|
BuildRequires: python-boto
|
||||||
|
BuildRequires: python-couchdb
|
||||||
BuildRequires: python-mock
|
BuildRequires: python-mock
|
||||||
BuildRequires: python-msgpack-python
|
#NOTE(saschpe): Disable optional test for now util issues are resolved
|
||||||
|
#BuildRequires: python-msgpack-python
|
||||||
BuildRequires: python-nose-cover3
|
BuildRequires: python-nose-cover3
|
||||||
BuildRequires: python-simplejson
|
BuildRequires: python-pymongo
|
||||||
|
BuildRequires: python-redis
|
||||||
BuildRequires: python-unittest2 >= 0.5.0
|
BuildRequires: python-unittest2 >= 0.5.0
|
||||||
Requires: python-amqp >= 1.0.11
|
|
||||||
Requires: python-anyjson >= 0.3.3
|
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||||
|
BuildRequires: python-importlib
|
||||||
|
BuildRequires: python-ordereddict
|
||||||
Requires: python-importlib
|
Requires: python-importlib
|
||||||
Requires: python-ordereddict
|
Requires: python-ordereddict
|
||||||
%endif
|
%endif
|
||||||
|
Requires: python-amqp >= 1.0.11
|
||||||
|
Requires: python-anyjson >= 0.3.3
|
||||||
Recommends: couchdb
|
Recommends: couchdb
|
||||||
Recommends: mongodb
|
Recommends: mongodb
|
||||||
Recommends: rabbitmq-server
|
Recommends: rabbitmq-server
|
||||||
@ -67,7 +75,10 @@ provide proven and tested solutions to common messaging problems.
|
|||||||
# For rpmlint warning: remove shebang from python library:
|
# For rpmlint warning: remove shebang from python library:
|
||||||
sed -i '/^#!/d' ./kombu/tests/test_serialization.py
|
sed -i '/^#!/d' ./kombu/tests/test_serialization.py
|
||||||
# NOTE(saschpe): We have a newer python-amqp, but this shouldn't be an issue:
|
# NOTE(saschpe): We have a newer python-amqp, but this shouldn't be an issue:
|
||||||
sed -i -e "s|amqp>=1.0.5,<1.1.0|amqp>=1.0.5|" requirements/default.txt kombu.egg-info/requires.txt
|
sed -i -e "s|amqp>=1.0.11,<1.1.0|amqp>=1.0.11|" requirements/default.txt kombu.egg-info/requires.txt
|
||||||
|
# NOTE(saschpe): Testsuite requires mkgpack-python < 0.2.0 because it dropped
|
||||||
|
# Python-2.5 support. This makes no sense for us, thus:
|
||||||
|
#sed -i "s/msgpack-python.*/msgpack-python/" requirements/test.txt
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
python setup.py build
|
||||||
@ -76,10 +87,7 @@ python setup.py build
|
|||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# Testsuite requires mkgpack-python < 0.2.0 because it dropped Python-2.5 support.
|
python setup.py test
|
||||||
# This makes no sense for us, thus:
|
|
||||||
#sed -i "s/msgpack-python.*/msgpack-python/" requirements/test.txt
|
|
||||||
#python setup.py test
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 30 09:55:14 UTC 2013 - speilicke@suse.com
|
||||||
|
|
||||||
|
- Expanded test coverage
|
||||||
|
- Don't require python-msgpack-python for testing until issues are fixed.
|
||||||
|
It's an optional feature anyway
|
||||||
|
- Drop link to python3-kombu, it's not really support Py3K ATM
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 12 17:47:22 UTC 2013 - alexandre@exatati.com.br
|
Fri Apr 12 17:47:22 UTC 2013 - alexandre@exatati.com.br
|
||||||
|
|
||||||
|
@ -24,21 +24,21 @@ License: BSD-2-Clause
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://github.com/ask/kombu/
|
Url: http://github.com/ask/kombu/
|
||||||
Source: http://pypi.python.org/packages/source/k/kombu/kombu-%{version}.tar.gz
|
Source: http://pypi.python.org/packages/source/k/kombu/kombu-%{version}.tar.gz
|
||||||
BuildRequires: python3
|
|
||||||
BuildRequires: python3-PyYAML
|
|
||||||
BuildRequires: python3-amqplib
|
|
||||||
BuildRequires: python3-anyjson
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-distribute
|
BuildRequires: python3-distribute
|
||||||
|
# Test requirements:
|
||||||
|
BuildRequires: python3-PyYAML
|
||||||
|
BuildRequires: python3-amqp
|
||||||
|
BuildRequires: python3-amqplib
|
||||||
|
BuildRequires: python3-anyjson
|
||||||
|
#BuildRequires: python3-boto
|
||||||
|
#BuildRequires: python3-couchdb
|
||||||
BuildRequires: python3-mock
|
BuildRequires: python3-mock
|
||||||
BuildRequires: python3-msgpack-python
|
#NOTE(saschpe): Disable optional test for now util issues are resolved
|
||||||
|
#BuildRequires: python3-msgpack-python
|
||||||
BuildRequires: python3-nose-cover3
|
BuildRequires: python3-nose-cover3
|
||||||
# This package is not compatible with python 3.3 for now,
|
BuildRequires: python3-pymongo
|
||||||
# please re-enable when this builds properly on
|
#BuildRequires: python3-redis
|
||||||
# openSUSE 12.3+
|
|
||||||
%if 0%{?suse_version} >= 1230
|
|
||||||
BuildRequires: python3-simplejson
|
|
||||||
%endif
|
|
||||||
BuildRequires: python3-unittest2
|
BuildRequires: python3-unittest2
|
||||||
Requires: python3-amqp >= 1.0.11
|
Requires: python3-amqp >= 1.0.11
|
||||||
Requires: python3-anyjson
|
Requires: python3-anyjson
|
||||||
@ -64,6 +64,13 @@ provide proven and tested solutions to common messaging problems.
|
|||||||
%setup -q -n kombu-%{version}
|
%setup -q -n kombu-%{version}
|
||||||
# For rpmlint warning: remove shebang from python library:
|
# For rpmlint warning: remove shebang from python library:
|
||||||
sed -i '/^#!/d' ./kombu/tests/test_serialization.py
|
sed -i '/^#!/d' ./kombu/tests/test_serialization.py
|
||||||
|
# NOTE(saschpe): We have a newer python-amqp, but this shouldn't be an issue:
|
||||||
|
sed -i -e "s|amqp>=1.0.11,<1.1.0|amqp>=1.0.11|" requirements/default.txt kombu.egg-info/requires.txt
|
||||||
|
# NOTE(saschpe): Testsuite requires mkgpack-python < 0.2.0 because it dropped
|
||||||
|
# Python-2.5 support. This makes no sense for us, thus:
|
||||||
|
#sed -i "s/msgpack-python.*/msgpack-python/" requirements/test.txt
|
||||||
|
# TODO(saschpe): Stop dropping this test once upstream finalized Py3K support:
|
||||||
|
rm kombu/tests/transport/test_filesystem.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python3 setup.py build
|
python3 setup.py build
|
||||||
@ -72,10 +79,7 @@ python3 setup.py build
|
|||||||
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# Testsuite requires mkgpack-python < 0.2.0 because it dropped Python-2.5 support.
|
python3 setup.py test
|
||||||
# This makes no sense for us, thus:
|
|
||||||
#sed -i "s/msgpack-python.*/msgpack-python/" requirements/test.txt
|
|
||||||
#python setup.py test
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
Loading…
Reference in New Issue
Block a user