Hello community,

here is the log from the commit of package python-pytest-translations for 
openSUSE:Factory checked in at 2019-08-22 15:05:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-translations (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-translations.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-translations"

Thu Aug 22 15:05:59 2019 rev:2 rq:725259 version:2.0.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pytest-translations/python-pytest-translations.changes
    2018-10-29 14:58:22.541969610 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-translations.new.7948/python-pytest-translations.changes
  2019-08-22 15:17:58.654341191 +0200
@@ -1,0 +2,6 @@
+Thu Aug 22 09:12:49 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Format with spec-cleaner
+- Make sure the tests are executed properly
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pytest-translations.spec ++++++
--- /var/tmp/diff_new_pack.O7QzG4/_old  2019-08-22 15:17:59.114341071 +0200
+++ /var/tmp/diff_new_pack.O7QzG4/_new  2019-08-22 15:17:59.118341070 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pytest-translations
 #
-# 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,33 +12,30 @@
 # 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/
+#
 
 
-%bcond_without test
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pytest-translations
 Version:        2.0.0
 Release:        0
+Summary:        Plugin for testing gettext, .po and .mo files
 License:        Apache-2.0
-Summary:        py.test plugin for testing gettext, .po and .mo files
-Url:            https://github.com/Thermondo/pytest-translations
 Group:          Development/Languages/Python
+URL:            https://github.com/Thermondo/pytest-translations
 Source:         
https://files.pythonhosted.org/packages/source/p/pytest-translations/pytest-translations-%{version}.tar.gz
-BuildRequires:  python-rpm-macros
-BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module pbr}
-%if %{with test}
 BuildRequires:  %{python_module polib >= 1.0.5}
 BuildRequires:  %{python_module pyenchant >= 1.6.0}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  myspell-de_DE
-%endif
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
+BuildRequires:  myspell-de_DE
+BuildRequires:  python-rpm-macros
 Requires:       python-polib >= 1.0.5
 Requires:       python-pyenchant >= 1.6.0
 BuildArch:      noarch
-
 %python_subpackages
 
 %description
@@ -61,12 +58,10 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%if %{with test}
 %check
 export LANG=en_US.UTF-8
-export PYTHONPATH=$PWD
-%python_exec %{_bindir}/py.test
-%endif
+# skipped tests needs language dicts
+%pytest -k 'not (test_language_missing_in_po or test_language_catalog_missing)'
 
 %files %{python_files}
 %doc AUTHORS ChangeLog README.rst


Reply via email to