java-utils-2.eclass: Added new function java-pkg_gen-cp
authorWilliam L. Thomson Jr <wlt@o-sinc.com>
Fri, 9 Sep 2016 23:20:50 +0000 (19:20 -0400)
committerJames Le Cuirot <chewi@gentoo.org>
Mon, 17 Oct 2016 15:15:07 +0000 (16:15 +0100)
commita2ad06c3336b93f78b31cbd28aa42a8f292fce11
tree56491e356d8a07df81ea9025cb6835a55cde9999
parentdcdfe6d393e185ac1c0e6949d950c571eca62e7f
java-utils-2.eclass: Added new function java-pkg_gen-cp

Java package generate classpath will create a classpath based on special
variable CP_DEPEND in the ebuild. This allows for automatic classpath
creation based on depends. Reduces chance of error in ebuild with slots
in deps not matching slots in classpath variable, etc. Not to most
elegant. Elected for multiple passes using bash vs external sed or awk.

Closes: https://github.com/gentoo/gentoo/pull/2286
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
eclass/java-utils-2.eclass