Bug 276444

Summary: math/mpdecimal: update to version 4.0.0
Product: Ports & Packages Reporter: Stefan Krah <skrah>
Component: Individual Port(s)Assignee: Robert Clausecker <fuz>
Status: Closed FIXED    
Severity: Affects Some People CC: bofh, fuz, skrah
Priority: --- Flags: antoine: exp-run+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
update to version 4.0.0 none

Description Stefan Krah 2024-01-18 21:57:56 UTC
Created attachment 247761 [details]
update to version 4.0.0

mpdecimal-4.0.0 has been released:

https://www.bytereef.org/mpdecimal/changelog.html
https://www.bytereef.org/mpdecimal/download.html


The attached PR updates the port.


The SOVERSION has been increased to 4. I'm not sure if the following line
in, e.g., lang/python11 is sufficient to trigger a rebuild of Python:


LIBMPDEC_LIB_DEPENDS=	libmpdec.so:math/mpdecimal


Stefan Krah
Comment 1 Robert Clausecker freebsd_committer freebsd_triage 2024-03-14 10:22:58 UTC
I'll bump the dependent ports on commit.
Comment 2 Robert Clausecker freebsd_committer freebsd_triage 2024-03-14 13:15:12 UTC
As this port is a dependency to lang/python3*, an exp-run of lang/python3* and dependents (i.e. all Python ports) may be in order.  I have sent an e-mail to portmgr@ asking if we should do one.
Comment 3 Robert Clausecker freebsd_committer freebsd_triage 2024-03-14 13:45:50 UTC
@portmgr When you commit, please check if you can do the move to share/man.
Comment 4 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2024-03-14 13:58:21 UTC
(In reply to Robert Clausecker from comment #3)
portmgr@ will not commit anything related to any PR. Once you are given the go ahead with the exp-run you can commit it by yourself. And for the move of manpages to share/man you do not need an exp-run. You can do it by yourself anytime.
Comment 5 Robert Clausecker freebsd_committer freebsd_triage 2024-03-14 14:00:46 UTC
(In reply to Muhammad Moinur Rahman from comment #4)

Hi bofh@, I was unfamiliar with the assignment of a PR to portmgr.  Thank you for clearing this up!
Comment 6 Stefan Krah 2024-03-14 19:08:32 UTC
Hi, thanks for taking a look at this!

The man pages are actually new. The previous documentation in doc/* was the prebuilt HTML documentation that is now in a separate package:

https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-doc-4.0.0.tar.gz

The package split is due to the fact that Debian has pretty strict rules for prebuilt Sphinx documentation which only work with specific Sphinx versions.


I don't know how much work an exp-run is, but my estimate is that it is unlikely that other Python ports are affected.

The one thing to consider is that a mpdecimal now supports the "z" format specifier that was introduced in Python 11.  So it would be silently enabled if used with Python 10 (I don't think that is a big deal because people using the new specifier have to read the docs and handle different versions anyway).
Comment 7 Antoine Brodin freebsd_committer freebsd_triage 2024-03-18 09:01:57 UTC
This looks fine
Comment 8 commit-hook freebsd_committer freebsd_triage 2024-03-19 14:21:37 UTC
A commit in branch main references this bug:

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

commit 81ab3f88bfe1460be797cc68205fa6a0a47bdbdb
Author:     Stefan Krah <skrah@bytereef.org>
AuthorDate: 2024-01-18 21:35:30 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-03-19 14:18:30 +0000

    math/mpdecimal: update to version 4.0.0

     - move man pages to share/man

    Changelog: https://www.bytereef.org/mpdecimal/changelog.html

    PR:             276444
    Reviewed by:    antoine (exp-run)

 math/mpdecimal/Makefile  |  9 +++------
 math/mpdecimal/distinfo  |  6 +++---
 math/mpdecimal/pkg-plist | 14 ++++++++++----
 3 files changed, 16 insertions(+), 13 deletions(-)
Comment 9 commit-hook freebsd_committer freebsd_triage 2024-03-19 14:21:41 UTC
A commit in branch main references this bug:

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

commit df1de8ec4a7b6207b1f4b79bc885090ad3e3713d
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2024-03-14 12:00:10 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-03-19 14:18:31 +0000

    lang/python3*: bump PORTREVISION following mpdecimal update

    The mpdecimal update changes the soname; bump dependent ports.

    PR:             276444

 lang/python310/Makefile | 2 +-
 lang/python311/Makefile | 1 +
 lang/python38/Makefile  | 2 +-
 lang/python39/Makefile  | 2 +-
 4 files changed, 4 insertions(+), 3 deletions(-)
Comment 10 Robert Clausecker freebsd_committer freebsd_triage 2024-03-19 14:26:26 UTC
Thank you for your contribution.