commit python-pyshould for openSUSE:Factory

2020-08-19 Thread root
Hello community,

here is the log from the commit of package python-pyshould for openSUSE:Factory 
checked in at 2020-08-19 18:55:02

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


Package is "python-pyshould"

Wed Aug 19 18:55:02 2020 rev:6 rq:827693 version:0.7.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pyshould/python-pyshould.changes  
2020-08-17 16:41:56.737828758 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pyshould.new.3399/python-pyshould.changes
2020-08-19 18:56:50.971848001 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 22:32:35 UTC 2020 - Matej Cepl 
+
+- We can finally use %pyunittest macro
+
+---



Other differences:
--
++ python-pyshould.spec ++
--- /var/tmp/diff_new_pack.22zoZY/_old  2020-08-19 18:56:52.015848556 +0200
+++ /var/tmp/diff_new_pack.22zoZY/_new  2020-08-19 18:56:52.019848558 +0200
@@ -65,10 +65,7 @@
 }
 
 %check
-# %%pyunittest is still not available in TW, so we have to expand it manually
-%{python_expand export PYTHONPATH=$PYTHONPATH:%{buildroot}%{$python_sitelib} 
PYTHONDONTWRITEBYTECODE=1
-$python -munittest -v
-}
+%pyunittest
 
 %files %{python_files}
 %doc README.md




commit python-pyshould for openSUSE:Factory

2020-08-17 Thread root
Hello community,

here is the log from the commit of package python-pyshould for openSUSE:Factory 
checked in at 2020-08-17 16:41:34

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


Package is "python-pyshould"

Mon Aug 17 16:41:34 2020 rev:5 rq:827347 version:0.7.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pyshould/python-pyshould.changes  
2020-08-17 14:40:09.042576564 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pyshould.new.3399/python-pyshould.changes
2020-08-17 16:41:56.737828758 +0200
@@ -1,0 +2,6 @@
+Mon Aug 17 12:38:29 UTC 2020 - Matej Cepl 
+
+- Don't force pytest, when the easiest way is just to follow
+  the flow and go with the unittest runner.
+
+---



Other differences:
--
++ python-pyshould.spec ++
--- /var/tmp/diff_new_pack.PbgoDL/_old  2020-08-17 16:41:58.481829528 +0200
+++ /var/tmp/diff_new_pack.PbgoDL/_new  2020-08-17 16:41:58.485829531 +0200
@@ -33,7 +33,6 @@
 BuildArch:  noarch
 # SECTION test requirements
 BuildRequires:  %{python_module hamcrest}
-BuildRequires:  %{python_module pytest}
 # /SECTION
 %python_subpackages
 
@@ -54,8 +53,6 @@
 %prep
 %setup -q -n %{modname}-%{version}
 sed -i '/nose/d' setup.py
-# Remove __init__.py to help 15.x
-rm tests/__init__.py
 
 %build
 %python_build
@@ -68,7 +65,10 @@
 }
 
 %check
-%pytest tests/*.py
+# %%pyunittest is still not available in TW, so we have to expand it manually
+%{python_expand export PYTHONPATH=$PYTHONPATH:%{buildroot}%{$python_sitelib} 
PYTHONDONTWRITEBYTECODE=1
+$python -munittest -v
+}
 
 %files %{python_files}
 %doc README.md




commit python-pyshould for openSUSE:Factory

2020-08-17 Thread root
Hello community,

here is the log from the commit of package python-pyshould for openSUSE:Factory 
checked in at 2020-08-17 14:40:07

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


Package is "python-pyshould"

Mon Aug 17 14:40:07 2020 rev:4 rq:827204 version:0.7.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pyshould/python-pyshould.changes  
2018-12-24 11:42:20.157401905 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pyshould.new.3399/python-pyshould.changes
2020-08-17 14:40:09.042576564 +0200
@@ -1,0 +2,5 @@
+Sun Aug 16 21:25:42 UTC 2020 - John Vandenberg 
+
+- Replace nose with pytest
+
+---



Other differences:
--
++ python-pyshould.spec ++
--- /var/tmp/diff_new_pack.Jkpowm/_old  2020-08-17 14:40:09.766576865 +0200
+++ /var/tmp/diff_new_pack.Jkpowm/_new  2020-08-17 14:40:09.770576866 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyshould
 #
-# Copyright (c) 2018 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
@@ -33,7 +33,7 @@
 BuildArch:  noarch
 # SECTION test requirements
 BuildRequires:  %{python_module hamcrest}
-BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module pytest}
 # /SECTION
 %python_subpackages
 
@@ -53,6 +53,9 @@
 
 %prep
 %setup -q -n %{modname}-%{version}
+sed -i '/nose/d' setup.py
+# Remove __init__.py to help 15.x
+rm tests/__init__.py
 
 %build
 %python_build
@@ -60,12 +63,12 @@
 %install
 %python_install
 # We shouldn't install tests
-%python_expand rm -rvf %{buildroot}%{$python_sitelib}/tests
-
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%{python_expand rm -rvf %{buildroot}%{$python_sitelib}/tests
+%fdupes %{buildroot}%{$python_sitelib}
+}
 
 %check
-%python_exec setup.py test -v
+%pytest tests/*.py
 
 %files %{python_files}
 %doc README.md




commit python-pyshould for openSUSE:Factory

2018-12-24 Thread root
Hello community,

here is the log from the commit of package python-pyshould for openSUSE:Factory 
checked in at 2018-12-24 11:42:19

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


Package is "python-pyshould"

Mon Dec 24 11:42:19 2018 rev:3 rq:659602 version:0.7.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pyshould/python-pyshould.changes  
2018-06-02 12:11:52.696584060 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pyshould.new.28833/python-pyshould.changes   
2018-12-24 11:42:20.157401905 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:52:51 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-pyshould.spec ++
--- /var/tmp/diff_new_pack.PFop9U/_old  2018-12-24 11:42:20.585401525 +0100
+++ /var/tmp/diff_new_pack.PFop9U/_new  2018-12-24 11:42:20.589401521 +0100
@@ -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/
 #
 
 
@@ -26,7 +26,6 @@
 Group:  Development/Languages/Python
 URL:https://github.com/drslump/%{modname}
 Source: 
https://files.pythonhosted.org/packages/source/p/pyshould/%{modname}-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros




commit python-pyshould for openSUSE:Factory

2018-06-02 Thread root
Hello community,

here is the log from the commit of package python-pyshould for openSUSE:Factory 
checked in at 2018-06-02 12:11:10

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


Package is "python-pyshould"

Sat Jun  2 12:11:10 2018 rev:2 rq:613123 version:0.7.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pyshould/python-pyshould.changes  
2018-05-29 10:28:28.864911462 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyshould.new/python-pyshould.changes 
2018-06-02 12:11:52.696584060 +0200
@@ -1,0 +2,5 @@
+Wed May 30 20:33:58 UTC 2018 - mc...@suse.com
+
+- Do not package tests/ directory
+
+---



Other differences:
--
++ python-pyshould.spec ++
--- /var/tmp/diff_new_pack.SaBBVa/_old  2018-06-02 12:11:53.264563228 +0200
+++ /var/tmp/diff_new_pack.SaBBVa/_new  2018-06-02 12:11:53.268563081 +0200
@@ -13,28 +13,29 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
+%define modname pyshould
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-Name:   python-pyshould
+Name:   python-%{modname}
 Version:0.7.1
 Release:0
-License:MIT
 Summary:Should style asserts
-Url:https://github.com/drslump/pyshould
+License:MIT
 Group:  Development/Languages/Python
-Source: 
https://files.pythonhosted.org/packages/source/p/pyshould/pyshould-%{version}.tar.gz
+URL:https://github.com/drslump/%{modname}
+Source: 
https://files.pythonhosted.org/packages/source/p/pyshould/%{modname}-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:   python-hamcrest
+BuildArch:  noarch
 # SECTION test requirements
 BuildRequires:  %{python_module hamcrest}
 BuildRequires:  %{python_module nose}
 # /SECTION
-Requires:   python-hamcrest
-BuildArch:  noarch
-
 %python_subpackages
 
 %description
@@ -52,21 +53,24 @@
 the standard AssertionError.
 
 %prep
-%setup -q -n pyshould-%{version}
+%setup -q -n %{modname}-%{version}
 
 %build
 %python_build
 
 %install
 %python_install
+# We shouldn't install tests
+%python_expand rm -rvf %{buildroot}%{$python_sitelib}/tests
+
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec setup.py test
+%python_exec setup.py test -v
 
 %files %{python_files}
 %doc README.md
 %license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/%{modname}*
 
 %changelog