diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2021-03-27 09:54:49 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-03-27 09:55:06 +0100 |
commit | d8be8eb1c8b1b4c26dbeee32758fc26c49383373 (patch) | |
tree | f3e420dcbe52293038f04bdfa7598aadffc79ccb /dev-java/cglib | |
parent | dev-java/cglib: bump to 3.3.0 (diff) | |
download | gentoo-d8be8eb1c8b1b4c26dbeee32758fc26c49383373.tar.gz gentoo-d8be8eb1c8b1b4c26dbeee32758fc26c49383373.tar.bz2 gentoo-d8be8eb1c8b1b4c26dbeee32758fc26c49383373.zip |
dev-java/cglib: some improvements in 3.3.0
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/cglib')
-rw-r--r-- | dev-java/cglib/cglib-3.3.0.ebuild | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/dev-java/cglib/cglib-3.3.0.ebuild b/dev-java/cglib/cglib-3.3.0.ebuild index 1e17dbd9ddf8..418da3689e5f 100644 --- a/dev-java/cglib/cglib-3.3.0.ebuild +++ b/dev-java/cglib/cglib-3.3.0.ebuild @@ -3,7 +3,8 @@ EAPI=7 -JAVA_PKG_IUSE="source test" +# doc USE flag is not in IUSE as the docs does not compile because of errors +JAVA_PKG_IUSE="examples source test" MAVEN_ID="cglib:cglib:3.3.0" JAVA_TESTING_FRAMEWORKS="junit-4" @@ -41,10 +42,16 @@ JAVA_RESOURCE_DIRS="${MY_P}/${PN}/src/main/resources" JAVA_TEST_GENTOO_CLASSPATH="junit-4" JAVA_TEST_SRC_DIR="${MY_P}/${PN}/src/test/java" JAVA_TEST_EXCLUDES=( - "net.sf.cglib.CodeGenTestCase" + "net.sf.cglib.CodeGenTestCase" # not a test class "net.sf.cglib.TestAll" - "net.sf.cglib.TestGenerator" - "net.sf.cglib.proxy.TestEnhancer" # To be solved - "net.sf.cglib.proxy.TestInterceptor" - "net.sf.cglib.reflect.TestFastClass" + "net.sf.cglib.TestGenerator" # not a test class + "net.sf.cglib.proxy.TestEnhancer" # broken tests + "net.sf.cglib.proxy.TestInterceptor" # not a test class + "net.sf.cglib.reflect.TestFastClass" # broken tests ) + +src_install() { + java-pkg-simple_src_install + + use examples && java-pkg_doexamples --subdir samples ${MY_P}/cglib-sample/src/main/java +} |