Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 783906 - dev-java/jansi-1.11-r1 bump to EAPI-7 and/or drop bogus(?) SLOT 1.11
Summary: dev-java/jansi-1.11-r1 bump to EAPI-7 and/or drop bogus(?) SLOT 1.11
Status: RESOLVED FIXED
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: EAPI5Removal
  Show dependency tree
 
Reported: 2021-04-18 21:06 UTC by Andreas Sturmlechner
Modified: 2021-04-28 09:05 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner gentoo-dev 2021-04-18 21:06:45 UTC
dev-java/jansi-1.11 has existed in SLOT 1.11 since before repository git migration and was never touched by java maintainers since then. Weirdly, instead only the older 1.5 ebuild was bumped to EAPI-6.

Please decide what to do with it.
Comment 1 Miroslav Šulc gentoo-dev 2021-04-19 05:16:28 UTC
we should bump to the latest version, put it in slot :0, verify that packages that depend on slot :0 work fine with the new version, and drop the slot :1.11 and then after stabilization the old 1.5-r2.
Comment 2 Volkmar W. Pogatzki 2021-04-19 18:10:00 UTC
(In reply to Miroslav Šulc from comment #1)
> we should bump to the latest version, put it in slot :0, verify that
> packages that depend on slot :0 work fine with the new version, and drop the
> slot :1.11 and then after stabilization the old 1.5-r2.

Latest version is 2.3.2 
Seems to depend on Junit 5.7:
https://github.com/fusesource/jansi/blob/b79d26263f63abb49b51df7a9c2176df78b0606f/pom.xml#L319-L338

    <dependencies>
        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter</artifactId>
            <version>5.7.0</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter-params</artifactId>
            <version>5.7.0</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>info.picocli</groupId>
            <artifactId>picocli-codegen</artifactId>
            <version>4.5.2</version>
            <scope>test</scope>
        </dependency>
    </dependencies>
Comment 3 Miroslav Šulc gentoo-dev 2021-04-19 18:13:18 UTC
yes, just specify --skip-tests on java-ebuilder command line, it will exclude tests. there's no better way atm. then we should at least use japi-compliance-checker and pkgdiff to verify our generated file has the same content as what upstream distributes. you can find more about these apps on java wiki, and they're packaged in the tree.
Comment 4 Larry the Git Cow gentoo-dev 2021-04-28 09:05:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=861d16e6e8f48edb6a176649c806b6d1460b3f0e

commit 861d16e6e8f48edb6a176649c806b6d1460b3f0e
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2021-04-28 09:05:25 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2021-04-28 09:05:25 +0000

    dev-java/jansi: switched to slot 0 + eapi7/java 1.8 in 1.11
    
    Closes: https://bugs.gentoo.org/783906
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 .../jansi/{jansi-1.11-r1.ebuild => jansi-1.11-r2.ebuild}  | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)