Source: mpdecimal
Version: 2.5.1
Severity: wishlist

A release candidate of mpdecimal-2.5.1 is available here:

   https://www.bytereef.org/preview/mpdecimal-2.5.1-rc1.tar.gz


The release date is around January 20th, there are no expected changes
apart from documentation or build fixes.



=============
Running tests
=============

There is a new test target that does not download dectest.zip.  It takes
30 seconds on a recent amd64, 20 min on the slowest machine I could find
(SPARC T3).

It tests both static/shared and libmpdec/libmpdec++.


Accordingly, I suggest this diff, which also updates the relevant licenses:

================================================================================
diff -ur a-debian/copyright b-debian/copyright
--- a-debian/copyright  2014-01-08 23:17:45.000000000 +0100
+++ b-debian/copyright  2021-01-10 16:31:31.912454625 +0100
@@ -3,7 +3,7 @@
 Source: http://www.bytereef.org/mpdecimal/download.html
 
 Files: *
-Copyright: Copyright (c) 2008-2013 Stefan Krah. All rights reserved.
+Copyright: Copyright (c) 2008-2020 Stefan Krah. All rights reserved.
 License: BSD
  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions
@@ -28,35 +28,8 @@
  OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  SUCH DAMAGE.
 
-Files: libmpdec/vcstdint.h
-Copyright: Copyright (c) 2006-2008 Alexander Chemeris
-License: BSD
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- .
- 1. Redistributions of source code must retain the above copyright notice,
-    this list of conditions and the following disclaimer.
- .
- 2. Redistributions in binary form must reproduce the above copyright
-    notice, this list of conditions and the following disclaimer in the
-    documentation and/or other materials provided with the distribution.
- .
- 3. The name of the author may be used to endorse or promote products
-    derived from this software without specific prior written permission.
- .
- THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
- EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
- OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
- WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
- OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
- ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
 Files: debian/*
-Copyright: 2012 Matthias Klose <d...@debian.org>
+Copyright: 2012-2021 Matthias Klose <d...@debian.org>
 License: GPL-2+
  This package is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
diff -ur a-debian/rules b-debian/rules
--- a-debian/rules      2020-08-02 17:28:11.000000000 +0200
+++ b-debian/rules      2021-01-10 16:33:47.610044549 +0100
@@ -35,10 +35,7 @@
 
 override_dh_auto_test:
 ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
-       $(MAKE) -C tests
-       : # needs download of tests, just run additional.decTest
-       ln -sf testdata_dist tests/testdata
-       cd tests && ./runtest ./additional.decTest
+       $(MAKE) check_local
 endif
 
 override_dh_makeshlibs:
================================================================================


================
libmpdec symbols
================

New symbols:
  mpd_from_uint128_triple
  mpd_as_uint128_triple

Official API is now listed here:
  libmpdec/.objs/symbols64.exp
  libmpdec/.objs/symbols32.exp


libmpdec++ also has the above new methods.


=====================
Required Python patch
=====================

In order to keep --with-system-libmpdec working, the following patch is 
required:

https://github.com/skrah/cpython/commit/dd436be488bdca2123d12d1e148d85cb6f98be5f

Reply via email to