commit python-preggy for openSUSE:Factory

2020-08-17 Thread root
Hello community,

here is the log from the commit of package python-preggy for openSUSE:Factory 
checked in at 2020-08-17 14:39:50

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


Package is "python-preggy"

Mon Aug 17 14:39:50 2020 rev:3 rq:827155 version:1.4.4

Changes:

--- /work/SRC/openSUSE:Factory/python-preggy/python-preggy.changes  
2020-03-19 19:53:45.584276539 +0100
+++ /work/SRC/openSUSE:Factory/.python-preggy.new.3399/python-preggy.changes
2020-08-17 14:39:57.502571787 +0200
@@ -1,0 +2,5 @@
+Sun Aug 16 17:07:56 UTC 2020 - John Vandenberg 
+
+- Replace nose with pytest
+
+---



Other differences:
--
++ python-preggy.spec ++
--- /var/tmp/diff_new_pack.usz79G/_old  2020-08-17 14:39:58.458572183 +0200
+++ /var/tmp/diff_new_pack.usz79G/_new  2020-08-17 14:39:58.462572184 +0200
@@ -28,7 +28,7 @@
 # https://github.com/heynemann/preggy/issues/32 re LICENSE
 Patch0: split-readme.patch
 BuildRequires:  %{python_module Unidecode}
-BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
 BuildRequires:  fdupes
@@ -45,6 +45,7 @@
 %prep
 %setup -q -n preggy-%{version}
 %patch0 -p1
+sed -i "s/'nose', //" setup.py
 sed -i '/^#!/d' preggy/__main__.py
 
 %build
@@ -55,7 +56,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec -m nose
+%pytest
 
 %files %{python_files}
 %license LICENSE




commit python-preggy for openSUSE:Factory

2020-03-19 Thread root
Hello community,

here is the log from the commit of package python-preggy for openSUSE:Factory 
checked in at 2020-03-19 19:49:48

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


Package is "python-preggy"

Thu Mar 19 19:49:48 2020 rev:2 rq:786234 version:1.4.4

Changes:

--- /work/SRC/openSUSE:Factory/python-preggy/python-preggy.changes  
2019-02-25 17:53:15.246532804 +0100
+++ /work/SRC/openSUSE:Factory/.python-preggy.new.3160/python-preggy.changes
2020-03-19 19:53:45.584276539 +0100
@@ -1,0 +2,8 @@
+Wed Mar 18 12:56:46 UTC 2020 - Marketa Calabkova 
+
+- Update to 1.4.4
+  * TypeError: __init__() got an unexpected keyword argument 'encoding'
+  * Added LICENSE file (not distributed in the PyPI tarball, though)
+  * SyntaxWarning: is with a literal. Did you mean ==?
+
+---

Old:

  preggy-1.4.2.tar.gz

New:

  preggy-1.4.4.tar.gz



Other differences:
--
++ python-preggy.spec ++
--- /var/tmp/diff_new_pack.KMoQH9/_old  2020-03-19 19:53:46.740276580 +0100
+++ /var/tmp/diff_new_pack.KMoQH9/_new  2020-03-19 19:53:46.740276580 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-preggy
 #
-# 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
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-preggy
-Version:1.4.2
+Version:1.4.4
 Release:0
 Summary:Assertion library for Python
 License:MIT

++ preggy-1.4.2.tar.gz -> preggy-1.4.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/preggy-1.4.2/PKG-INFO new/preggy-1.4.4/PKG-INFO
--- old/preggy-1.4.2/PKG-INFO   2018-01-09 22:34:01.0 +0100
+++ new/preggy-1.4.4/PKG-INFO   2019-11-26 03:37:58.176195600 +0100
@@ -1,33 +1,305 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: preggy
-Version: 1.4.2
-Summary: preggy is an assertion library for Python. (What were you 
``expect()``ing?)
+Version: 1.4.4
+Summary: preggy is an assertion library for Python.** What were you 
`expect`ing?
 Home-page: http://heynemann.github.io/preggy
-Author: Zearin
-Author-email: zea...@gonk.net
+Author: Bernardo Heynemann
+Author-email: heynem...@gmail.com
+Maintainer: Zearin
+Maintainer-email: zea...@gonk.net
 License: MIT
-Download-URL: https://github.com/heynemann/preggy/releases/tag/1.4.2
-Description-Content-Type: UNKNOWN
-Description: preggy is an assertion library for Python. (What were you 
``expect()``ing?)
+Download-URL: https://github.com/heynemann/preggy/releases/tag/1.4.4
+Description: preggy
+==
 
+[![Build 
Status](https://travis-ci.org/heynemann/preggy.png?branch=master)](https://travis-ci.org/heynemann/preggy)
+[![PyPi 
version](https://pypip.in/v/preggy/badge.png)](https://crate.io/packages/preggy/)
+[![PyPi 
downloads](https://pypip.in/d/preggy/badge.png)](https://crate.io/packages/preggy/)
+[![Coverage 
Status](https://coveralls.io/repos/heynemann/preggy/badge.png?branch=master)](https://coveralls.io/r/heynemann/preggy?branch=master)
 
-EXAMPLE
-===
+**preggy is an assertion library for Python.** What were you 
`expect`ing?
+
+Extracted from the [PyVows](http://pyvows.org) project.
+
+
+Installing
+==
+
+We recommend using `pip`:
+
+pip install preggy
+
+
+Usage
+=
+
+Simply tell your test what to `expect()`:
+
+```python
+from preggy import expect
+
+def test_roses_are_red():
+rose = Rose()
+expect(rose.color).to_equal('red')
+
+def test_violets_are_not_red():
+violet = Violet()
+expect(violet.color).not_to_equal('red')
+```
+
+
+Built-in Expectations
+=
+
+
+Equality
+
+
+```python
+expect(4).to_equal(4)
+expect(5).Not.to_equal(4)
+expect(5).not_to_equal(4)  # same as previous
+```
+
+
+Comparison
+
+
+```python
+expect(4).to_be_lesser_than(5)
+expect(5).to_be_greater_than(4)
+expect(5).Not.to_be_lesser_than(4)
+expect(4).not_to_be_greater(5)  # 

commit python-preggy for openSUSE:Factory

2019-02-25 Thread root
Hello community,

here is the log from the commit of package python-preggy for openSUSE:Factory 
checked in at 2019-02-25 17:53:12

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


Package is "python-preggy"

Mon Feb 25 17:53:12 2019 rev:1 rq:677991 version:1.4.2

Changes:

New Changes file:

--- /dev/null   2018-10-29 14:05:42.522318975 +0100
+++ /work/SRC/openSUSE:Factory/.python-preggy.new.28833/python-preggy.changes   
2019-02-25 17:53:15.246532804 +0100
@@ -0,0 +1,9 @@
+---
+Thu Feb 21 11:53:20 UTC 2019 - Tomáš Chvátal 
+
+- Use the upstream tarball from pypi
+
+---
+Wed Feb 20 02:43:52 PM UTC 2019 - John Vandenberg 
+
+- Initial spec for v1.4.2

New:

  preggy-1.4.2.tar.gz
  python-preggy.changes
  python-preggy.spec
  split-readme.patch



Other differences:
--
++ python-preggy.spec ++
#
# spec file for package python-preggy
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# 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 https://bugs.opensuse.org/
#


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name:   python-preggy
Version:1.4.2
Release:0
Summary:Assertion library for Python
License:MIT
Group:  Development/Languages/Python
URL:https://github.com/heynemann/preggy
Source: 
https://files.pythonhosted.org/packages/source/p/preggy/preggy-%{version}.tar.gz
# https://github.com/heynemann/preggy/issues/32 re LICENSE
Patch0: split-readme.patch
BuildRequires:  %{python_module Unidecode}
BuildRequires:  %{python_module nose}
BuildRequires:  %{python_module setuptools}
BuildRequires:  %{python_module six}
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
Requires:   python-Unidecode
Requires:   python-six
BuildArch:  noarch
%python_subpackages

%description
preggy is an assertion library for Python. (What were you ``expect()``ing?)
Part of the pyVows test framework.

%prep
%setup -q -n preggy-%{version}
%patch0 -p1
sed -i '/^#!/d' preggy/__main__.py

%build
%python_build

%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}

%check
%python_exec -m nose

%files %{python_files}
%license LICENSE
%doc README.md
%{python_sitelib}/*

%changelog
++ split-readme.patch ++
diff -Nru preggy-1.4.2-orig/LICENSE preggy-1.4.2/LICENSE
--- preggy-1.4.2-orig/LICENSE   1970-01-01 07:00:00.0 +0700
+++ preggy-1.4.2/LICENSE2019-02-21 18:41:15.876505357 +0700
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2013 Bernardo Heynemann 
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff -Nru preggy-1.4.2-orig/README.md preggy-1.4.2/README.md
--- preggy-1.4.2-orig/README.md 2018-01-10 04:25:30.0 +0700
+++ preggy-1.4.2/README.md  2019-02-21 18:41:41.844674859 +0700
@@ -258,34 +258,3 @@
 # a more *sensible* example:
 expect(foo).not_to_be_null().to_equal(expected.get('foo'))
 ```
-
-
-Contributing
-
-See [CONTRIBUTING.md].
-
-
-License
-===
-
-The MIT License