Hello community,
here is the log from the commit of package python-setuptools for
openSUSE:Factory checked in at 2019-08-27 15:54:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-setuptools (Old)
and /work/SRC/openSUSE:Factory/.python-setuptools.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-setuptools"
Tue Aug 27 15:54:28 2019 rev:54 rq:725049 version:41.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-setuptools/python-setuptools.changes
2019-05-07 23:12:05.816059691 +0200
+++
/work/SRC/openSUSE:Factory/.python-setuptools.new.7948/python-setuptools.changes
2019-08-27 15:54:32.199655988 +0200
@@ -1,0 +2,14 @@
+Wed Aug 21 12:40:01 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Switch to multibuild to enable testsuite
+
+-------------------------------------------------------------------
+Wed Aug 21 12:12:39 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 41.2.0:
+ * #479: Remove some usage of the deprecated imp module.
+ * #1565: Changed html_sidebars from string to list of string as per
https://www.sphinx-doc.org/en/master/changes.html#id58
+ * #1697: Moved most of the constants from setup.py to setup.cfg
+ * #1756: Forse metadata-version >= 1.2. when project urls are present.
+
+-------------------------------------------------------------------
@@ -268,0 +283,5 @@
+Tue Apr 24 14:02:55 UTC 2018 - [email protected]
+
+- build python3 subpackage (FATE#323875)
+
+-------------------------------------------------------------------
@@ -1064,0 +1084,6 @@
+Mon Aug 3 15:40:48 UTC 2015 - [email protected]
+
+- update to 18.0.1 for fate#319032
+ * see full changelog in CHANGES.txt
+
+-------------------------------------------------------------------
@@ -1100,0 +1126,5 @@
+-------------------------------------------------------------------
+Wed May 27 09:57:53 UTC 2015 - [email protected]
+
+- fix vulnerability in non-RFC6125-compliant host name matching
+ (bsc#930189, setuptools-1.1.7-match-hostname.patch)
@@ -1331,0 +1362,5 @@
+
+-------------------------------------------------------------------
+Thu Jan 15 17:48:35 CET 2015 - [email protected]
+
+- Add package to SLE 12 SDK (FATE#318137, bnc#913229)
Old:
----
setuptools-41.0.1.zip
New:
----
_multibuild
setuptools-41.2.0.zip
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-setuptools.spec ++++++
--- /var/tmp/diff_new_pack.M5FyCg/_old 2019-08-27 15:54:34.887653747 +0200
+++ /var/tmp/diff_new_pack.M5FyCg/_new 2019-08-27 15:54:34.891653744 +0200
@@ -18,8 +18,16 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
-Name: python-setuptools
-Version: 41.0.1
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+Name: python-setuptools%{psuffix}
+Version: 41.2.0
Release: 0
Summary: Enhancements to distutils for building and distributing Python
packages
License: Python-2.0 OR ZPL-2.0
@@ -35,8 +43,6 @@
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
-#!BuildIgnore: python2-pyparsing
-#!BuildIgnore: python3-pyparsing
# needed for SLE
Requires: python
Requires: python-appdirs
@@ -46,11 +52,26 @@
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
+%if %{with test}
+BuildRequires: %{python_module Paver}
+BuildRequires: %{python_module devel}
+BuildRequires: %{python_module mock}
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module pyparsing >= 2.0.2}
+BuildRequires: %{python_module pytest-fixture-config}
+BuildRequires: %{python_module pytest-virtualenv}
+BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module setuptools >= %{version}}
+BuildRequires: %{python_module wheel}
+BuildRequires: python-futures
+%else
+#!BuildIgnore: python-pyparsing
+#!BuildIgnore: python2-pyparsing
+#!BuildIgnore: python3-pyparsing
+%endif
%if 0%{?suse_version} || 0%{?fedora_version} >= 24
Recommends: ca-certificates-mozilla
%endif
-# NOTE(saschpe): Distribute was merged into 0.7.x, so even though distribute
-# obsoletes setuptools < 0.6.45, current setuptools obsoletes distribute again
%ifpython2
Provides: %{oldpython}-distribute = %{version}
Obsoletes: %{oldpython}-distribute < %{version}
@@ -81,15 +102,18 @@
%python_build
%install
+%if !%{with test}
%python_install
%prepare_alternative easy_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
-# Can not run testsuite as this introduces build cycle
-#%%check
-#export LANG="en_US.UTF-8"
-#python setup.py ptr --addopts='-rxs'
+%check
+%if %{with test}
+%pytest
+%endif
+%if !%{with test}
%post
%python_install_alternative easy_install
@@ -105,5 +129,6 @@
%pycache_only %{python_sitelib}/__pycache__/easy_install.*
%dir %{python_sitelib}/pkg_resources
%{python_sitelib}/pkg_resources/*
+%endif
%changelog
++++++ _multibuild ++++++
<multibuild>
<package>test</package>
</multibuild>