Opened 15 years ago

Closed 15 years ago

#21617 closed submission (fixed)

py26-urwid

Reported by: nefar@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: skymoo (Adam Mercer)
Port: py26-urwid

Description

# $Id

PortSystem 1.0
PortGroup python26 1.0

name                    py26-urwid
version                 0.9.8.4
categories              python
platforms               darwin
maintainers             nomaintainer
description             curses-based UI/widget library for Python
long_description        Urwid is a curses-based UI/widget library for Python. It \
                                features fluid interface resizing, multiple text layout \
                                options, simple markup for attributes, powerful scrolling list \
                                boxes and flexible edit boxes. 

homepage                http://excess.org/urwid/
master_sites    ${homepage}
distname                urwid-${version}
checksums           md5     28f918c66887d4e470ae0c3535579ad7 \
                      sha1    a4307aa08895a647feec1099658e87ab1595f5c0 \
                      rmd160  776dfbc5b04f5940159c7c2b5bc3c00bac96ca06

post-destroot {
        xinstall -m 644 ${worksrcpath}/reference.html \
                ${destroot}${prefix}/share/doc/${name}
        xinstall -m 644 -W ${worksrcpath} browse.py calc.py edit.py fib.py tour.py \
                ${destroot}${prefix}/share/doc/${name}/examples
}

livecheck.type  freshmeat
livecheck.name  python-urwid

Change History (3)

comment:1 Changed 15 years ago by skymoo (Adam Mercer)

Cc: ram@… added
Port: py26-urwid added

Get the following error trying to build on SL:

running build_ext
Traceback (most recent call last):
  File "setup.py", line 100, in <module>
    setup( ** setup_d )
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 987, in run_commands
    self.run_command(cmd)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 1007, in run_command
    cmd_obj.run()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build.py", line 134, in run
    self.run_command(cmd_name)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 1007, in run_command
    cmd_obj.run()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools/command/build_ext.py", line 46, in run
    _build_ext.run(self)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build_ext.py", line 449, in build_extensions
    self.build_extension(ext)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools/command/build_ext.py", line 175, in build_extension
    _build_ext.build_extension(self,ext)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build_ext.py", line 460, in build_extension
    ext_path = self.get_ext_fullpath(ext.name)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build_ext.py", line 633, in get_ext_fullpath
    filename = self.get_ext_filename(modpath[-1])
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools/command/build_ext.py", line 85, in get_ext_filename
    ext = self.ext_map[fullname]
KeyError: 'str_util'

Its also easier if you attach the Portfile, not include it in the description.

comment:2 Changed 15 years ago by nefar@…

I'm not sure what those errors are about. Mine built fine on SL. Maybe someone else can help?

comment:3 Changed 15 years ago by skymoo (Adam Mercer)

Resolution: fixed
Status: newclosed

Builds now for me as well, committed in r62836

Note: See TracTickets for help on using tickets.