--- cx-freeze-4.0.1.orig/debian/pyversions +++ cx-freeze-4.0.1/debian/pyversions @@ -0,0 +1 @@ +2.4- --- cx-freeze-4.0.1.orig/debian/compat +++ cx-freeze-4.0.1/debian/compat @@ -0,0 +1 @@ +5 --- cx-freeze-4.0.1.orig/debian/watch +++ cx-freeze-4.0.1/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts="uversionmangle=s/([0-9])([a-z])/$1~$2/" \ +http://sf.net/cx-freeze/(?:cx-freeze|cx_Freeze)-(.*)\.tar\.gz --- cx-freeze-4.0.1.orig/debian/control +++ cx-freeze-4.0.1/debian/control @@ -0,0 +1,29 @@ +Source: cx-freeze +Section: python +Priority: optional +Maintainer: Siegfried-Angel Gevatter Pujals +Build-Depends: cdbs (>= 0.4.49), + debhelper (>= 5.0.38), + python-all-dev (>= 2.4), + python-support (>= 0.5.3), + zlib1g-dev, + chrpath +Homepage: http://cx-freeze.sourceforge.net +Standards-Version: 3.8.1 + +Package: cx-freeze +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + ${python:Depends}, + python-tk +Description: create standalone executables from Python scripts + cx_Freeze is an application which allows you to freeze Python code into + executable files, in a way similar to how py2exe and py2app work. + . + There are three different ways how you can use cx_Freeze: + * Use the included cxfreeze command which works well for simple scripts. + * Create a distutils setup script which can be used for more complicated + configurations or to retain the configuration for future use. + * Work directly with the classes and modules used internally by cx_Freeze; + this should be reserved for complicated scripts, extending or embedding. --- cx-freeze-4.0.1.orig/debian/copyright +++ cx-freeze-4.0.1/debian/copyright @@ -0,0 +1,70 @@ +Format-Specification: http://dep.debian.net/deps/dep5/#index4h1 +Name: cx_Freeze +Maintainer: Anthony Tuininga +Source: http://sourceforge.net/projects/cx-freeze/ + +Files: * +Copyright: © 2001-2006, Computronix (Canada) Ltd., Edmonton, Alberta, Canada. + © 2007-2008, Colt Engineering, Edmonton, Alberta, Canada. +License: other + 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 + --------------------- + + 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. + +Files: doc/cx_Freeze.html +Copyright: © David Goodger +License: other + This stylesheet has been placed in the public domain. + +Files: debian/* +Copyright: © 2009, Siegfried-Angel Gevatter Pujals +License: GPL or other + See the license text for cx_Freeze, or /usr/share/common-licenses/GPL. + You can use either of those licenses, at your option. --- cx-freeze-4.0.1.orig/debian/cxfreeze.1 +++ cx-freeze-4.0.1/debian/cxfreeze.1 @@ -0,0 +1,117 @@ +.TH CXFREEZE "1" "May 2009" "cxfreeze 4.0.1" "User Commands" + +.SH NAME +cxfreeze \- create standalone executables from Python scripts + +.SH SYNOPSIS +.B cxfreeze +[\fIoptions\fR] [\fISCRIPT\fR] + +.SH DESCRIPTION +\fBcxfreeze\fP is an application to freeze Python scripts and all of +the modules their reference into a base executable which can then be +distributed without requiring a Python installation. + +.SH OPTIONS + +.TP +\fB\-\-version\fR +show program's version number and exit + +.TP +\fB\-h\fR, \fB\-\-help\fR +show this help message and exit + +.TP +\fB\-O\fR +optimize generated bytecode as per PYTHONOPTIMIZE; use +\fB\-OO\fR in order to remove doc strings + +.TP +\fB\-c\fR, \fB\-\-compress\fR +compress byte code in zip files + +.TP +\fB\-\-base\-name\fR=\fINAME\fR +file on which to base the target file; if the name of +the file is not an absolute file name, the +subdirectory bases (rooted in the directory in which +the freezer is found) will be searched for a file +matching the name + +.TP +\fB\-\-init\-script\fR=\fINAME\fR +script which will be executed upon startup; if the +name of the file is not an absolute file name, the +subdirectory initscripts (rooted in the directory in +which the cx_Freeze package is found) will be searched +for a file matching the name + +.TP +\fB\-\-target\-dir\fR=\fIDIR\fR, \fB\-\-install\-dir\fR=\fIDIR\fR +the directory in which to place the target file and +any dependent files + +.TP +\fB\-\-target\-name\fR=\fINAME\fR +the name of the file to create instead of the base +name of the script and the extension of the base +binary + +.TP +\fB\-\-no\-copy\-deps\fR +do not copy the dependent files (extensions, shared +libraries, etc.) to the target directory; this also +modifies the default init script to ConsoleKeepPath.py +and means that the target executable requires a Python +installation to execute properly + +.TP +\fB\-\-default\-path\fR=\fIDIRS\fR +list of paths separated by the standard path separator +for the platform which will be used to initialize +sys.path prior to running the module finder + +.TP +\fB\-\-include\-path\fR=\fIDIRS\fR +list of paths separated by the standard path separator +for the platform which will be used to modify sys.path +prior to running the module finder + +.TP +\fB\-\-replace\-paths\fR=\fIDIRECTIVES\fR +replace all the paths in modules found in the given +paths with the given replacement string; multiple +values are separated by the standard path separator +and each value is of the form path=replacement_string; +path can be * which means all paths not already +specified + +.TP +\fB\-\-include\-modules\fR=\fINAMES\fR +comma separated list of modules to include + +.TP +\fB\-\-exclude\-modules\fR=\fINAMES\fR +comma separated list of modules to exclude + +.TP +\fB\-\-ext\-list\-file\fR=\fINAME\fR +name of file in which to place the list of dependent +files which were copied into the target directory + +.TP +\fB\-z\fR SPEC, \fB\-\-zip\-include\fR=\fISPEC\fR +name of file to add to the zip file or a specification +of the form name=arcname which will specify the +archive name to use; multiple \fB\-\-zip\-include\fR arguments +can be used + +.SH COPYRIGHT +Copyright \(co 2007-2008 Colt Engineering. All rights reserved. +.br +Copyright \(co 2001-2006 Computronix Corporation. All rights reserved. + +.SH AUTHOR +\fBcxfreeze\fP was written by Anthony Tuininga +and this manual page by Siegfried-A. Gevatter . --- cx-freeze-4.0.1.orig/debian/rules +++ cx-freeze-4.0.1/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f + +DEB_PYTHON_SYSTEM = pysupport + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEB_INSTALL_DOCS_cx-freeze := doc/cx_Freeze.html +DEB_INSTALL_EXAMPLES_cx-freeze := samples +DEB_INSTALL_MANPAGES_cx-freeze := debian/cxfreeze.1 +DEB_INSTALL_CHANGELOGS_cx-freeze := HISTORY.txt + +# Abuse DEB_PYTHON_PRIVATE_MODULES_DIRS to exclude the contents of the +# initscripts directory from being byte-compiled. +DEB_PYTHON_PRIVATE_MODULES_DIRS = -X initscripts + +install/cx-freeze:: + chmod -x $(CURDIR)/initscripts/*.py + chrpath -d $(CURDIR)/build/lib.*/cx_Freeze/bases/* + +clean:: + rm -f debian/pycompat --- cx-freeze-4.0.1.orig/debian/changelog +++ cx-freeze-4.0.1/debian/changelog @@ -0,0 +1,19 @@ +cx-freeze (4.0.1-0ubuntu3) lucid; urgency=low + + * Don't link extension with LOCALMODLIBS. + + -- Matthias Klose Thu, 04 Feb 2010 01:27:40 +0100 + +cx-freeze (4.0.1-0ubuntu2) lucid; urgency=low + + * Rebuild for python2.6 as the default python version. + + -- Matthias Klose Mon, 01 Feb 2010 21:02:28 +0000 + +cx-freeze (4.0.1-0ubuntu1) karmic; urgency=low + + * Initial release (LP: #244560). + * debian/patches/setup_remove_samples.patch: + - Do not install and byte-compile directory "samples". + + -- Siegfried-Angel Gevatter Pujals Fri, 01 May 2009 00:23:34 +0200 --- cx-freeze-4.0.1.orig/debian/patches/setup_remove_samples.patch +++ cx-freeze-4.0.1/debian/patches/setup_remove_samples.patch @@ -0,0 +1,13 @@ +# Do not install and byte-compile directory "samples". +diff -Nur -x '*.orig' -x '*~' cx_Freeze-4.0.1/setup.py cx_Freeze-4.0.1.new/setup.py +--- cx_Freeze-4.0.1/setup.py 2008-10-10 22:21:25.000000000 +0200 ++++ cx_Freeze-4.0.1.new/setup.py 2009-04-30 19:01:07.640619699 +0200 +@@ -113,7 +113,7 @@ + def run(self): + installCommand = self.get_finalized_command("install") + installDir = getattr(installCommand, "install_lib") +- sourceDirs = ["samples", "initscripts"] ++ sourceDirs = ["initscripts"] + while sourceDirs: + sourceDir = sourceDirs.pop(0) + targetDir = os.path.join(installDir, "cx_Freeze", sourceDir) --- cx-freeze-4.0.1.orig/debian/patches/setup_link_libs.patch +++ cx-freeze-4.0.1/debian/patches/setup_link_libs.patch @@ -0,0 +1,11 @@ +--- ./setup.py.orig 2008-10-10 20:21:25.000000000 +0000 ++++ ./setup.py 2010-02-04 00:26:48.127983568 +0000 +@@ -67,8 +67,6 @@ + extraArgs.append(vars["LIBM"]) + if vars["BASEMODLIBS"]: + extraArgs.extend(vars["BASEMODLIBS"].split()) +- if vars["LOCALMODLIBS"]: +- extraArgs.extend(vars["LOCALMODLIBS"].split()) + extraArgs.append("-s") + self.compiler.link_executable(objects, fullName, + libraries = libraries,