commit python-pytest-spec for openSUSE:Factory

2020-11-06 Thread root
Hello community,

here is the log from the commit of package python-pytest-spec for 
openSUSE:Factory checked in at 2020-11-06 23:44:55

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


Package is "python-pytest-spec"

Fri Nov  6 23:44:55 2020 rev:4 rq:846348 version:3.0.5

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest-spec/python-pytest-spec.changes
2019-12-18 14:48:52.733953999 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-spec.new.11331/python-pytest-spec.changes
 2020-11-06 23:45:16.907242636 +0100
@@ -1,0 +2,10 @@
+Thu Nov  5 15:35:43 UTC 2020 - Marketa Machova 
+
+- Update to 3.0.5
+  * Fixed SyntaxWarning issue
+  * Fixed output format for pytest-describe
+  * Active plugin only if -q or -v was not provided
+  * Fixed Python 2/3 warnings
+  * Added support for Python 3.9
+
+---

Old:

  pytest-spec-2.0.0.tar.gz

New:

  pytest-spec-3.0.5.tar.gz



Other differences:
--
++ python-pytest-spec.spec ++
--- /var/tmp/diff_new_pack.xMq7LR/_old  2020-11-06 23:45:17.607241291 +0100
+++ /var/tmp/diff_new_pack.xMq7LR/_new  2020-11-06 23:45:17.607241291 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pytest-spec
 #
-# 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-pytest-spec
-Version:2.0.0
+Version:3.0.5
 Release:0
 Summary:Plugin to display pytest execution output like a specification
 License:GPL-2.0-only
@@ -52,7 +52,8 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%pytest
+# no tests in PyPI tarball, no setup.py in GitHub tarball
+#%%pytest
 
 %files %{python_files}
 %doc README.rst

++ pytest-spec-2.0.0.tar.gz -> pytest-spec-3.0.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-spec-2.0.0/LICENSE.txt 
new/pytest-spec-3.0.5/LICENSE.txt
--- old/pytest-spec-2.0.0/LICENSE.txt   1970-01-01 01:00:00.0 +0100
+++ new/pytest-spec-3.0.5/LICENSE.txt   2020-10-11 16:18:36.371369100 +0200
@@ -0,0 +1,339 @@
+GNU GENERAL PUBLIC LICENSE
+   Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the 

commit python-pytest-spec for openSUSE:Factory

2019-12-18 Thread root
Hello community,

here is the log from the commit of package python-pytest-spec for 
openSUSE:Factory checked in at 2019-12-18 14:47:07

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


Package is "python-pytest-spec"

Wed Dec 18 14:47:07 2019 rev:3 rq:757721 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest-spec/python-pytest-spec.changes
2019-08-22 15:17:57.590341467 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-spec.new.4691/python-pytest-spec.changes
  2019-12-18 14:48:52.733953999 +0100
@@ -1,0 +2,10 @@
+Wed Dec 18 04:32:03 UTC 2019 - John Vandenberg 
+
+- Dropped no longer necessary pytest4.patch
+- Update to v2.0.0
+  * Update documentation
+  * New format of output
+  * Fix small warnings
+  * Generate the package in wheel format
+
+---

Old:

  pytest-spec-1.1.0.tar.gz
  pytest4.patch

New:

  pytest-spec-2.0.0.tar.gz



Other differences:
--
++ python-pytest-spec.spec ++
--- /var/tmp/diff_new_pack.W600rG/_old  2019-12-18 14:48:54.509954812 +0100
+++ /var/tmp/diff_new_pack.W600rG/_new  2019-12-18 14:48:54.533954822 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pytest-spec
-Version:1.1.0
+Version:2.0.0
 Release:0
 Summary:Plugin to display pytest execution output like a specification
 License:GPL-2.0-only
@@ -26,7 +26,6 @@
 URL:https://github.com/pchomik/pytest-spec
 Source: 
https://files.pythonhosted.org/packages/source/p/pytest-spec/pytest-spec-%{version}.tar.gz
 Source1:
https://raw.githubusercontent.com/pchomik/pytest-spec/master/LICENSE.txt
-Patch0: pytest4.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -43,7 +42,6 @@
 
 %prep
 %setup -q -n pytest-spec-%{version}
-%patch0 -p1
 cp %{SOURCE1} .
 
 %build

++ pytest-spec-1.1.0.tar.gz -> pytest-spec-2.0.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-spec-1.1.0/PKG-INFO 
new/pytest-spec-2.0.0/PKG-INFO
--- old/pytest-spec-1.1.0/PKG-INFO  2016-12-06 22:47:11.0 +0100
+++ new/pytest-spec-2.0.0/PKG-INFO  2019-12-17 22:10:35.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: pytest-spec
-Version: 1.1.0
+Version: 2.0.0
 Summary: pytest plugin to display test execution output like a SPECIFICATION
 Home-page: https://github.com/pchomik/pytest-spec
 Author: Pawel Chomicki
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-spec-1.1.0/README.rst 
new/pytest-spec-2.0.0/README.rst
--- old/pytest-spec-1.1.0/README.rst2016-12-06 21:10:46.0 +0100
+++ new/pytest-spec-2.0.0/README.rst2019-12-17 22:09:46.0 +0100
@@ -9,6 +9,8 @@
 * Group tests by classes and files
 * Failed, passed and skipped are marked and colored.
 * Remove test\_ and underscores for every test.
+* Supports function based, class based test.
+* Supports describe like tests.
 
 
 Output example
@@ -18,15 +20,17 @@
 
 py.test --spec
 
-test/test_results/test_as_class.py::TestResults
-[SKIP]  Some method return none
-[FAIL]  Some method returns false
-[PASS]  Some method returns true
-
-test/test_results/test_as_functions.py
-[PASS]  Some method returns true
-[FAIL]  Some method returns false
-[SKIP]  Some method return none
+test/test_results/test_as_class.py:
+
+Results:
+✗ Some method return none
+? Some method returns false
+✓ Some method returns true
+
+test/test_results/test_as_functions.py:
+✗ Some method returns false
+? Some method return none
+✓ Some method returns true
 
 
 Configuration
@@ -57,12 +61,12 @@
 
 Continuous Integration
 ==
-.. image:: https://drone.io/github.com/pchomik/pytest-spec/status.png
- :target: https://drone.io/github.com/pchomik/pytest-spec/latest
+.. image:: https://api.travis-ci.org/pchomik/pytest-spec.svg?branch=master
+ :target: https://travis-ci.org/pchomik/pytest-spec
 
 Download
 
-Latest version of plugin is available in `drone.io project artifacts 
`_.
+All versions of library are available on official `pypi server 
`_.
 
 Install
 ===
@@ -76,8 +80,12 @@
 
 Contributors
 
-* dtk
-* Eric Carmichael
+* @0x64746b
+* @lucasmarshall
+* @amcgregor
+* @jhermann
+* @frenzymadness
+* 

commit python-pytest-spec for openSUSE:Factory

2019-08-22 Thread root
Hello community,

here is the log from the commit of package python-pytest-spec for 
openSUSE:Factory checked in at 2019-08-22 15:05:47

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


Package is "python-pytest-spec"

Thu Aug 22 15:05:47 2019 rev:2 rq:725257 version:1.1.0

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest-spec/python-pytest-spec.changes
2019-03-22 15:08:32.441433621 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-spec.new.7948/python-pytest-spec.changes
  2019-08-22 15:17:57.590341467 +0200
@@ -1,0 +2,6 @@
+Thu Aug 22 09:01:23 UTC 2019 - Tomáš Chvátal 
+
+- Add patches to work with new pytest:
+  * pytest4.patch
+
+---

New:

  pytest4.patch



Other differences:
--
++ python-pytest-spec.spec ++
--- /var/tmp/diff_new_pack.um5WXp/_old  2019-08-22 15:17:57.966341370 +0200
+++ /var/tmp/diff_new_pack.um5WXp/_new  2019-08-22 15:17:57.970341369 +0200
@@ -21,11 +21,12 @@
 Version:1.1.0
 Release:0
 Summary:Plugin to display pytest execution output like a specification
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  Development/Languages/Python
 URL:https://github.com/pchomik/pytest-spec
 Source: 
https://files.pythonhosted.org/packages/source/p/pytest-spec/pytest-spec-%{version}.tar.gz
 Source1:
https://raw.githubusercontent.com/pchomik/pytest-spec/master/LICENSE.txt
+Patch0: pytest4.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -42,6 +43,7 @@
 
 %prep
 %setup -q -n pytest-spec-%{version}
+%patch0 -p1
 cp %{SOURCE1} .
 
 %build
@@ -52,7 +54,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec -m pytest
+%pytest
 
 %files %{python_files}
 %doc README.rst

++ pytest4.patch ++
>From 1cd9ced1beda40b4a57af0774694d243a97dae53 Mon Sep 17 00:00:00 2001
From: Lumir Balhar 
Date: Mon, 6 May 2019 07:35:20 +0200
Subject: [PATCH] New section name in setup.cfg

Fixes the error: Failed: [pytest] section in setup.cfg files is
no longer supported, change to [tool:pytest] instead.
---
 setup.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: pytest-spec-1.1.0/setup.cfg
===
--- pytest-spec-1.1.0.orig/setup.cfg
+++ pytest-spec-1.1.0/setup.cfg
@@ -1,4 +1,4 @@
-[pytest]
+[tool:pytest]
 pep8maxlinelength = 150
 
 [egg_info]