Hello community,
here is the log from the commit of package python-pytest-reorder for openSUSE:Factory checked in at 2019-02-25 17:51:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-reorder (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-reorder.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-reorder"
Mon Feb 25 17:51:35 2019 rev:3 rq:676360 version:0.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest-reorder/python-pytest-reorder.changes 2018-07-31 16:03:18.147944505 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest-reorder.new.28833/python-pytest-reorder.changes 2019-02-25 17:51:38.290743945 +0100
@@ -1,0 +2,8 @@
+Fri Feb 15 09:37:32 UTC 2019 - Tomáš Chvátal
+
+- Update to 0.1.1:
+ * Tests expanded a bit
+ * Small fixes
+- Enable tests
+
+-------------------------------------------------------------------
Old:
----
LICENSE
pytest_reorder-0.1.0.tar.gz
New:
----
v0.1.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-reorder.spec ++++++
--- /var/tmp/diff_new_pack.WC8BA4/_old 2019-02-25 17:51:40.074742973 +0100
+++ /var/tmp/diff_new_pack.WC8BA4/_new 2019-02-25 17:51:40.078742971 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-reorder
#
-# 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,32 +12,29 @@
# 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-pytest-reorder
-Version: 0.1.0
+Version: 0.1.1
Release: 0
Summary: Pytest plugin for reordering tests depending on their paths and names
License: MIT
Group: Development/Languages/Python
-Url: https://github.com/not-raspberry/pytest_reorder
-Source: https://files.pythonhosted.org/packages/source/p/pytest-reorder/pytest_reorder-%{version}.tar.gz
-Source10: https://raw.githubusercontent.com/not-raspberry/pytest_reorder/v%{version}/LICENSE
-BuildRequires: %{python_module devel}
+URL: https://github.com/not-raspberry/pytest_reorder
+Source: https://github.com/not-raspberry/pytest_reorder/archive/v%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires: python-pytest >= 2.8.5
+BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module mock >= 1.3.0}
BuildRequires: %{python_module pylama >= 7.0.6}
BuildRequires: %{python_module pytest >= 2.8.5}
# /SECTION
-Requires: python-pytest >= 2.8.5
-BuildArch: noarch
-
%python_subpackages
%description
@@ -61,7 +58,6 @@
%prep
%setup -q -n pytest_reorder-%{version}
-cp %{SOURCE10} .
%build
%python_build
@@ -70,8 +66,11 @@
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%check
+export PYTHONDONTWRITEBYTECODE=1
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
+
%files %{python_files}
-%defattr(-,root,root,-)
%doc README.rst
%license LICENSE
%{python_sitelib}/*