Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 306113 - Stabilize dev-python/pyfltk-1.1.5
Summary: Stabilize dev-python/pyfltk-1.1.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Sébastien Fabbro (RETIRED)
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on: 307297
Blocks:
  Show dependency tree
 
Reported: 2010-02-20 20:42 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2010-07-11 13:32 UTC (History)
2 users (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 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-02-20 20:42:31 UTC
Stabilize dev-python/pyfltk-1.1.5.
Comment 1 Thomas Kahle (RETIRED) gentoo-dev 2010-02-21 14:05:23 UTC
Tested on x86:
>>> import fltk
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "/usr/lib/python2.6/site-packages/fltk/__init__.py", line 591
    return val
   ^
IndentationError: unexpected indent
>>>
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-02-21 18:13:10 UTC
(In reply to comment #1)

I can't reproduce it. Line #591 of my /usr/lib/python2.6/site-packages/fltk/__init__.py contains only 'self.this.disown()'.
Comment 3 Thomas Kahle (RETIRED) gentoo-dev 2010-02-22 08:23:58 UTC
> I can't reproduce it. Line #591 of my
> /usr/lib/python2.6/site-packages/fltk/__init__.py contains only
> 'self.this.disown()'.

Found the following at the end emerge:

  * Compilation and optimization of Python modules for CPython 2.6 ...
Compiling /usr/lib/python2.6/site-packages/fltk/__init__.py ...
Sorry: IndentationError: ('unexpected indent', ('/usr/lib/python2.6/site-packages/fltk/__init__.py', 591, 8, '        return val\n'))    [ !! ]
>>> Auto-cleaning packages...

Don't know why the line numbers don't match, but indeed my line 590 has a spurious newline:

-----------------------------------
588 #give ownership back to Python
589    self.this.own()
590
591        return val
----------------------------------

Comment 4 Thomas Kahle (RETIRED) gentoo-dev 2010-02-22 08:25:44 UTC
> Don't know why the line numbers don't match, but indeed my line 590 has a
> spurious newline:

Sorry, the syntax error is of course the indent, not the empty line.
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-03-01 02:05:33 UTC
(In reply to comment #1, comment #3 and comment #4)

Please report a separate bug.
Comment 6 Thomas Kahle (RETIRED) gentoo-dev 2010-03-01 11:17:49 UTC
(In reply to comment #5)
> Please report a separate bug.

Can't change depend field, please see Bug 307297
Comment 7 Myckel Habets 2010-06-09 17:40:38 UTC
Builds and runs (as in Comment #1) fine on x86 (using swig 1.3.40-r1).
Comment 8 Christoph Mende (RETIRED) gentoo-dev 2010-06-24 11:16:55 UTC
amd64 stable
Comment 9 nixnut (RETIRED) gentoo-dev 2010-06-27 11:59:58 UTC
ppc stable
Comment 10 Markus Meier gentoo-dev 2010-07-11 13:32:56 UTC
x86 stable, thanks Thomas and Myckel