14
0

- 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).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cx_Freeze?expand=0&rev=5
This commit is contained in:
Tomáš Chvátal
2019-09-13 10:28:08 +00:00
committed by Git OBS Bridge
parent 0de0190232
commit 7892cb36d8
5 changed files with 67 additions and 95 deletions

3
6.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:35185441a388032dc3ecc59e697a16ae00929316d0043aed846dd2e434222580
size 89326

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2eadddde670f5c5f6cf88638a0ac4e5d5fe181292a31063275fa56c7bf22426b
size 61381

View File

@@ -1,58 +0,0 @@
.. _license:
Licensing
=========
* Copyright © 2007-2017, Anthony Tuininga.
* Copyright © 2001-2006, Computronix (Canada) Ltd., Edmonton, Alberta, Canada.
* All rights reserved.
NOTE: this license is derived from the Python Software Foundation License
which can be found at http://www.python.org/psf/license
License for cx_Freeze 5.1.1
---------------------------
1. This LICENSE AGREEMENT is between the copyright holders and the Individual
or Organization ("Licensee") accessing and otherwise using cx_Freeze
software in source or binary form and its associated documentation.
2. Subject to the terms and conditions of this License Agreement, the
copyright holders hereby grant Licensee a nonexclusive, royalty-free,
world-wide license to reproduce, analyze, test, perform and/or display
publicly, prepare derivative works, distribute, and otherwise use cx_Freeze
alone or in any derivative version, provided, however, that this License
Agreement and this notice of copyright are retained in cx_Freeze alone or in
any derivative version prepared by Licensee.
3. In the event Licensee prepares a derivative work that is based on or
incorporates cx_Freeze or any part thereof, and wants to make the derivative
work available to others as provided herein, then Licensee hereby agrees to
include in any such work a brief summary of the changes made to cx_Freeze.
4. The copyright holders are making cx_Freeze available to Licensee on an
"AS IS" basis. THE COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES,
EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, THE COPYRIGHT
HOLDERS MAKE NO AND DISCLAIM ANY REPRESENTATION OR WARRANTY OF
MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF
CX_FREEZE WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
5. THE COPYRIGHT HOLDERS SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF
CX_FREEZE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING CX_FREEZE, OR ANY
DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
6. This License Agreement will automatically terminate upon a material breach
of its terms and conditions.
7. Nothing in this License Agreement shall be deemed to create any relationship
of agency, partnership, or joint venture between the copyright holders and
Licensee. This License Agreement does not grant permission to use
copyright holder's trademarks or trade name in a trademark sense to endorse
or promote products or services of Licensee, or any third party.
8. By copying, installing or otherwise using cx_Freeze, Licensee agrees to be
bound by the terms and conditions of this License Agreement.
Computronix® is a registered trademark of Computronix (Canada) Ltd.

View File

@@ -1,3 +1,51 @@
-------------------------------------------------------------------
Fri Sep 13 10:13:25 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- 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 doesnt 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).
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 18 21:12:54 UTC 2018 - jengelh@inai.de Fri May 18 21:12:54 UTC 2018 - jengelh@inai.de

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-cx_Freeze # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -12,34 +12,30 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
# Missing sample files %define skip_python2 1
%bcond_with test
Name: python-cx_Freeze Name: python-cx_Freeze
Version: 5.1.1 Version: 6.0
Release: 0 Release: 0
Summary: Create standalone executables from Python scripts Summary: Create standalone executables from Python scripts
License: Python-2.0 License: Python-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/anthony-tuininga/cx_Freeze URL: https://github.com/anthony-tuininga/cx_Freeze
Source: https://files.pythonhosted.org/packages/source/c/cx_Freeze/cx_Freeze-%{version}.tar.gz Source: https://github.com/anthony-tuininga/cx_Freeze/archive/%{version}.tar.gz
Source10: https://raw.githubusercontent.com/anthony-tuininga/cx_Freeze/%{version}/doc/license.rst BuildRequires: %{python_module base >= 3.5}
BuildRequires: %{python_module devel} 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: %{python_module setuptools}
BuildRequires: chrpath BuildRequires: chrpath
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
%if %{with test}
BuildRequires: %{python_module nose}
BuildRequires: python-mock
%endif
Requires(post): update-alternatives
Requires(postun): update-alternatives
%python_subpackages %python_subpackages
%description %description
@@ -55,7 +51,6 @@ other systems.
%prep %prep
%setup -q -n cx_Freeze-%{version} %setup -q -n cx_Freeze-%{version}
cp %{SOURCE10} .
sed -i -e '/^#!\//, 1d' cx_Freeze/samples/*/*.py sed -i -e '/^#!\//, 1d' cx_Freeze/samples/*/*.py
chmod a-x cx_Freeze/initscripts/*.py chmod a-x cx_Freeze/initscripts/*.py
@@ -68,28 +63,15 @@ export CFLAGS="%{optflags}"
%python_expand chrpath -d %{buildroot}%{$python_sitearch}/cx_Freeze/bases/Console* %python_expand chrpath -d %{buildroot}%{$python_sitearch}/cx_Freeze/bases/Console*
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%python_clone -a %{buildroot}%{_bindir}/cxfreeze
%python_clone -a %{buildroot}%{_bindir}/cxfreeze-quickstart
%if %{with test}
%check %check
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} # test_FindModule_from_zip - needs testpkg1.egg which is not present
nosetests-%{$python_bin_suffix} %pytest_arch -k 'not test_FindModule_from_zip'
}
%endif
%post
%{python_install_alternative cxfreeze cxfreeze-quickstart}
%postun
%python_uninstall_alternative cxfreeze
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-)
%doc README.md %doc README.md
%license license.rst %license doc/src/license.rst
%python_alternative %{_bindir}/cxfreeze %python3_only %{_bindir}/cxfreeze
%python_alternative %{_bindir}/cxfreeze-quickstart %python3_only %{_bindir}/cxfreeze-quickstart
%{python_sitearch}/* %{python_sitearch}/*
%changelog %changelog