commit python-pretend for openSUSE:Factory

2019-02-25 Thread root
Hello community,

here is the log from the commit of package python-pretend for openSUSE:Factory 
checked in at 2019-02-25 17:44:57

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


Package is "python-pretend"

Mon Feb 25 17:44:57 2019 rev:5 rq:674896 version:1.0.9

Changes:

--- /work/SRC/openSUSE:Factory/python-pretend/python-pretend.changes
2018-12-27 00:27:34.691752124 +0100
+++ /work/SRC/openSUSE:Factory/.python-pretend.new.28833/python-pretend.changes 
2019-02-25 17:44:59.902916354 +0100
@@ -1,0 +2,8 @@
+Thu Feb 14 08:25:57 UTC 2019 - John Vandenberg 
+
+- Activate test suite
+- Update to v1.0.9
+  * Make 'stub' object callable
+  * Build and doc enhancements
+
+---
@@ -14,2 +22 @@
-- Initial version
-
+- Initial version for v1.0.8

Old:

  pretend-1.0.8.tar.gz

New:

  pretend-1.0.9.tar.gz
  test_pretend.py



Other differences:
--
++ python-pretend.spec ++
--- /var/tmp/diff_new_pack.NVNWU8/_old  2019-02-25 17:45:01.758915592 +0100
+++ /var/tmp/diff_new_pack.NVNWU8/_new  2019-02-25 17:45:01.762915591 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pretend
 #
-# 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,13 +18,15 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pretend
-Version:1.0.8
+Version:1.0.9
 Release:0
 Summary:A library for stubbing in Python
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 URL:https://github.com/alex/pretend
 Source: 
https://files.pythonhosted.org/packages/source/p/pretend/pretend-%{version}.tar.gz
+Source1:
https://raw.githubusercontent.com/alex/pretend/master/test_pretend.py
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
 BuildArch:  noarch
@@ -35,6 +37,7 @@
 
 %prep
 %setup -q -n pretend-%{version}
+cp %{SOURCE1} .
 
 %build
 %python_build
@@ -42,6 +45,9 @@
 %install
 %python_install
 
+%check
+%python_exec -m pytest
+
 %files %{python_files}
 %license LICENSE.rst
 %doc README.rst

++ pretend-1.0.8.tar.gz -> pretend-1.0.9.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pretend-1.0.8/PKG-INFO new/pretend-1.0.9/PKG-INFO
--- old/pretend-1.0.8/PKG-INFO  2014-03-08 23:31:14.0 +0100
+++ new/pretend-1.0.9/PKG-INFO  2018-04-14 16:30:34.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pretend
-Version: 1.0.8
+Version: 1.0.9
 Summary: A library for stubbing in Python
 Home-page: https://github.com/alex/pretend
 Author: Alex Gaynor
@@ -51,7 +51,7 @@
 or methods, nor does it have any methods for making assertions about 
what you
 accessed.
 
-If you want to add a method to the stub, simple provide a function to 
it:
+If you want to add a method to the stub, simply provide a function to 
it:
 
 .. code:: pycon
 
@@ -132,3 +132,6 @@
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3.2
 Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pretend-1.0.8/README.rst new/pretend-1.0.9/README.rst
--- old/pretend-1.0.8/README.rst2013-07-29 19:38:15.0 +0200
+++ new/pretend-1.0.9/README.rst2017-09-03 21:55:02.0 +0200
@@ -43,7 +43,7 @@
 or methods, nor does it have any methods for making assertions about what you
 accessed.
 
-If you want to add a method to the stub, simple provide a function to it:
+If you want to add a method to the stub, simply provide a function to it:
 
 .. code:: pycon
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pretend-1.0.8/pretend.egg-info/PKG-INFO 
new/pretend-1.0.9/pretend.egg-info/PKG-INFO
--- old/pretend-1.0.8/pretend.egg-info/PKG-INFO 2014-03-08 23:31:14.0 
+0100
+++ new/pretend-1.0.9/pretend.egg-info/PKG-INFO 2018-04-14 16:30:34.0 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pretend
-Version: 1.0.8
+Version: 1.0.9
 Summary: A library for stubbing in Python
 Home-page: https://g

commit python-pretend for openSUSE:Factory

2018-12-26 Thread root
Hello community,

here is the log from the commit of package python-pretend for openSUSE:Factory 
checked in at 2018-12-27 00:27:33

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


Package is "python-pretend"

Thu Dec 27 00:27:33 2018 rev:4 rq:659560 version:1.0.8

Changes:

--- /work/SRC/openSUSE:Factory/python-pretend/python-pretend.changes
2017-03-22 23:16:49.476149625 +0100
+++ /work/SRC/openSUSE:Factory/.python-pretend.new.28833/python-pretend.changes 
2018-12-27 00:27:34.691752124 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:51:39 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-pretend.spec ++
--- /var/tmp/diff_new_pack.reX2hN/_old  2018-12-27 00:27:35.343751591 +0100
+++ /var/tmp/diff_new_pack.reX2hN/_new  2018-12-27 00:27:35.343751591 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pretend
 #
-# 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/
 #
 
 
@@ -23,14 +23,11 @@
 Summary:A library for stubbing in Python
 License:BSD-3-Clause
 Group:  Development/Languages/Python
-Url:https://github.com/alex/pretend
-Source: 
https://pypi.io/packages/source/p/pretend/pretend-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
+URL:https://github.com/alex/pretend
+Source: 
https://files.pythonhosted.org/packages/source/p/pretend/pretend-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
-
 %python_subpackages
 
 %description
@@ -45,9 +42,9 @@
 %install
 %python_install
 
-%files %python_files
-%defattr(-,root,root,-)
-%doc LICENSE.rst README.rst
+%files %{python_files}
+%license LICENSE.rst
+%doc README.rst
 %{python_sitelib}/*
 
 %changelog




commit python-pretend for openSUSE:Factory

2017-03-22 Thread root
Hello community,

here is the log from the commit of package python-pretend for openSUSE:Factory 
checked in at 2017-03-22 23:16:48

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


Package is "python-pretend"

Wed Mar 22 23:16:48 2017 rev:3 rq:480653 version:1.0.8

Changes:

--- /work/SRC/openSUSE:Factory/python-pretend/python-pretend.changes
2014-04-02 17:25:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pretend.new/python-pretend.changes   
2017-03-22 23:16:49.476149625 +0100
@@ -1,0 +2,5 @@
+Thu Mar 16 14:48:02 UTC 2017 - tbecht...@suse.com
+
+- Switch to singlespec approach
+
+---



Other differences:
--
++ python-pretend.spec ++
--- /var/tmp/diff_new_pack.f27Wj7/_old  2017-03-22 23:16:50.284035184 +0100
+++ /var/tmp/diff_new_pack.f27Wj7/_new  2017-03-22 23:16:50.288034617 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pretend
 #
-# Copyright (c) 2014 SUSE LINUX Products 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,6 +16,7 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pretend
 Version:1.0.8
 Release:0
@@ -23,15 +24,14 @@
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 Url:https://github.com/alex/pretend
-Source: 
https://pypi.python.org/packages/source/p/pretend/pretend-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+Source: 
https://pypi.io/packages/source/p/pretend/pretend-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 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
 Pretend is a library to make stubbing with Python easier.
@@ -40,12 +40,12 @@
 %setup -q -n pretend-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 
-%files
+%files %python_files
 %defattr(-,root,root,-)
 %doc LICENSE.rst README.rst
 %{python_sitelib}/*