Hello community,
here is the log from the commit of package python-PasteScript for openSUSE:Factory checked in at 2019-03-06 15:49:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PasteScript (Old)
and /work/SRC/openSUSE:Factory/.python-PasteScript.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PasteScript"
Wed Mar 6 15:49:47 2019 rev:13 rq:681897 version:3.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PasteScript/python-PasteScript.changes 2018-08-24 17:04:16.714083817 +0200
+++ /work/SRC/openSUSE:Factory/.python-PasteScript.new.28833/python-PasteScript.changes 2019-03-06 15:49:57.396431565 +0100
@@ -1,0 +2,10 @@
+Tue Mar 5 18:01:22 UTC 2019 - Tomáš Chvátal
+
+- Update to 3.0.0:
+ * Moved to `GitHub https://github.com/cdent/pastescript`_.
+ * Put into maintenance mode, meaning: critical bugs will be fixed,
+ and support for new versions of Python will be handled, but new
+ features are not being considered.
+- Make sure we execute tests
+
+-------------------------------------------------------------------
Old:
----
PasteScript-2.0.2.tar.gz
New:
----
PasteScript-3.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-PasteScript.spec ++++++
--- /var/tmp/diff_new_pack.3PIsC8/_old 2019-03-06 15:49:58.684431741 +0100
+++ /var/tmp/diff_new_pack.3PIsC8/_new 2019-03-06 15:49:58.688431741 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-PasteScript
#
-# 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,40 +12,36 @@
# 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-%{**}}
%define oldpython python
Name: python-PasteScript
-Version: 2.0.2
+Version: 3.0.0
Release: 0
Summary: A pluggable command-line frontend to setup package file layouts
License: MIT
Group: Development/Languages/Python
-URL: https://bitbucket.org/ianb/pastescript/
+URL: https://github.com/cdent/pastescript
Source: https://files.pythonhosted.org/packages/source/P/PasteScript/PasteScript-%{version}.tar.gz
-Patch10: remove_unittest2.patch
-BuildRequires: %{python_module Paste >= 1.3}
+Patch0: remove_unittest2.patch
+BuildRequires: %{python_module Paste >= 2.0}
BuildRequires: %{python_module PasteDeploy}
-BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module nose >= 0.11}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-Paste >= 1.3
+Requires: python-Paste >= 2.0
Requires: python-PasteDeploy
Requires: python-setuptools
Requires: python-six
Requires(post): update-alternatives
Requires(preun): update-alternatives
BuildArch: noarch
-# Test requirements
-BuildRequires: %{python_module nose >= 0.11}
-BuildRequires: python-Cheetah
%ifpython2
-Recommends: python-Cheetah
Provides: %{oldpython}-pastescript = %{version}
Obsoletes: %{oldpython}-pastescript < %{version}
%endif
@@ -59,9 +55,9 @@
%prep
%setup -q -n PasteScript-%{version}
-%patch10 -p1
-mv docs/_build docs/html # Proper name for HTML docs
-sed -i "1d" tests/test_logging_config.py # Fix non-executable script
+%autopatch -p1
+echo "[nosetests]" >> setup.cfg
+echo "tests=tests/test_command.py,tests/test_egg_finder.py,tests/test_logging_config.py,tests/test_plugin_adder.py,tests/test_template_introspect.py,tests/test_util.py" >> setup.cfg
%build
%python_build
@@ -69,13 +65,12 @@
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%python_expand rm -rf %{buildroot}%{$python_sitelib}/tests # Remove wrongly installed tests
# Prepare for update-alternatives usage
%python_clone -a %{buildroot}%{_bindir}/paster
%check
-# %%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%{$python_bin_suffix}
+%python_exec setup.py test
%post
%python_install_alternative paster
@@ -86,7 +81,6 @@
%files %{python_files}
%license docs/license.txt
%doc README.rst docs/news.txt
-%doc docs/html/
%python_alternative %{_bindir}/paster
%{python_sitelib}/PasteScript-%{version}-py*.egg-info
%{python_sitelib}/PasteScript-%{version}-py*-nspkg.pth
++++++ PasteScript-2.0.2.tar.gz -> PasteScript-3.0.0.tar.gz ++++++
++++ 4607 lines of diff (skipped)