Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 475346 - java-ant-2.eclass please bump to new python eclasses
Summary: java-ant-2.eclass please bump to new python eclasses
Status: RESOLVED DUPLICATE of bug 479838
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-30 17:03 UTC by Justin Lecher (RETIRED)
Modified: 2014-03-31 15:27 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Replace python dep in java-ant-2.eclass (java-ant-python.patch,1003 bytes, patch)
2013-06-30 19:07 UTC, Mike Gilbert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2013-06-30 17:03:41 UTC
All java packages using the java-ant2.eclass are blocking the removal of the highest version of pyhton installed due to the simple depend on >python-2.4. Please use the pyhton-single-r1.eclass.
Comment 1 Mike Gilbert gentoo-dev 2013-06-30 19:07:15 UTC
Created attachment 352342 [details, diff]
Replace python dep in java-ant-2.eclass

Bringing in python-any-r1 or python-single-r1 means we have to declare PYTHON_COMPAT, which could be problematic in an eclass.

Another alternative which would resolve Justin's problem would be to list each python slot in an || dep. See attached patch.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-06-30 20:49:10 UTC
Yes, that's a design issue I missed when designing the eclass. Although common names have their benefits, we end up with conflicts when trying to use more than one eclass.

I wonder if we could do some hacking to support that. Like eclass defining PYTHON_COMPAT only when not set by ebuild and allowing some of eclass mixes.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2014-03-31 15:02:57 UTC
@QA, one of your current projects [1] is to remove old python stuff. Could you please proceed here.


1)
https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Current_projects
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-03-31 15:27:36 UTC
Unless I'm missing something, we're on our way to remove the java code from this eclass, and make it Python-free wrt bug #479838.

*** This bug has been marked as a duplicate of bug 479838 ***