diff --git a/.gitignore b/.gitignore index af63c34..9345919 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /txaio-2.0.2.tar.gz /txaio-2.0.4.tar.gz /txaio-2.2.1.tar.gz +/txaio-2.5.1.tar.gz diff --git a/python-txaio-2.2.1-tests.patch b/python-txaio-2.2.1-tests.patch deleted file mode 100644 index b495645..0000000 --- a/python-txaio-2.2.1-tests.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- test/test_packaging.py 2015-10-17 19:09:01.342981497 +0200 -+++ test/test_packaging.py 2015-10-17 19:09:37.874402253 +0200 -@@ -34,6 +34,7 @@ - import txaio - - -+@pytest.mark.skipif(True, reason='Not needed for RPM build') - def test_sdist(): - if not hasattr(subprocess, 'check_output'): - pytest.skip() diff --git a/python-txaio-2.5.1-tests.patch b/python-txaio-2.5.1-tests.patch new file mode 100644 index 0000000..b495645 --- /dev/null +++ b/python-txaio-2.5.1-tests.patch @@ -0,0 +1,10 @@ +--- test/test_packaging.py 2015-10-17 19:09:01.342981497 +0200 ++++ test/test_packaging.py 2015-10-17 19:09:37.874402253 +0200 +@@ -34,6 +34,7 @@ + import txaio + + ++@pytest.mark.skipif(True, reason='Not needed for RPM build') + def test_sdist(): + if not hasattr(subprocess, 'check_output'): + pytest.skip() diff --git a/python-txaio.spec b/python-txaio.spec index f843972..6380d02 100644 --- a/python-txaio.spec +++ b/python-txaio.spec @@ -1,14 +1,14 @@ %global pypi_name txaio Name: python-%{pypi_name} -Version: 2.2.1 +Version: 2.5.1 Release: 1%{?dist} Summary: Compatibility API between asyncio/Twisted/Trollius License: MIT URL: https://pypi.python.org/pypi/%{pypi_name} Source0: https://pypi.python.org/packages/source/t/%{pypi_name}/%{pypi_name}-%{version}.tar.gz -Patch0: python-txaio-%{version}-tests.patch +Patch0: python-txaio-%{version}-tests.patch BuildArch: noarch BuildRequires: python2-devel @@ -16,11 +16,11 @@ BuildRequires: pytest >= 2.6.4 BuildRequires: python-pytest-cov >= 1.8.1 BuildRequires: python-mock >= 1.3.0 BuildRequires: python-pep8 >= 1.6.2 -BuildRequires: python-sphinx >= 1.2.3 +BuildRequires: python2-sphinx >= 1.2.3 BuildRequires: python-sphinx_rtd_theme BuildRequires: python-six -BuildRequires: python-twisted -BuildRequires: python-zope-interface +BuildRequires: python-twisted >= 12.1.0 +BuildRequires: python-zope-interface >= 3.6 BuildRequires: python-trollius >= 2.0 BuildRequires: python-futures >= 3.0.3 BuildRequires: python-enchant >= 1.6.6 @@ -35,8 +35,10 @@ asyncio. %package -n python2-%{pypi_name} Summary: Compatibility API between asyncio/Twisted/Trollius BuildArch: noarch -Requires: python-twisted -Requires: python-zope-interface +Requires: python-twisted >= 12.1.0 +Requires: python-zope-interface >= 3.6 +Requires: python-trollius >= 2.0 +Requires: python-futures >= 3.0.3 Requires: python-six %{?python_provide:%python_provide python2-%{pypi_name}} @@ -132,6 +134,9 @@ PYTHONPATH=$PYTHONPATH:. coverage2 run -p --source=txaio /usr/bin/py.test-%{pyth %changelog +* Mon May 16 2016 Julien Enselme - 2.5.1-1 +- Update to 2.5.1 + * Sat Feb 27 2016 Julien Enselme - 2.2.1-1 - Update to 2.2.1 diff --git a/sources b/sources index 78b040d..251b2a1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c2a7e6ebfdf8987c3938e40e39a3c5e7 txaio-2.2.1.tar.gz +7b0f5321515d380ad5d32f01666b6ee7 txaio-2.5.1.tar.gz