Bug#1008689: getfem++: diff for NMU version 5.3+dfsg1-4.1
Sebastian Ramacher
sramacher at debian.org
Wed Apr 6 20:42:57 BST 2022
On 2022-04-06 20:16:53 +0200, Sebastian Ramacher wrote:
> Control: tags 1008689 + patch
>
> Dear maintainer,
>
> as this issues blocks the ongoing python3.10-default transition, I've
> prepared an NMU for getfem++ (versioned as 5.3+dfsg1-4.1). The diff is
> attached to this message.
>
> Cheers
> --
> Sebastian Ramacher
> diff -Nru getfem++-5.3+dfsg1/debian/changelog getfem++-5.3+dfsg1/debian/changelog
> --- getfem++-5.3+dfsg1/debian/changelog 2021-12-18 21:13:11.000000000 +0100
> +++ getfem++-5.3+dfsg1/debian/changelog 2022-04-06 20:02:23.000000000 +0200
> @@ -1,3 +1,13 @@
> +getfem++ (5.3+dfsg1-4.1) unstable; urgency=medium
> +
> + * Non-maintainer upload.
> +
> + [ Graham Inggs ]
> + * Check success of distutils import by return code rather
> + than by stderr to avoid FTBFS with Python 3.10 (Closes: #1008689)
> +
> + -- Sebastian Ramacher <sramacher at debian.org> Wed, 06 Apr 2022 20:02:23 +0200
> +
> getfem++ (5.3+dfsg1-4) unstable; urgency=medium
>
> * Team upload.
> diff -Nru getfem++-5.3+dfsg1/debian/control getfem++-5.3+dfsg1/debian/control
> --- getfem++-5.3+dfsg1/debian/control 2021-12-18 21:13:11.000000000 +0100
> +++ getfem++-5.3+dfsg1/debian/control 2022-04-06 20:02:19.000000000 +0200
> @@ -1,5 +1,6 @@
> Source: getfem++
> -Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
> +XSBC-Original-Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
Sorry, I missed that change when reviewing the diff. This is reverted in
-4.2.
Cheers
> Uploaders: Konstantinos Poulios <poulios.konstantinos at gmail.com>
> Section: libs
> Priority: optional
> diff -Nru getfem++-5.3+dfsg1/debian/patches/python3.10.patch getfem++-5.3+dfsg1/debian/patches/python3.10.patch
> --- getfem++-5.3+dfsg1/debian/patches/python3.10.patch 1970-01-01 01:00:00.000000000 +0100
> +++ getfem++-5.3+dfsg1/debian/patches/python3.10.patch 2022-04-06 20:02:19.000000000 +0200
> @@ -0,0 +1,16 @@
> +Description: check success of import by return code rather than by stderr
> +Origin: upstream, https://github.com/autoconf-archive/autoconf-archive/commit/883a2abd5af5c96be894d5ef7ee6e9a2b8e64307
> +Author: Igor Gnatenko <ignatenko at redhat.com>
> +Last-Update: 2017-03-14
> +
> +--- a/m4/ac_python_devel.m4
> ++++ b/m4/ac_python_devel.m4
> +@@ -98,7 +98,7 @@
> + #
> + AC_MSG_CHECKING([for the distutils Python package])
> + ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`
> +- if test -z "$ac_distutils_result"; then
> ++ if test $? -eq 0; then
> + AC_MSG_RESULT([yes])
> + else
> + AC_MSG_RESULT([no])
> diff -Nru getfem++-5.3+dfsg1/debian/patches/series getfem++-5.3+dfsg1/debian/patches/series
> --- getfem++-5.3+dfsg1/debian/patches/series 2021-12-18 21:13:11.000000000 +0100
> +++ getfem++-5.3+dfsg1/debian/patches/series 2022-04-06 20:02:19.000000000 +0200
> @@ -8,3 +8,4 @@
> fix_python3_tests_8dcd729f.patch
> scripts_python3.patch
> fix_blas_interface.patch
> +python3.10.patch
--
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20220406/78ebe737/attachment-0001.sig>
More information about the debian-science-maintainers
mailing list