Summary: | dev-python/psycopg-2.5 fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Patrick Lauer <patrick> |
Component: | New packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Patrick Lauer
![]() Following simple patch fixed that error for me: --- setup.py 2013-04-07 13:12:16.000000000 -0400 +++ setup.py 2013-05-05 10:57:58.049934625 -0400 @@ -457,7 +457,7 @@ ] parser = configparser.ConfigParser() -parser.read('setup.cfg') +parser.read_file(open('setup.cfg')) # Choose a datetime module have_pydatetime = True built ok here
dev-python/psycopg $ ebuild psycopg-2.5.ebuild clean compile
* python2_7: running distutils-r1_run_phase python_compile_all
>>> Source compiled.
substituting parser.read_file(open('setup.cfg')) as in the patch drew error
dev-lang/python: 2.7.3-r3, 3.2.3-r2 match, so I can't see offhand what the diff might be
Seems to be working again, closing. |