commit python-fudge for openSUSE:Factory

2020-04-23 Thread root
Hello community,

here is the log from the commit of package python-fudge for openSUSE:Factory 
checked in at 2020-04-23 18:32:36

Comparing /work/SRC/openSUSE:Factory/python-fudge (Old)
 and  /work/SRC/openSUSE:Factory/.python-fudge.new.2738 (New)


Package is "python-fudge"

Thu Apr 23 18:32:36 2020 rev:13 rq:796348 version:1.1.1

Changes:

--- /work/SRC/openSUSE:Factory/python-fudge/python-fudge.changes
2019-09-27 14:47:57.124842204 +0200
+++ /work/SRC/openSUSE:Factory/.python-fudge.new.2738/python-fudge.changes  
2020-04-23 18:32:39.104341883 +0200
@@ -1,0 +2,6 @@
+Wed Apr 22 21:49:45 CEST 2020 - Matej Cepl 
+
+- Add remove_nose.patch which removes need to use nose, and ports
+  the package to py3k-compatible syntax. (gh#fudge-py/fudge#11)
+
+---

New:

  remove_nose.patch



Other differences:
--
++ python-fudge.spec ++
--- /var/tmp/diff_new_pack.Zhc2qX/_old  2020-04-23 18:32:39.968343536 +0200
+++ /var/tmp/diff_new_pack.Zhc2qX/_new  2020-04-23 18:32:39.972343544 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-fudge
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,10 +25,13 @@
 Group:  Development/Languages/Python
 URL:http://farmdev.com/projects/fudge/
 Source: 
https://files.pythonhosted.org/packages/source/f/fudge/fudge-%{version}.tar.gz
-BuildRequires:  %{python_module nose}
+# PATCH-FEATURE-UPSTREAM remove_nose.patch gh#fudge-py/fudge#11 mc...@suse.com
+# Remove the need of using nose and port to py3k
+Patch0: remove_nose.patch
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module six}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  python3-2to3
 BuildArch:  noarch
 %python_subpackages
 
@@ -46,6 +49,7 @@
 
 %prep
 %setup -q -n fudge-%{version}
+%autopatch -p1
 
 %build
 %python_build
@@ -55,20 +59,9 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-mkdir testdir
-pushd testdir
-%if 0%{?have_python2} && ! 0%{?skip_python2}
-cp -r ../fudge/tests tests2
-export PYTHONPATH=%{buildroot}%{python2_sitelib}
-nosetests-%{python2_bin_suffix} -w tests2
-%endif
-%if 0%{?have_python3} && ! 0%{?skip_python3}
-cp -r ../fudge/tests tests3
-2to3 -w tests3
-export PYTHONPATH=%{buildroot}%{python3_sitelib}
-nosetests-%{python3_bin_suffix} -w tests3
-%endif
-popd
+# gh#fudge-py/fudge#11
+# Still unported tests
+%pytest -k 'not (test_decorator_on_def or test_expectations_are_always_cleared 
or test_expectations_are_always_cleared or test_global_clear_expectations)'
 
 %files %{python_files}
 %license LICENSE.txt

++ remove_nose.patch ++
 2375 lines (skipped)




commit python-fudge for openSUSE:Factory

2019-09-27 Thread root
Hello community,

here is the log from the commit of package python-fudge for openSUSE:Factory 
checked in at 2019-09-27 14:47:56

Comparing /work/SRC/openSUSE:Factory/python-fudge (Old)
 and  /work/SRC/openSUSE:Factory/.python-fudge.new.2352 (New)


Package is "python-fudge"

Fri Sep 27 14:47:56 2019 rev:12 rq:731193 version:1.1.1

Changes:

--- /work/SRC/openSUSE:Factory/python-fudge/python-fudge.changes
2019-03-20 13:19:52.957335232 +0100
+++ /work/SRC/openSUSE:Factory/.python-fudge.new.2352/python-fudge.changes  
2019-09-27 14:47:57.124842204 +0200
@@ -1,0 +2,5 @@
+Sat Sep 14 01:46:16 UTC 2019 - John Vandenberg 
+
+- Skip the tests for the flavors not being built
+
+---



Other differences:
--
++ python-fudge.spec ++
--- /var/tmp/diff_new_pack.CdCCta/_old  2019-09-27 14:47:58.064839760 +0200
+++ /var/tmp/diff_new_pack.CdCCta/_new  2019-09-27 14:47:58.080839718 +0200
@@ -57,13 +57,17 @@
 %check
 mkdir testdir
 pushd testdir
+%if 0%{?have_python2} && ! 0%{?skip_python2}
 cp -r ../fudge/tests tests2
 export PYTHONPATH=%{buildroot}%{python2_sitelib}
 nosetests-%{python2_bin_suffix} -w tests2
+%endif
+%if 0%{?have_python3} && ! 0%{?skip_python3}
 cp -r ../fudge/tests tests3
 2to3 -w tests3
 export PYTHONPATH=%{buildroot}%{python3_sitelib}
 nosetests-%{python3_bin_suffix} -w tests3
+%endif
 popd
 
 %files %{python_files}




commit python-fudge for openSUSE:Factory

2019-03-20 Thread root
Hello community,

here is the log from the commit of package python-fudge for openSUSE:Factory 
checked in at 2019-03-20 13:19:51

Comparing /work/SRC/openSUSE:Factory/python-fudge (Old)
 and  /work/SRC/openSUSE:Factory/.python-fudge.new.28833 (New)


Package is "python-fudge"

Wed Mar 20 13:19:51 2019 rev:11 rq:686320 version:1.1.1

Changes:

--- /work/SRC/openSUSE:Factory/python-fudge/python-fudge.changes
2019-03-05 12:23:40.928871433 +0100
+++ /work/SRC/openSUSE:Factory/.python-fudge.new.28833/python-fudge.changes 
2019-03-20 13:19:52.957335232 +0100
@@ -1,0 +2,5 @@
+Mon Mar 18 19:15:00 UTC 2019 - Jan Engelhardt 
+
+- Use noun phrase in summary.
+
+---



Other differences:
--
++ python-fudge.spec ++
--- /var/tmp/diff_new_pack.6XjG8I/_old  2019-03-20 13:19:53.509335098 +0100
+++ /var/tmp/diff_new_pack.6XjG8I/_new  2019-03-20 13:19:53.509335098 +0100
@@ -20,7 +20,7 @@
 Name:   python-fudge
 Version:1.1.1
 Release:0
-Summary:Replace real objects with fakes (mocks, stubs, etc) while 
testing
+Summary:Module for replacing real objects with fakes (mocks, stubs, 
etc) while testing
 License:MIT
 Group:  Development/Languages/Python
 URL:http://farmdev.com/projects/fudge/




commit python-fudge for openSUSE:Factory

2019-03-05 Thread root
Hello community,

here is the log from the commit of package python-fudge for openSUSE:Factory 
checked in at 2019-03-05 12:23:40

Comparing /work/SRC/openSUSE:Factory/python-fudge (Old)
 and  /work/SRC/openSUSE:Factory/.python-fudge.new.28833 (New)


Package is "python-fudge"

Tue Mar  5 12:23:40 2019 rev:10 rq:681425 version:1.1.1

Changes:

--- /work/SRC/openSUSE:Factory/python-fudge/python-fudge.changes
2018-12-19 13:53:15.342966026 +0100
+++ /work/SRC/openSUSE:Factory/.python-fudge.new.28833/python-fudge.changes 
2019-03-05 12:23:40.928871433 +0100
@@ -1,0 +2,8 @@
+Mon Mar  4 13:56:49 UTC 2019 - Tomáš Chvátal 
+
+- Update to 1.1.1:
+  * no changelog provided
+- Do not bother with sphinx docu as the upstream homepage is
+  the docu itself
+
+---

Old:

  fudge-1.1.0.tar.gz

New:

  fudge-1.1.1.tar.gz



Other differences:
--
++ python-fudge.spec ++
--- /var/tmp/diff_new_pack.62QASj/_old  2019-03-05 12:23:41.796871168 +0100
+++ /var/tmp/diff_new_pack.62QASj/_new  2019-03-05 12:23:41.796871168 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-fudge
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,18 +18,17 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-fudge
-Version:1.1.0
+Version:1.1.1
 Release:0
 Summary:Replace real objects with fakes (mocks, stubs, etc) while 
testing
 License:MIT
 Group:  Development/Languages/Python
-Url:http://farmdev.com/projects/fudge/
+URL:http://farmdev.com/projects/fudge/
 Source: 
https://files.pythonhosted.org/packages/source/f/fudge/fudge-%{version}.tar.gz
 BuildRequires:  %{python_module nose}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  python3-2to3
-BuildRequires:  python3-Sphinx
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 %python_subpackages
 
@@ -45,30 +44,15 @@
 object was used incorrectly then you'll see an informative exception message
 with a traceback that points to the culprit.
 
-Here is a quick preview of how you can test code that sends
-email without actually sending email::
-
-@fudge.patch('smtplib.SMTP')
-def test_mailer(FakeSMTP):
-# Declare how the SMTP class should be used:
-(FakeSMTP.expects_call()
- .expects('connect')
- .expects('sendmail').with_arg_count(3))
-# Run production code:
-send_mail()
-# ...expectations are verified automatically at the end of the test
-
 %prep
 %setup -q -n fudge-%{version}
-# drop build date from doc to fix build-compare
-sed -i "s/\(html_last_updated_fmt = \).*/\\1None/" ./docs/conf.py
 
 %build
 %python_build
-cd docs && make html && rm -r _build/html/.buildinfo # Build HTML documentation
 
 %install
 %python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 mkdir testdir
@@ -83,9 +67,7 @@
 popd
 
 %files %{python_files}
-%defattr(-,root,root,-)
 %license LICENSE.txt
-%doc docs/_build/html
 %{python_sitelib}/*
 
 %changelog

++ fudge-1.1.0.tar.gz -> fudge-1.1.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fudge-1.1.0/PKG-INFO new/fudge-1.1.1/PKG-INFO
--- old/fudge-1.1.0/PKG-INFO2015-06-08 22:33:40.0 +0200
+++ new/fudge-1.1.1/PKG-INFO2017-12-12 16:19:03.0 +0100
@@ -1,13 +1,14 @@
 Metadata-Version: 1.1
 Name: fudge
-Version: 1.1.0
+Version: 1.1.1
 Summary: Replace real objects with fakes (mocks, stubs, etc) while testing.
 Home-page: https://github.com/fudge-py/fudge
 Author: Kumar McMillan
 Author-email: kumar.mcmil...@gmail.com
 License: The MIT License
+Description-Content-Type: UNKNOWN
 Description: 
-Complete documentation is available at 
http://farmdev.com/projects/fudge/
+Complete documentation is available at 
https://fudge.readthedocs.org/en/latest/
 
 Fudge is a Python module for using fake objects (mocks and stubs) to 
test real ones.
 
@@ -20,7 +21,7 @@
 
 Here is a quick preview of how you can test code that sends
 email without actually sending email::
-
+
 @fudge.patch('smtplib.SMTP')
 def test_mailer(FakeSMTP):
 # Declare how the SMTP class should be used:
@@ -30,7 +31,7 @@
 # Run production code:
 s

commit python-fudge for openSUSE:Factory

2018-12-19 Thread root
Hello community,

here is the log from the commit of package python-fudge for openSUSE:Factory 
checked in at 2018-12-19 13:53:12

Comparing /work/SRC/openSUSE:Factory/python-fudge (Old)
 and  /work/SRC/openSUSE:Factory/.python-fudge.new.28833 (New)


Package is "python-fudge"

Wed Dec 19 13:53:12 2018 rev:9 rq:659387 version:1.1.0

Changes:

--- /work/SRC/openSUSE:Factory/python-fudge/python-fudge.changes
2018-01-09 14:51:25.696766744 +0100
+++ /work/SRC/openSUSE:Factory/.python-fudge.new.28833/python-fudge.changes 
2018-12-19 13:53:15.342966026 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:48:17 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-fudge.spec ++
--- /var/tmp/diff_new_pack.IWNAe2/_old  2018-12-19 13:53:16.014965098 +0100
+++ /var/tmp/diff_new_pack.IWNAe2/_new  2018-12-19 13:53:16.014965098 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-fudge
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -25,7 +25,6 @@
 Group:  Development/Languages/Python
 Url:http://farmdev.com/projects/fudge/
 Source: 
https://files.pythonhosted.org/packages/source/f/fudge/fudge-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module nose}
 BuildRequires:  python-rpm-macros
 BuildRequires:  python3-2to3




commit python-fudge for openSUSE:Factory

2018-01-09 Thread root
Hello community,

here is the log from the commit of package python-fudge for openSUSE:Factory 
checked in at 2018-01-09 14:51:04

Comparing /work/SRC/openSUSE:Factory/python-fudge (Old)
 and  /work/SRC/openSUSE:Factory/.python-fudge.new (New)


Package is "python-fudge"

Tue Jan  9 14:51:04 2018 rev:8 rq:556318 version:1.1.0

Changes:

--- /work/SRC/openSUSE:Factory/python-fudge/python-fudge.changes
2017-10-07 17:51:19.345571381 +0200
+++ /work/SRC/openSUSE:Factory/.python-fudge.new/python-fudge.changes   
2018-01-09 14:51:25.696766744 +0100
@@ -1,0 +2,5 @@
+Mon Dec 11 23:14:16 UTC 2017 - mimi...@gmail.com
+
+- add missing BuildRequires for python3-2to3 
+
+---



Other differences:
--
++ python-fudge.spec ++
--- /var/tmp/diff_new_pack.oblJkh/_old  2018-01-09 14:51:26.252740679 +0100
+++ /var/tmp/diff_new_pack.oblJkh/_new  2018-01-09 14:51:26.252740679 +0100
@@ -28,6 +28,7 @@
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module nose}
 BuildRequires:  python-rpm-macros
+BuildRequires:  python3-2to3
 BuildRequires:  python3-Sphinx
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch




commit python-fudge for openSUSE:Factory

2017-10-07 Thread root
Hello community,

here is the log from the commit of package python-fudge for openSUSE:Factory 
checked in at 2017-10-07 17:51:18

Comparing /work/SRC/openSUSE:Factory/python-fudge (Old)
 and  /work/SRC/openSUSE:Factory/.python-fudge.new (New)


Package is "python-fudge"

Sat Oct  7 17:51:18 2017 rev:7 rq:532230 version:1.1.0

Changes:

--- /work/SRC/openSUSE:Factory/python-fudge/python-fudge.changes
2016-03-16 10:34:31.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-fudge.new/python-fudge.changes   
2017-10-07 17:51:19.345571381 +0200
@@ -1,0 +2,9 @@
+Fri Oct  6 13:20:22 UTC 2017 - jmate...@suse.com
+
+- singlespec auto-conversion
+- fix doc generation
+- fix test runner
+- update to 1.1.0
+  * no changelog provided
+
+---
@@ -9,0 +19 @@
+

Old:

  fudge-1.0.3.tar.gz

New:

  fudge-1.1.0.tar.gz



Other differences:
--
++ python-fudge.spec ++
--- /var/tmp/diff_new_pack.Yviijx/_old  2017-10-07 17:51:20.005542368 +0200
+++ /var/tmp/diff_new_pack.Yviijx/_new  2017-10-07 17:51:20.009542192 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-fudge
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,23 +16,22 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-fudge
-Version:1.0.3
+Version:1.1.0
 Release:0
 Summary:Replace real objects with fakes (mocks, stubs, etc) while 
testing
 License:MIT
 Group:  Development/Languages/Python
 Url:http://farmdev.com/projects/fudge/
-Source: 
http://pypi.python.org/packages/source/f/fudge/fudge-%{version}.tar.gz
-BuildRequires:  python-Sphinx
-BuildRequires:  python-devel
-BuildRequires:  python-nose
+Source: 
https://files.pythonhosted.org/packages/source/f/fudge/fudge-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module nose}
+BuildRequires:  python-rpm-macros
+BuildRequires:  python3-Sphinx
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
 BuildArch:  noarch
-%endif
+%python_subpackages
 
 %description
 Complete documentation is available at http://farmdev.com/projects/fudge/
@@ -61,23 +60,32 @@
 
 %prep
 %setup -q -n fudge-%{version}
-find . -type f -name "._*" | xargs rm # Remove junk
 # drop build date from doc to fix build-compare
 sed -i "s/\(html_last_updated_fmt = \).*/\\1None/" ./docs/conf.py
 
 %build
-python setup.py build
+%python_build
 cd docs && make html && rm -r _build/html/.buildinfo # Build HTML documentation
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 
 %check
-nosetests
+mkdir testdir
+pushd testdir
+cp -r ../fudge/tests tests2
+export PYTHONPATH=%{buildroot}%{python2_sitelib}
+nosetests-%{python2_bin_suffix} -w tests2
+cp -r ../fudge/tests tests3
+2to3 -w tests3
+export PYTHONPATH=%{buildroot}%{python3_sitelib}
+nosetests-%{python3_bin_suffix} -w tests3
+popd
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
-%doc LICENSE.txt README.txt docs/_build/html
+%license LICENSE.txt
+%doc docs/_build/html
 %{python_sitelib}/*
 
 %changelog

++ fudge-1.0.3.tar.gz -> fudge-1.1.0.tar.gz ++
 4222 lines of diff (skipped)




commit python-fudge for openSUSE:Factory

2016-03-16 Thread h_root
Hello community,

here is the log from the commit of package python-fudge for openSUSE:Factory 
checked in at 2016-03-16 10:34:30

Comparing /work/SRC/openSUSE:Factory/python-fudge (Old)
 and  /work/SRC/openSUSE:Factory/.python-fudge.new (New)


Package is "python-fudge"

Changes:

--- /work/SRC/openSUSE:Factory/python-fudge/python-fudge.changes
2012-02-27 18:35:55.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-fudge.new/python-fudge.changes   
2016-03-16 10:34:31.0 +0100
@@ -1,0 +2,5 @@
+Wed Mar  9 10:14:33 UTC 2016 - bwiedem...@suse.com
+
+- Drop build date from doc to fix build-compare
+
+---



Other differences:
--
++ python-fudge.spec ++
--- /var/tmp/diff_new_pack.We2P6g/_old  2016-03-16 10:34:32.0 +0100
+++ /var/tmp/diff_new_pack.We2P6g/_new  2016-03-16 10:34:32.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-fudge
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -11,17 +11,18 @@
 # case the license is the MIT License). An "Open Source License" is a
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
-#
+
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   python-fudge
 Version:1.0.3
 Release:0
-License:MIT
 Summary:Replace real objects with fakes (mocks, stubs, etc) while 
testing
-Url:http://farmdev.com/projects/fudge/
+License:MIT
 Group:  Development/Languages/Python
+Url:http://farmdev.com/projects/fudge/
 Source: 
http://pypi.python.org/packages/source/f/fudge/fudge-%{version}.tar.gz
 BuildRequires:  python-Sphinx
 BuildRequires:  python-devel
@@ -61,6 +62,8 @@
 %prep
 %setup -q -n fudge-%{version}
 find . -type f -name "._*" | xargs rm # Remove junk
+# drop build date from doc to fix build-compare
+sed -i "s/\(html_last_updated_fmt = \).*/\\1None/" ./docs/conf.py
 
 %build
 python setup.py build