Skip to contentSkip to conversation

package/mpdecimal: bump to version 4.0.0

PATCH In review Thomas Petazzoni via buildroot 2 participants 2 messages Dec 28, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/mpdecimal: bump to version 4.0.0

While 2.5.1 -> 4.0.0 may seems like a big jump with lots of versions skipped, in fact 4.0.0 is the immediate next release after 2.5.1.

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

Build tested successfully with test-pkg, including with the one reverse dependency of mpdecimal: the python3 decimal module:
https://gitlab.com/tpetazzoni/buildroot/-/pipelines/1604635008.

---
 package/mpdecimal/mpdecimal.hash | 2 +-
 package/mpdecimal/mpdecimal.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/mpdecimal/mpdecimal.hash +1 -1
index 81150c7575..6e5f4cfcf8 100644
@@ -1,4 +1,4 @@
 # From http://www.bytereef.org/mpdecimal/download.html
-sha256  9f9cd4c041f99b5c49ffb7b59d9f12d95b683d88585608aa56a6307667b2b21f  mpdecimal-2.5.1.tar.gz
+sha256  942445c3245b22730fd41a67a7c5c231d11cb1b9936b9c0f76334fb7d0b4468c  mpdecimal-4.0.0.tar.gz
 # Locally computed
 sha256  b07528d8b1dbf1e2d2741052996f0876e23342ce2d30d0effa39c5457716c25a  LICENSE.txt
package/mpdecimal/mpdecimal.mk +1 -1
index aa322df340..212af5b7ee 100644
@@ -5,7 +5,7 @@
 ################################################################################
 
 MPDECIMAL_SITE = http://www.bytereef.org/software/mpdecimal/releases
-MPDECIMAL_VERSION = 2.5.1
+MPDECIMAL_VERSION = 4.0.0
 MPDECIMAL_INSTALL_STAGING = YES
 MPDECIMAL_LICENSE = BSD-2-Clause
 MPDECIMAL_LICENSE_FILES = LICENSE.txt
Signature · 6 lines
2.47.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hi Thomas,

Quoted 23 lines · Thomas Petazzoni via buildroot

While 2.5.1 -> 4.0.0 may seems like a big jump with lots of versions skipped, in fact 4.0.0 is the immediate next release after 2.5.1.

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

Build tested successfully with test-pkg, including with the one reverse dependency of mpdecimal: the python3 decimal module:
https://gitlab.com/tpetazzoni/buildroot/-/pipelines/1604635008.

---
 package/mpdecimal/mpdecimal.hash | 2 +-
 package/mpdecimal/mpdecimal.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/mpdecimal/mpdecimal.hash +0 -1
index 81150c7575..6e5f4cfcf8 100644
@@ -1,4 +1,4 @@
 # From http://www.bytereef.org/mpdecimal/download.html
-sha256  
Quoted 6 lines

9f9cd4c041f99b5c49ffb7b59d9f12d95b683d88585608aa56a6307667b2b21f mpdecimal-2.5.1.tar.gz +sha256
942445c3245b22730fd41a67a7c5c231d11cb1b9936b9c0f76334fb7d0b4468c mpdecimal-4.0.0.tar.gz
# Locally computed
sha256
b07528d8b1dbf1e2d2741052996f0876e23342ce2d30d0effa39c5457716c25a LICENSE.txt

It seems the license file LICENSE.txt has be reformatted and renamed to COPYRIGHT.txt in mpdecimal-4.0.0. Running the command:

make mpdecimal-legal-info

fails with output:

    ...
    >>> mpdecimal 4.0.0 Collecting legal info
    sha256sum: /buildroot/output/build/mpdecimal-4.0.0/LICENSE.txt: No 

such file or directory
ERROR: while checking hashes from package/mpdecimal/mpdecimal.hash
...

I thought this would have been detected by the "test-pkg -a" in the Gitlab CI. Should we add a "make legal-info" in the gitlab-ci.yaml.in? Here:
https://gitlab.com/buildroot.org/buildroot/-/blob/2024.11/support/misc/gitlab-ci.yml.in?ref_type=tags#L137
to make sure the Gitlab CI behave like the "utils/test-pkg -a" script when executed manually?

Quoted 13 lines
package/mpdecimal/mpdecimal.mk +1 -1
index aa322df340..212af5b7ee 100644
@@ -5,7 +5,7 @@
 
 ################################################################################
 
 MPDECIMAL_SITE = http://www.bytereef.org/software/mpdecimal/releases
-MPDECIMAL_VERSION = 2.5.1
+MPDECIMAL_VERSION = 4.0.0
 MPDECIMAL_INSTALL_STAGING = YES
 MPDECIMAL_LICENSE = BSD-2-Clause
Quoted 1 line

MPDECIMAL_LICENSE_FILES = LICENSE.txt

The _LICENSE_FILES here needs to be updated too.

Can you send a v2 fixing the license file, please?

Best regards,

Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot