Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 375869 - dev-python/setuptools-0.6.15: some diff is spit on the user
Summary: dev-python/setuptools-0.6.15: some diff is spit on the user
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-21 12:50 UTC by Martin Mokrejš
Modified: 2011-07-21 14:17 UTC (History)
0 users

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 Martin Mokrejš 2011-07-21 12:50:36 UTC
I ran python-updater and setuptools was included. I wonder whether the diff printed on the screen is intentional or whether the patch should have been actually applied over the files instead. This is on stable amd64.

>>> Emerging (4 of 32) dev-python/setuptools-0.6.15
 * distribute-0.6.15.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                   [ ok ]
 * Package:    dev-python/setuptools-0.6.15
 * Repository: gentoo
 * Maintainer: python@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   nostrip sandbox splitdebug
>>> Unpacking source...
>>> Unpacking distribute-0.6.15.tar.gz to /var/tmp/portage/dev-python/setuptools-0.6.15/work
>>> Source unpacked in /var/tmp/portage/dev-python/setuptools-0.6.15/work
>>> Preparing source in /var/tmp/portage/dev-python/setuptools-0.6.15/work/distribute-0.6.15 ...
 * Applying setuptools-0.6_rc7-noexe.patch ...                                                                                                                                    [ ok ]
 * Applying distribute-0.6.12-disable_versioned_easy_install.patch ...                                                                                                                                    [ ok ]
 * Applying distribute-0.6.12-fix_deprecation_warnings.patch ...                                                                                                                                    [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/setuptools-0.6.15/work/distribute-0.6.15 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/setuptools-0.6.15/work/distribute-0.6.15 ...
 * Building of dev-python/setuptools-0.6.15 with CPython 2.7...
python2.7 setup.py build -b build-2.7
running build
[cut]
 * Building of dev-python/setuptools-0.6.15 with CPython 3.1...
python3.1 setup.py build -b build-3.1
creating build
[cut]
copying tests/shlib_test/setup.py -> build/src/tests/shlib_test
copying tests/shlib_test/test_hello.py -> build/src/tests/shlib_test
copying tests/shlib_test/hellolib.c -> build/src/tests/shlib_test
copying tests/shlib_test/hello.c -> build/src/tests/shlib_test
copying tests/shlib_test/hello.pyx -> build/src/tests/shlib_test
copying tests/api_tests.txt -> build/src/tests
RefactoringTool: Skipping implicit fixer: buffer
RefactoringTool: Skipping implicit fixer: idioms
RefactoringTool: Skipping implicit fixer: set_literal
RefactoringTool: Skipping implicit fixer: ws_comma
RefactoringTool: Refactored build/src/tests/api_tests.txt
--- build/src/tests/api_tests.txt (original)
+++ build/src/tests/api_tests.txt (refactored)
@@ -39,7 +39,7 @@
     >>> dist.py_version == sys.version[:3]
     True
 
-    >>> print dist.platform
+    >>> print(dist.platform)
     None
 
 Including various computed attributes::
@@ -199,7 +199,7 @@
 You can ask a WorkingSet to ``find()`` a distribution matching a requirement::
 
     >>> from pkg_resources import Requirement
-    >>> print ws.find(Requirement.parse("Foo==1.0"))    # no match, return None
+    >>> print(ws.find(Requirement.parse("Foo==1.0")))    # no match, return None
     None
 
     >>> ws.find(Requirement.parse("Bar==0.9"))  # match, return distribution
@@ -211,7 +211,7 @@
     >>> try:
     ...     ws.find(Requirement.parse("Bar==1.0"))
     ... except VersionConflict:
-    ...     print 'ok'
+    ...     print('ok')
     ok
 
 You can subscribe a callback function to receive notifications whenever a new
@@ -219,7 +219,7 @@
 once for each existing distribution in the working set, and then is called
 again for new distributions added thereafter::
 
-    >>> def added(dist): print "Added", dist
+    >>> def added(dist): print("Added", dist)
     >>> ws.subscribe(added)
     Added Bar 0.9
     >>> foo12 = Distribution(project_name="Foo", version="1.2", location="f12") 
RefactoringTool: Files that were modified:
RefactoringTool: build/src/tests/api_tests.txt
copying setuptools/tests/indexes/test_links_priority/external.html -> build/src/setuptools/tests/indexes/test_links_priority
copying setuptools/tests/indexes/test_links_priority/simple/foobar/index.html -> build/src/setuptools/tests/indexes/test_links_priority/simple/foobar
copying docs/conf.py -> build/src/docs
copying docs/setuptools.txt -> build/src/docs
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-07-21 14:17:27 UTC
It's intentional.