<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>198021</bug_id>
          
          <creation_ts>2007-11-04 06:49 0000</creation_ts>
          <short_desc>dev-lang/python should install Windows 32bit executables for &quot;python setup bdist --format=wininst&quot;</short_desc>
          <delta_ts>2008-04-18 14:29:24 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>212178</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>ssuominen@gentoo.org</reporter>
          <assigned_to>python@gentoo.org</assigned_to>
          <cc>dubnerm@mindless.com</cc>

      

      
          <long_desc isprivate="0">
            <who>ssuominen@gentoo.org</who>
            <bug_when>2007-11-04 06:49:05 0000</bug_when>
            <thetext>dev-lang/python-2.5.1-r3 (/usr/lib64/python2.5/distutils/command/wininst-7.1.exe)
dev-lang/python-2.5.1-r3 (/usr/lib64/python2.5/distutils/command/wininst-6.exe)
/usr/lib64/python2.5/distutils/command/wininst-6.exe:   MS-DOS executable PE  for MS Windows (GUI) Intel 80386 32-bit
/usr/lib64/python2.5/distutils/command/wininst-7.1.exe: MS-DOS executable PE  for MS Windows (GUI) Intel 80386 32-bit</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hawking@gentoo.org</who>
            <bug_when>2007-11-04 08:17:39 0000</bug_when>
            <thetext>

*** This bug has been marked as a duplicate of bug 198023 ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ssuominen@gentoo.org</who>
            <bug_when>2007-11-04 08:52:15 0000</bug_when>
            <thetext>dev-lang-python != dev-python/setuptools</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hawking@gentoo.org</who>
            <bug_when>2007-11-18 22:46:00 0000</bug_when>
            <thetext>(In reply to comment #2)
&gt; dev-lang-python != dev-python/setuptools
&gt; 
Sorry about this again..
python-2.5.1-r4 and python-2.4.4-r7 fixes this.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dubnerm@mindless.com</who>
            <bug_when>2008-03-05 18:35:52 0000</bug_when>
            <thetext>This is not a bug! They are required for building package installations!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dubnerm@mindless.com</who>
            <bug_when>2008-03-05 18:39:49 0000</bug_when>
            <thetext>Lookup /usr/lib/python2.4/distutils/command/bdist_wininst.py for more info. These binaries included especially because not everyone can build them on non-windows system.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2008-03-06 18:56:50 0000</bug_when>
            <thetext>*** Bug 212490 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2008-03-07 04:20:44 0000</bug_when>
            <thetext>*** Bug 212490 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ssuominen@gentoo.org</who>
            <bug_when>2008-03-07 04:58:03 0000</bug_when>
            <thetext>Oh. Python?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dubnerm@mindless.com</who>
            <bug_when>2008-03-07 21:04:21 0000</bug_when>
            <thetext>So, to move discussion from now-duplicate bug:

These binaries needed for those of us, who want (under Linux) to package distribution for Windows (aka python setup bdist --format=wininst).
We don&apos;t want to discriminate those packagers/distributors.

For details lookup the python documentation:
http://docs.python.org/dist/postinstallation-script.html

Here is quotation from that docs:
&gt; If you have a pure module distribution (only containing pure Python modules
&gt; and packages), the resulting installer will be version independent and have
&gt; a name like foo-1.0.win32.exe. These installers can even be created on Unix
&gt; or Mac OS platforms.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dubnerm@mindless.com</who>
            <bug_when>2008-03-26 18:07:33 0000</bug_when>
            <thetext>Summary should be &quot;dev-lang/python-2.4.4-r9 and dev-lang/python-2.5.1-r5 doesn&apos;t installs wininst executables&quot; to reflect what a _real_ bug is.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ssuominen@gentoo.org</who>
            <bug_when>2008-04-01 15:31:23 0000</bug_when>
            <thetext>Yep, my bad idea got them removed. Summary changed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>markpeloquin@gmail.com</who>
            <bug_when>2008-04-12 07:34:44 0000</bug_when>
            <thetext>How about a new USE flag?
-	rm Lib/distutils/command/wininst-*.exe
+	if ! use wininst; then
+		# remove microsoft windows executables
+		rm Lib/distutils/command/wininst-*.exe
+	fi</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hawking@gentoo.org</who>
            <bug_when>2008-04-18 14:29:24 0000</bug_when>
            <thetext>+*python-2.5.2 (18 Apr 2008)
+*python-2.4.4-r10 (18 Apr 2008)
+*python-2.3.6-r5 (18 Apr 2008)
+
+  18 Apr 2008; Ali Polatel &lt;hawking@gentoo.org&gt; +python-2.3.6-r5.ebuild,
+  +python-2.4.4-r10.ebuild, +python-2.5.2.ebuild:
+  Version bumps. Updated patchsets to fix buffer overflow in zlib extension
+  (CVE-2008-1721) bug 217221 and unsafe PyString_FromStringAndSize(). Added
+  patch by Mark Peloquin for distutils to respect CXXFLAGS, bug 145206. Add
+  wininst USE flag to conditionally install MS Windows executables, bug
+  198021. Use EAPI=1, rename nothreads and nocxx USE flags to threads and
+  cxx.
+

New versions have wininst USE flag to conditionally install these executables.
/me stabs drac. Thanks everyone :-)
</thetext>
          </long_desc>
      
    </bug>

</bugzilla>