Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198021 - dev-lang/python should install Windows 32bit executables for "python setup bdist --format=wininst"
Summary: dev-lang/python should install Windows 32bit executables for "python setup bd...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 212490 (view as bug list)
Depends on:
Blocks: 212178
  Show dependency tree
 
Reported: 2007-11-04 06:49 UTC by Samuli Suominen (RETIRED)
Modified: 2008-04-18 14:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2007-11-04 06:49:05 UTC
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
Comment 1 Ali Polatel (RETIRED) gentoo-dev 2007-11-04 08:17:39 UTC

*** This bug has been marked as a duplicate of bug 198023 ***
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2007-11-04 08:52:15 UTC
dev-lang-python != dev-python/setuptools
Comment 3 Ali Polatel (RETIRED) gentoo-dev 2007-11-18 22:46:00 UTC
(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.
Comment 4 Michael Dubner 2008-03-05 18:35:52 UTC
This is not a bug! They are required for building package installations!
Comment 5 Michael Dubner 2008-03-05 18:39:49 UTC
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.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2008-03-06 18:56:50 UTC
*** Bug 212490 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2008-03-07 04:20:44 UTC
*** Bug 212490 has been marked as a duplicate of this bug. ***
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2008-03-07 04:58:03 UTC
Oh. Python?
Comment 9 Michael Dubner 2008-03-07 21:04:21 UTC
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.
Comment 10 Michael Dubner 2008-03-26 18:07:33 UTC
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.
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2008-04-01 15:31:23 UTC
Yep, my bad idea got them removed. Summary changed.
Comment 12 Markus Peloquin 2008-04-12 07:34:44 UTC
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
Comment 13 Ali Polatel (RETIRED) gentoo-dev 2008-04-18 14:29:24 UTC
+*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 :-)