Bug 286465 - java/junit: Update to 4.13.2
Summary: java/junit: Update to 4.13.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Vladimir Druzenko
URL: https://junit.org/junit5/
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-30 07:01 UTC by Atanu Biswas
Modified: 2025-04-30 22:07 UTC (History)
1 user (show)

See Also:


Attachments
java/junit: Update to 5.12.2 (2.10 KB, patch)
2025-04-30 07:01 UTC, Atanu Biswas
no flags Details | Diff
patch to 4.13.2 (2.30 KB, patch)
2025-04-30 18:15 UTC, Atanu Biswas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Atanu Biswas 2025-04-30 07:01:59 UTC
Created attachment 260017 [details]
java/junit: Update to 5.12.2

This patch updates java/junit from version 4.2 to version 5.12.2 and switches the source to GitHub, as JUnit 5 is no longer published as a single JAR on Maven Central.

Changes:
- Update to JUnit 5.12.2
- Use GitHub as the source with DISTVERSIONPREFIX=r
- Adopt the port as MAINTAINER
- tested on14.2-RELEASE, amd64)
Comment 1 Vladimir Druzenko freebsd_committer freebsd_triage 2025-04-30 09:55:31 UTC
Ports installs only one file:
PLIST_FILES=	${DATADIR}/README.md
Look like incorrect.
Comment 2 Atanu Biswas 2025-04-30 18:15:04 UTC
Created attachment 260030 [details]
patch to 4.13.2
Comment 3 Atanu Biswas 2025-04-30 18:16:02 UTC
(In reply to Vladimir Druzenko from comment #1)
I am facing significant issue upgrading it to 5. For now, please patch this in. I will keep working on it.
Comment 4 commit-hook freebsd_committer freebsd_triage 2025-04-30 22:05:36 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d94489554516e6d0d6eac2e723345e9f62282107

commit d94489554516e6d0d6eac2e723345e9f62282107
Author:     Atanu Biswas <atanubiswas484@gmail.com>
AuthorDate: 2025-04-30 22:01:33 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-04-30 22:04:43 +0000

    java/junit: Update 4.12 => 4.13.2, take maintainership

    Release Notes:
    https://github.com/junit-team/junit4/blob/HEAD/doc/ReleaseNotes4.13.md
    https://github.com/junit-team/junit4/blob/HEAD/doc/ReleaseNotes4.13.1.md
    https://github.com/junit-team/junit4/blob/HEAD/doc/ReleaseNotes4.13.2.md

    Improve port: replace PORTVERSION with DISTVERSION, add LICENSE, pet
    portclippy and etc.

    PR:     286465

 java/junit/Makefile | 26 ++++++++++++++------------
 java/junit/distinfo |  9 +++++----
 2 files changed, 19 insertions(+), 16 deletions(-)
Comment 5 Vladimir Druzenko freebsd_committer freebsd_triage 2025-04-30 22:07:04 UTC
Thanks.