Bug 259933 - lang/scala Update to 3.1.0
Summary: lang/scala Update to 3.1.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Joseph Mingrone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-19 08:42 UTC by Jens Grassel
Modified: 2021-11-22 10:12 UTC (History)
1 user (show)

See Also:


Attachments
Patch to update lang/scala to 3.1.0 (2.19 KB, patch)
2021-11-19 08:42 UTC, Jens Grassel
no flags Details | Diff
Updated patch (2.48 KB, patch)
2021-11-22 04:56 UTC, Joseph Mingrone
jrm: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Grassel 2021-11-19 08:42:56 UTC
Created attachment 229586 [details]
Patch to update lang/scala to 3.1.0

Hi,

I've attached a patch to update lang/scala to 3.1.0.
The docs were removed from the official release tarball so I removed the DOC option from the port as well.

Changelog
---------

- second major release of the Scala 3 language version
- lots of bugfixes and enhancements

Kind regards,

Jens
Comment 1 Joseph Mingrone freebsd_committer freebsd_triage 2021-11-22 04:56:22 UTC
Created attachment 229652 [details]
Updated patch

Hello,

I've made a few changes.

- remove USES=tar:tgz and EXTRACT_SUFX=.tar.gz
- set DISTVERSION as described in Porter's Handbook
- set order of variables as described in Porter's Handbook and portclippy
- tweak some formatting as recommended by portfmt
- Fix stage-qa warnings "Warning: Bad symlink '/usr/local/bin/common' pointing to an absolute pathname '/usr/local/share/scala/bin/common'" by creating relative links

Everything look all right to you in the updated patch?
Comment 2 Jens Grassel 2021-11-22 08:05:58 UTC
Comment on attachment 229652 [details]
Updated patch

Looks good to me. :-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2021-11-22 10:11:56 UTC
A commit in branch main references this bug:

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

commit 431a745a64ef07210d7f6541a73297c4cdf4a18b
Author:     Jens Grassel <freebsd-ports@jan0sch.de>
AuthorDate: 2021-11-22 04:41:47 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2021-11-22 10:10:28 +0000

    lang/scala: Update to 3.1.0

    https://github.com/lampepfl/dotty/releases/tag/3.1.0

    PR:             259933

 lang/scala/Makefile | 41 +++++++++--------------------------------
 lang/scala/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 35 deletions(-)