Hello community,
here is the log from the commit of package python-cx_Freeze for
openSUSE:Factory checked in at 2019-09-27 14:47:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cx_Freeze (Old)
and /work/SRC/openSUSE:Factory/.python-cx_Freeze.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cx_Freeze"
Fri Sep 27 14:47:40 2019 rev:3 rq:730768 version:6.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cx_Freeze/python-cx_Freeze.changes
2018-06-22 13:30:08.990257334 +0200
+++
/work/SRC/openSUSE:Factory/.python-cx_Freeze.new.2352/python-cx_Freeze.changes
2019-09-27 14:47:45.160873314 +0200
@@ -1,0 +2,59 @@
+Fri Sep 13 14:55:04 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Conflict with python2-cx_Freeze as we are no longer update-alternatives
+ set up package but provide only py3 variant
+
+-------------------------------------------------------------------
+Fri Sep 13 13:27:50 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Use noun phrase.
+
+-------------------------------------------------------------------
+Fri Sep 13 10:13:25 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 6.0:
+ * Corrected support for Python 3.7 (PR #395).
+ * Use importlib and other Python 3 improvements (PR #484, PR #485, PR #486,
PR #490).
+ * Fixed issue with @rpath causing file copy errors on macOS (PR #307).
+ * Replaced file() with open() and use context manager to ensure the file
handle is closed and deleted (PR #348).
+ * Corrected invalid version handling in bdist_msi (PR #349, Issue #340).
+ * Corrected hook for clr module (PR #397, PR #444).
+ * Corrected documentation for compress option (PR #358).
+ * Ensure that the pythoncom and pywintypes DLLs are found in the lib
directory and not in the base directory (Issue #332).
+ * Always copy dependent files to root directory on macOS (PR #365).
+ * Skip self referencing archive on macOS (PR #364, Issue #304).
+ * Include doc directory in source distribution (PR #394, Issue #376).
+ * Force msilib module to be reloaded in order to allow for the generation of
multiple MSI packages in a single session (PR #419).
+ * Added hook for PyQt5.QtPrintSupport module (PR #401).
+ * Added ability to include an icon on the add/remove program window that
pops up during installation (PR #387).
+ * Prevent spurious errors from being printed during building on macOS by
checking to see that a file is a Mach-O binary before adding it to the list of
files it is checking the reference of (PR #342, Issue #268).
+ * Avoid otool bug on macOS Yosemite (PR #297, Issue #292).
+ * Added ability to specify environment variables that should be created when
an MSI package is installed (PR #266).
+ * Added support for including resources in an app bundle for macOS (PR #423).
+ * Added absolute reference path option for macOS packages (PR #424).
+ * Added CFBundle identifier for macOS packages (PR #427, Issue #426).
+ * Added hook for copying SSL DLLs for Python 3.7+ on Windows (PR #470).
+ * Added -municode flag when building on Windows with mingw32 (PR #468).
+ * Added hook for pycparser (PR #446).
+ * Fixed hook for zmq so it doesn’t fail when there is no bundled libzmq
library in the installed pyzmq package (PR #442).
+ * Print error when fetching dependent files fails (PR #435).
+ * Make executable writable before adding the icon (PR #430, Issue #368).
+ * Dropped support for RPM and MSI packages for cx_Freeze itself since these
are no longer supported by PyPI.
+ * Fix building console app with mingw32 (PR #475).
+ * Force inclusion of the unicodedata module which is used by the socket
module, and possibly others (PR #476).
+ * Added hook for asyncio package (PR #477).
+ * Added hook for idna package (PR #478).
+ * Added hook for pkg_resources package (PR #481).
+ * Added hook for gevent (PR #495).
+ * Force .exe extension to be included on Windows, so that the same setup
code can be used on both Linux and Windows (PR #489).
+ * Added hook for Pillow (PR #491).
+ * Improved hook for tkinter (PR #493).
+ * Avoid attempting to check for dependent files on Windows when the file is
not an executable or DLL (PR #492).
+ * Ensure that only executable files are checked for dependencies in order to
avoid spurious errors when checking for dependent files.
+ * Improved hook for matplotlib.
+ * Dropped support for Python 2.x. Use cx_Freeze 5 for Python 2.x support.
+ * Instead of depending on the built-in functionality of searching for a zip
file that looks like pythonxx.zip (which is disabled on some platforms like
Ubuntu), set the Python path to include a subdirectory called “lib” and a zip
file “lib/library.zip” on all platforms.
+ * Do not create version resource when version is omitted (PR #279).
+ * Ensure the sqlite3 DLL is loaded in the same directory as the module which
depends on it (Issue #296).
+
+-------------------------------------------------------------------
Old:
----
cx_Freeze-5.1.1.tar.gz
license.rst
New:
----
6.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cx_Freeze.spec ++++++
--- /var/tmp/diff_new_pack.uboZNl/_old 2019-09-27 14:47:46.216870569 +0200
+++ /var/tmp/diff_new_pack.uboZNl/_new 2019-09-27 14:47:46.220870558 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-cx_Freeze
#
-# 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,34 +12,33 @@
# 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-%{**}}
-# Missing sample files
-%bcond_with test
+%define skip_python2 1
+%define oldpython python
Name: python-cx_Freeze
-Version: 5.1.1
+Version: 6.0
Release: 0
-Summary: Create standalone executables from Python scripts
+Summary: Scripts to create standalone executables from Python scripts
License: Python-2.0
Group: Development/Languages/Python
-Url: https://github.com/anthony-tuininga/cx_Freeze
-Source:
https://files.pythonhosted.org/packages/source/c/cx_Freeze/cx_Freeze-%{version}.tar.gz
-Source10:
https://raw.githubusercontent.com/anthony-tuininga/cx_Freeze/%{version}/doc/license.rst
+URL: https://github.com/anthony-tuininga/cx_Freeze
+Source:
https://github.com/anthony-tuininga/cx_Freeze/archive/%{version}.tar.gz
+BuildRequires: %{python_module base >= 3.5}
BuildRequires: %{python_module devel}
+# imports nose in one test
+BuildRequires: %{python_module nose}
+BuildRequires: %{python_module openpyxl}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: chrpath
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-%if %{with test}
-BuildRequires: %{python_module nose}
-BuildRequires: python-mock
-%endif
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
-
+# we provide same binary like the deprecated py2 variant
+Conflicts: %{oldpython}-cx_Freeze
%python_subpackages
%description
@@ -55,7 +54,6 @@
%prep
%setup -q -n cx_Freeze-%{version}
-cp %{SOURCE10} .
sed -i -e '/^#!\//, 1d' cx_Freeze/samples/*/*.py
chmod a-x cx_Freeze/initscripts/*.py
@@ -68,28 +66,15 @@
%python_expand chrpath -d
%{buildroot}%{$python_sitearch}/cx_Freeze/bases/Console*
%python_expand %fdupes %{buildroot}%{$python_sitearch}
-%python_clone -a %{buildroot}%{_bindir}/cxfreeze
-%python_clone -a %{buildroot}%{_bindir}/cxfreeze-quickstart
-
-%if %{with test}
%check
-%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
-nosetests-%{$python_bin_suffix}
-}
-%endif
-
-%post
-%{python_install_alternative cxfreeze cxfreeze-quickstart}
-
-%postun
-%python_uninstall_alternative cxfreeze
+# test_FindModule_from_zip - needs testpkg1.egg which is not present
+%pytest_arch -k 'not test_FindModule_from_zip'
%files %{python_files}
-%defattr(-,root,root,-)
%doc README.md
-%license license.rst
-%python_alternative %{_bindir}/cxfreeze
-%python_alternative %{_bindir}/cxfreeze-quickstart
+%license doc/src/license.rst
+%python3_only %{_bindir}/cxfreeze
+%python3_only %{_bindir}/cxfreeze-quickstart
%{python_sitearch}/*
%changelog
++++++ cx_Freeze-5.1.1.tar.gz -> 6.0.tar.gz ++++++
++++ 4473 lines of diff (skipped)