Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 429440

Summary: dev-java/jython-2.5.2: Restore dummy useflags
Product: Gentoo Linux Reporter: Patrick Lauer <patrick>
Component: New packagesAssignee: Ralph Sennhauser (RETIRED) <sera>
Status: RESOLVED WONTFIX    
Severity: normal CC: java, python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 552452    

Description Patrick Lauer gentoo-dev 2012-08-02 07:09:55 UTC
jython-2.5.1-r2.ebuild:IUSE="+readline +ssl +threads +xml"

jython-2.5.2.ebuild:IUSE="readline"

These useflags are needed to make the current python.eclass happy, by removing them many things won't build anymore.

Please restore :)
Comment 1 Ralph Sennhauser (RETIRED) gentoo-dev 2012-08-02 18:33:53 UTC
X berkdb gdbm ncurses sqlite tk are all used as well with PYTHON_USE_WITH so this sort of breakage is rather widespread. ssl threads xml aren't special and so I agreed with Patrick in #gentoo-python that it would be preferable to actually fix those packages instead of reverting the removal.

Also note that pypy doesn't have a threads useflag either.

The easy fix is either use EAPI 4 and PYTHON_USE_WITH="ssl(+) xml(+) whatever" or adding RESTRICT_PYTHON_ABIS="2.5-jython". The long term fix should happen in python.eclass.
Comment 2 Arfrever Frehtes Taifersar Arahesis 2012-08-02 19:07:01 UTC
(In reply to comment #1)
> X berkdb gdbm ncurses sqlite tk are all used as well with PYTHON_USE_WITH so
> this sort of breakage is rather widespread. ssl threads xml aren't special

They are special, because Jython has no support for Berkeley DB, GDBM, ncurses, SQLite and Tk, but Jython has (unconditional) support for SSL, threads and XML.
Comment 3 Patrice Clement gentoo-dev 2015-10-26 07:54:37 UTC
This version will be removed as part of bug 552452. Closing this bug.