commit python-Flask-Security for openSUSE:Factory

2019-11-06 Thread root
Hello community,

here is the log from the commit of package python-Flask-Security for 
openSUSE:Factory checked in at 2019-11-06 14:06:18

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


Package is "python-Flask-Security"

Wed Nov  6 14:06:18 2019 rev:5 rq:745434 version:3.0.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-Flask-Security/python-Flask-Security.changes  
2019-10-21 12:32:27.916237154 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-Flask-Security.new.2990/python-Flask-Security.changes
2019-11-06 14:06:18.424798661 +0100
@@ -1,0 +2,6 @@
+Tue Nov  5 10:45:24 UTC 2019 - Tomáš Chvátal 
+
+- Say goodbye to tests as they require pytest 3 only and
+  we want to remove that (upstream master still needs pytest3)
+
+---



Other differences:
--
++ python-Flask-Security.spec ++
--- /var/tmp/diff_new_pack.5GY96n/_old  2019-11-06 14:06:19.388799670 +0100
+++ /var/tmp/diff_new_pack.5GY96n/_new  2019-11-06 14:06:19.388799670 +0100
@@ -22,15 +22,11 @@
 Release:0
 Summary:Security for Flask apps
 License:MIT
-Group:  Development/Languages/Python
-Url:https://github.com/mattupstate/flask-security
+URL:https://github.com/mattupstate/flask-security
 Source: 
https://files.pythonhosted.org/packages/source/F/Flask-Security/Flask-Security-%{version}.tar.gz
 Patch0: fix-requirements.patch
 Patch2: fix-tests.patch
 BuildRequires:  %{python_module Babel >= 1.3}
-BuildRequires:  %{python_module setuptools}
-BuildRequires:  python-rpm-macros
-# Test requirements
 BuildRequires:  %{python_module Flask >= 0.11}
 BuildRequires:  %{python_module Flask-BabelEx >= 0.9.3}
 BuildRequires:  %{python_module Flask-Login >= 0.3.0}
@@ -48,21 +44,12 @@
 BuildRequires:  %{python_module mock >= 1.3.0}
 BuildRequires:  %{python_module passlib >= 1.7}
 BuildRequires:  %{python_module pydocstyle >= 1.0.0}
-BuildRequires:  %{python_module pytest < 4}
 BuildRequires:  %{python_module pytest-runner >= 2.6.2}
 BuildRequires:  %{python_module pytest-translations >= 1.0.4}
-# Don't require python modules just needed for testing that are not available 
in SLE
-%if 0%{?is_opensuse}
-%if 0%{suse_version} > 1500
-%ifarch %x86_64 %power64 %s390x %ia64 %aarch64 %riscv64
-BuildRequires:  %{python_module flask-mongoengine >= 0.7.0}
-%endif
-%endif
-BuildRequires:  %{python_module mongoengine >= 0.10.0}
-BuildRequires:  %{python_module pony >= 0.7.1}
-%endif
-# End of test requirements
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 Requires:   python-Flask >= 0.11
 Requires:   python-Flask-BabelEx >= 0.9.3
 Requires:   python-Flask-Login >= 0.3.0
@@ -75,7 +62,16 @@
 Suggests:   python-bcrypt >= 1.0.2
 Suggests:   python-sqlalchemy >= 0.8.0
 BuildArch:  noarch
-
+# Don't require python modules just needed for testing that are not available 
in SLE
+%if 0%{?is_opensuse}
+BuildRequires:  %{python_module mongoengine >= 0.10.0}
+BuildRequires:  %{python_module pony >= 0.7.1}
+%if 0%{?suse_version} > 1500
+%ifarch %{x86_64} %{power64} %{s390x} %{ia64} %{aarch64} %{riscv64}
+BuildRequires:  %{python_module flask-mongoengine >= 0.7.0}
+%endif
+%endif
+%endif
 %python_subpackages
 
 %description
@@ -89,6 +85,8 @@
 rm tests/test_cli.py
 rm pytest.ini
 
+rm -R tests/__pycache__
+
 %build
 %python_build
 
@@ -98,8 +96,7 @@
 
 %check
 export LC_CTYPE=en_US@UTF-8
-rm -Rf tests/__pycache__
-%python_exec setup.py test
+#%%pytest
 
 %files %{python_files}
 %doc AUTHORS CHANGES README.rst




commit python-Flask-Security for openSUSE:Factory

2019-10-21 Thread root
Hello community,

here is the log from the commit of package python-Flask-Security for 
openSUSE:Factory checked in at 2019-10-21 12:32:27

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


Package is "python-Flask-Security"

Mon Oct 21 12:32:27 2019 rev:4 rq:741437 version:3.0.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-Flask-Security/python-Flask-Security.changes  
2019-02-26 22:22:57.350054345 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-Flask-Security.new.2352/python-Flask-Security.changes
2019-10-21 12:32:27.916237154 +0200
@@ -1,0 +2,5 @@
+Mon Oct 21 07:14:55 UTC 2019 - Petr Cervinka 
+
+- Fix test execution
+
+---



Other differences:
--
++ python-Flask-Security.spec ++
--- /var/tmp/diff_new_pack.2vAdso/_old  2019-10-21 12:32:28.352237648 +0200
+++ /var/tmp/diff_new_pack.2vAdso/_new  2019-10-21 12:32:28.356237653 +0200
@@ -48,7 +48,7 @@
 BuildRequires:  %{python_module mock >= 1.3.0}
 BuildRequires:  %{python_module passlib >= 1.7}
 BuildRequires:  %{python_module pydocstyle >= 1.0.0}
-BuildRequires:  %{python_module pytest >= 3.0.5}
+BuildRequires:  %{python_module pytest < 4}
 BuildRequires:  %{python_module pytest-runner >= 2.6.2}
 BuildRequires:  %{python_module pytest-translations >= 1.0.4}
 # Don't require python modules just needed for testing that are not available 
in SLE




commit python-Flask-Security for openSUSE:Factory

2019-02-26 Thread root
Hello community,

here is the log from the commit of package python-Flask-Security for 
openSUSE:Factory checked in at 2019-02-26 22:21:24

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


Package is "python-Flask-Security"

Tue Feb 26 22:21:24 2019 rev:3 rq:679224 version:3.0.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-Flask-Security/python-Flask-Security.changes  
2019-02-05 11:18:44.704896335 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-Flask-Security.new.28833/python-Flask-Security.changes
   2019-02-26 22:22:57.350054345 +0100
@@ -1,0 +2,7 @@
+Tue Feb 26 11:12:07 UTC 2019 - Tomáš Chvátal 
+
+- Drop patch replace-pytest-pep8-with-pytest-codestyle.patch
+- Drop needless test dependencies:
+  * Refresh patch fix-requirements.patch
+
+---

Old:

  replace-pytest-pep8-with-pytest-codestyle.patch



Other differences:
--
++ python-Flask-Security.spec ++
--- /var/tmp/diff_new_pack.ZgqYH6/_old  2019-02-26 22:22:57.818054179 +0100
+++ /var/tmp/diff_new_pack.ZgqYH6/_new  2019-02-26 22:22:57.818054179 +0100
@@ -26,7 +26,6 @@
 Url:https://github.com/mattupstate/flask-security
 Source: 
https://files.pythonhosted.org/packages/source/F/Flask-Security/Flask-Security-%{version}.tar.gz
 Patch0: fix-requirements.patch
-Patch1: replace-pytest-pep8-with-pytest-codestyle.patch
 Patch2: fix-tests.patch
 BuildRequires:  %{python_module Babel >= 1.3}
 BuildRequires:  %{python_module setuptools}
@@ -50,10 +49,6 @@
 BuildRequires:  %{python_module passlib >= 1.7}
 BuildRequires:  %{python_module pydocstyle >= 1.0.0}
 BuildRequires:  %{python_module pytest >= 3.0.5}
-BuildRequires:  %{python_module pytest-cache >= 1.0}
-BuildRequires:  %{python_module pytest-codestyle >= 1.0.6}
-BuildRequires:  %{python_module pytest-cov >= 2.4.0}
-BuildRequires:  %{python_module pytest-flakes >= 1.0.1}
 BuildRequires:  %{python_module pytest-runner >= 2.6.2}
 BuildRequires:  %{python_module pytest-translations >= 1.0.4}
 # Don't require python modules just needed for testing that are not available 
in SLE
@@ -90,9 +85,9 @@
 %prep
 %setup -q -n Flask-Security-%{version}
 %patch0 -p1
-%patch1 -p1
 %patch2 -p1
 rm tests/test_cli.py
+rm pytest.ini
 
 %build
 %python_build

++ fix-requirements.patch ++
--- /var/tmp/diff_new_pack.ZgqYH6/_old  2019-02-26 22:22:57.842054171 +0100
+++ /var/tmp/diff_new_pack.ZgqYH6/_new  2019-02-26 22:22:57.842054171 +0100
@@ -84,7 +84,7 @@
 ===
 --- Flask-Security-3.0.0.orig/setup.py
 +++ Flask-Security-3.0.0/setup.py
-@@ -7,25 +7,26 @@ from setuptools import find_packages, se
+@@ -7,25 +7,22 @@ from setuptools import find_packages, se
  readme = open('README.rst').read()
  
  tests_require = [
@@ -105,10 +105,10 @@
 +# 'mongoengine>=0.10.0',
 +# 'pony>=0.7.1',
  'pydocstyle>=1.0.0',
- 'pytest-cache>=1.0',
- 'pytest-cov>=2.4.0',
- 'pytest-flakes>=1.0.1',
- 'pytest-pep8>=1.0.6',
+-'pytest-cache>=1.0',
+-'pytest-cov>=2.4.0',
+-'pytest-flakes>=1.0.1',
+-'pytest-pep8>=1.0.6',
  'pytest-translations>=1.0.4',
 +'pytest-runner>=2.6.2',
  'pytest>=3.0.5',
@@ -117,7 +117,7 @@
  ]
  
  extras_require = {
-@@ -42,7 +43,6 @@ for reqs in extras_require.values():
+@@ -42,7 +39,6 @@ for reqs in extras_require.values():
  
  setup_requires = [
  'Babel>=1.3',




commit python-Flask-Security for openSUSE:Factory

2019-02-05 Thread root
Hello community,

here is the log from the commit of package python-Flask-Security for 
openSUSE:Factory checked in at 2019-02-05 11:18:42

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


Package is "python-Flask-Security"

Tue Feb  5 11:18:42 2019 rev:2 rq:671191 version:3.0.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-Flask-Security/python-Flask-Security.changes  
2018-11-29 22:58:14.475666069 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-Flask-Security.new.28833/python-Flask-Security.changes
   2019-02-05 11:18:44.704896335 +0100
@@ -1,0 +2,7 @@
+Fri Feb  1 11:04:13 UTC 2019 - alarr...@suse.com
+
+- mongodb is not available in Leap nor in 32 bit archs, so don't depend
+  on it to build (the only effect is that %check doesn't test mongodb
+  features)
+
+---



Other differences:
--
++ python-Flask-Security.spec ++
--- /var/tmp/diff_new_pack.DGm5nq/_old  2019-02-05 11:18:45.288896014 +0100
+++ /var/tmp/diff_new_pack.DGm5nq/_new  2019-02-05 11:18:45.292896012 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Flask-Security
 #
-# 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
@@ -12,51 +12,57 @@
 # 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/
+#
+
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-Flask-Security
 Version:3.0.0
 Release:0
-License:MIT
 Summary:Security for Flask apps
-Url:https://github.com/mattupstate/flask-security
+License:MIT
 Group:  Development/Languages/Python
+Url:https://github.com/mattupstate/flask-security
 Source: 
https://files.pythonhosted.org/packages/source/F/Flask-Security/Flask-Security-%{version}.tar.gz
 Patch0: fix-requirements.patch
 Patch1: replace-pytest-pep8-with-pytest-codestyle.patch
 Patch2: fix-tests.patch
-BuildRequires:  python-rpm-macros
-BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module Babel >= 1.3}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 # Test requirements
-BuildRequires:  %{python_module pytest-runner >= 2.6.2}
 BuildRequires:  %{python_module Flask >= 0.11}
 BuildRequires:  %{python_module Flask-BabelEx >= 0.9.3}
 BuildRequires:  %{python_module Flask-Login >= 0.3.0}
 BuildRequires:  %{python_module Flask-Mail >= 0.7.3}
 BuildRequires:  %{python_module Flask-Principal >= 0.3.3}
+BuildRequires:  %{python_module Flask-SQLAlchemy >= 1.0}
 BuildRequires:  %{python_module Flask-WTF >= 0.13.1}
-BuildRequires:  %{python_module itsdangerous >= 0.21}
-BuildRequires:  %{python_module passlib >= 1.7}
+BuildRequires:  %{python_module SQLAlchemy >= 0.8.0}
 BuildRequires:  %{python_module bcrypt >= 1.0.2}
 BuildRequires:  %{python_module check-manifest >= 0.25}
 BuildRequires:  %{python_module coverage >= 4.0}
 BuildRequires:  %{python_module flask-peewee >= 0.6.5}
-BuildRequires:  %{python_module Flask-SQLAlchemy >= 1.0}
 BuildRequires:  %{python_module isort >= 4.2.2}
+BuildRequires:  %{python_module itsdangerous >= 0.21}
 BuildRequires:  %{python_module mock >= 1.3.0}
+BuildRequires:  %{python_module passlib >= 1.7}
 BuildRequires:  %{python_module pydocstyle >= 1.0.0}
 BuildRequires:  %{python_module pytest >= 3.0.5}
 BuildRequires:  %{python_module pytest-cache >= 1.0}
+BuildRequires:  %{python_module pytest-codestyle >= 1.0.6}
 BuildRequires:  %{python_module pytest-cov >= 2.4.0}
 BuildRequires:  %{python_module pytest-flakes >= 1.0.1}
-BuildRequires:  %{python_module pytest-codestyle >= 1.0.6}
+BuildRequires:  %{python_module pytest-runner >= 2.6.2}
 BuildRequires:  %{python_module pytest-translations >= 1.0.4}
-BuildRequires:  %{python_module SQLAlchemy >= 0.8.0}
 # Don't require python modules just needed for testing that are not available 
in SLE
 %if 0%{?is_opensuse}
+%if 0%{suse_version} > 1500
+%ifarch %x86_64 %power64 %s390x %ia64 %aarch64 %riscv64
 BuildRequires:  %{python_module flask-mongoengine >= 0.7.0}
+%endif
+%endif
 BuildRequires:  %{python_module mongoengine >= 0.10.0}
 BuildRequires:  %{python_module pony >= 0.7.1}
 %endif