Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ebuild with build-only dependency on Java
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
salahx
Guru
Guru


Joined: 12 Mar 2005
Posts: 462

PostPosted: Wed Sep 15, 2021 4:16 am    Post subject: Ebuild with build-only dependency on Java Reply with quote

I'm getting ready to update a package (app-crypt/tpm2-pkcs11) with a new version that will soon be released. For this release, its now feasible to enable tests. However, one of the tests is written in Java, so my package has a build-time dependency on Java but not a runtime one, however none of the Java eclasses support something this. If I try to do it manually without the java eclasses, repoman complains with java.eclassesnotused, but if I do with the java eclasses, repoman complains too:
Code:
  RDEPEND.suspect               1
   app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.7.0_rc1.ebuild: 'test?' USE conditional in RDEPEND

The ebuild can be found here: https://github.com/salahcoronya/gentoo/blob/tpm2-pkcs11-wip/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.7.0_rc1.ebuild

The ebuild works, but it'll never pass CI. Any idea as how to best approach this?.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum