Bug 198021 - dev-lang/python should install Windows 32bit executables for "python setup bdist --format=wininst"
|
Bug#:
198021
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: python@gentoo.org
|
Reported By: ssuominen@gentoo.org
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: dev-lang/python should install Windows 32bit executables for "python setup bdist --format=wininst"
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-11-04 06:49 0000
|
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
*** This bug has been marked as a duplicate of bug 198023 ***
dev-lang-python != dev-python/setuptools
(In reply to comment #2)
> dev-lang-python != dev-python/setuptools
>
Sorry about this again..
python-2.5.1-r4 and python-2.4.4-r7 fixes this.
This is not a bug! They are required for building package installations!
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.
*** Bug 212490 has been marked as a duplicate of this bug. ***
*** Bug 212490 has been marked as a duplicate of this bug. ***
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'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:
> If you have a pure module distribution (only containing pure Python modules
> and packages), the resulting installer will be version independent and have
> a name like foo-1.0.win32.exe. These installers can even be created on Unix
> or Mac OS platforms.
Summary should be "dev-lang/python-2.4.4-r9 and dev-lang/python-2.5.1-r5
doesn't installs wininst executables" to reflect what a _real_ bug is.
Yep, my bad idea got them removed. Summary changed.
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
+*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 <hawking@gentoo.org> +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 :-)