Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 315123 - dev-java/java-config and eclasses: support for version globbing of packages
Summary: dev-java/java-config and eclasses: support for version globbing of packages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2010-04-13 21:03 UTC by Vlastimil Babka (Caster) (RETIRED)
Modified: 2010-04-28 19:44 UTC (History)
0 users

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


Attachments
java-config patch for package globbing (java-config.patch,784 bytes, patch)
2010-04-13 21:06 UTC, Vlastimil Babka (Caster) (RETIRED)
Details | Diff
eclass patch (java-utils-2.eclass.patch,581 bytes, patch)
2010-04-13 21:07 UTC, Vlastimil Babka (Caster) (RETIRED)
Details | Diff
updated eclass patch (java-utils-2.eclass.patch,730 bytes, patch)
2010-04-20 19:37 UTC, Vlastimil Babka (Caster) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-04-13 21:03:52 UTC
Sometimes packages depend on another slotted package but doesn't care about particular slot, typically eclipse-ecj. Now we have to fix then to a specific slot in jar-from etc. calls and migrate to a newer slot later. The idea is to add support for stuff like 'eclipse-ecj-*' where packages are specified, which seems to basically boil down to load_package() method in EnvironmentManager.py and updated java-pkg_ensure-dep() in java-utils-2.eclass
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-04-13 21:06:36 UTC
Created attachment 227669 [details, diff]
java-config patch for package globbing

somebody (ali_bush?) please verify if it's correct python :)
Comment 2 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-04-13 21:07:54 UTC
Created attachment 227671 [details, diff]
eclass patch

Also, packages that will use this feature have to both DEPEND and RDEPEND on java-config version that will implement this, until it's made the default.
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-04-20 19:37:00 UTC
Created attachment 228545 [details, diff]
updated eclass patch

Updated eclass patch to allow also globbing such as eclipse-ecj-3.[56]
Comment 4 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-04-20 19:37:56 UTC
(In reply to comment #1)
> Created an attachment (id=227669) [details]
> java-config patch for package globbing
> 
> somebody (ali_bush?) please verify if it's correct python :)

Commited in r8166. Eclass patch should be commited when this is released and used. 

Comment 5 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-04-28 19:44:57 UTC
Released in 2.1.11, eclass patch commited