Hello community, here is the log from the commit of package python-oauthlib for openSUSE:Factory checked in at 2018-08-24 17:12:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-oauthlib (Old) and /work/SRC/openSUSE:Factory/.python-oauthlib.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oauthlib" Fri Aug 24 17:12:00 2018 rev:22 rq:631174 version:2.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-oauthlib/python-oauthlib.changes 2018-05-29 10:42:32.209769489 +0200 +++ /work/SRC/openSUSE:Factory/.python-oauthlib.new/python-oauthlib.changes 2018-08-24 17:12:03.134638401 +0200 @@ -1,0 +2,6 @@ +Mon Aug 13 13:01:36 UTC 2018 - [email protected] + +Remove dependency on unittest2 + Add remove_unittest2.patch to facilitate that + +------------------------------------------------------------------- New: ---- remove_unittest2.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-oauthlib.spec ++++++ --- /var/tmp/diff_new_pack.He8BQi/_old 2018-08-24 17:12:03.474638806 +0200 +++ /var/tmp/diff_new_pack.He8BQi/_new 2018-08-24 17:12:03.474638806 +0200 @@ -25,6 +25,7 @@ Group: Development/Languages/Python URL: https://github.com/oauthlib/oauthlib Source: https://files.pythonhosted.org/packages/source/o/oauthlib/oauthlib-%{version}.tar.gz +Patch0: remove_unittest2.patch BuildRequires: %{python_module PyJWT} BuildRequires: %{python_module blinker} BuildRequires: %{python_module cryptography} @@ -33,7 +34,6 @@ BuildRequires: %{python_module nose} BuildRequires: %{python_module pyasn1} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module unittest2} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-PyJWT @@ -61,6 +61,7 @@ %prep %setup -q -n oauthlib-%{version} +%autopatch -p1 %build %python_build ++++++ remove_unittest2.patch ++++++ --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ def fread(fn): if sys.version_info[0] == 3: tests_require = ['nose', 'cryptography', 'pyjwt>=1.0.0', 'blinker'] else: - tests_require = ['nose', 'unittest2', 'cryptography', 'mock', 'pyjwt>=1.0.0', 'blinker'] + tests_require = ['nose', 'cryptography', 'mock', 'pyjwt>=1.0.0', 'blinker'] rsa_require = ['cryptography'] signedtoken_require = ['cryptography', 'pyjwt>=1.0.0'] signals_require = ['blinker']
