diff -Nru cod-tools-2.10+dfsg/debian/changelog cod-tools-2.10+dfsg/debian/changelog --- cod-tools-2.10+dfsg/debian/changelog 2020-02-26 07:20:12.000000000 +0000 +++ cod-tools-2.10+dfsg/debian/changelog 2020-05-13 07:20:13.000000000 +0000 @@ -1,3 +1,9 @@ +cod-tools (2.10+dfsg-2) unstable; urgency=medium + + * Replacing calls to 'babel' with 'obabel'. + + -- Andrius Merkys Wed, 13 May 2020 03:20:13 -0400 + cod-tools (2.10+dfsg-1) unstable; urgency=medium * New upstream version 2.10+dfsg diff -Nru cod-tools-2.10+dfsg/debian/patches/babel-to-obabel.patch cod-tools-2.10+dfsg/debian/patches/babel-to-obabel.patch --- cod-tools-2.10+dfsg/debian/patches/babel-to-obabel.patch 1970-01-01 00:00:00.000000000 +0000 +++ cod-tools-2.10+dfsg/debian/patches/babel-to-obabel.patch 2020-05-13 06:02:45.000000000 +0000 @@ -0,0 +1,135 @@ +Description: Substitute 'babel' command with 'obabel', as the former has + been removed since Open Babel 3.0.0. + The patch corresponds to Subversion revision 7933. +Author: Andrius Merkys +Index: scripts/molcif2sdf +=================================================================== +diff --git a/scripts/molcif2sdf b/scripts/molcif2sdf +--- a/scripts/molcif2sdf (revision 7932) ++++ b/scripts/molcif2sdf (revision 7933) +@@ -111,7 +111,7 @@ + do + ( + cd ${TMP_SPLIT_DIR} +- babel ---errorlevel 1 -iCIF $(basename $MOL) -o SDF \ ++ obabel ---errorlevel 1 -iCIF $(basename $MOL) -o SDF \ + | grep -v '^\$\$\$\$' + ) + if [ "${COD_CIF}" != "" ] +Index: tests/shtests/codcif2sdf_001.chk +=================================================================== +diff --git a/tests/shtests/codcif2sdf_001.chk b/tests/shtests/codcif2sdf_001.chk +--- a/tests/shtests/codcif2sdf_001.chk (revision 7932) ++++ b/tests/shtests/codcif2sdf_001.chk (revision 7933) +@@ -1,6 +1,6 @@ + #!/bin/sh + +-BABEL_VERSION=$( babel -V | perl -ne 'm/^Open Babel (\d+[.]\d+[.]\d+)/; print $1' ) ++BABEL_VERSION=$( obabel -V | perl -ne 'm/^Open Babel (\d+[.]\d+[.]\d+)/; print $1' ) + TARGET_VERSION='2.3.0' + + if ! [ "$BABEL_VERSION" = "$TARGET_VERSION" ] +Index: tests/shtests/codcif2sdf_002.chk +=================================================================== +diff --git a/tests/shtests/codcif2sdf_002.chk b/tests/shtests/codcif2sdf_002.chk +--- a/tests/shtests/codcif2sdf_002.chk (revision 7932) ++++ b/tests/shtests/codcif2sdf_002.chk (revision 7933) +@@ -1,6 +1,6 @@ + #!/bin/sh + +-BABEL_VERSION=$( babel -V | perl -ne 'm/^Open Babel (\d+[.]\d+[.]\d+)/; print $1' ) ++BABEL_VERSION=$( obabel -V | perl -ne 'm/^Open Babel (\d+[.]\d+[.]\d+)/; print $1' ) + TARGET_VERSION='2.3.0' + + if ! [ "$BABEL_VERSION" = "$TARGET_VERSION" ] +Index: tests/shtests/codcif2sdf_003.chk +=================================================================== +diff --git a/tests/shtests/codcif2sdf_003.chk b/tests/shtests/codcif2sdf_003.chk +--- a/tests/shtests/codcif2sdf_003.chk (revision 7932) ++++ b/tests/shtests/codcif2sdf_003.chk (revision 7933) +@@ -1,6 +1,6 @@ + #!/bin/sh + +-BABEL_VERSION=$( babel -V | perl -ne 'm/^Open Babel (\d+[.]\d+[.]\d+)/; print $1' ) ++BABEL_VERSION=$( obabel -V | perl -ne 'm/^Open Babel (\d+[.]\d+[.]\d+)/; print $1' ) + TARGET_VERSION='2.3.2' + + if ! [ "$BABEL_VERSION" = "$TARGET_VERSION" ] +Index: tests/shtests/codcif2sdf_004.chk +=================================================================== +diff --git a/tests/shtests/codcif2sdf_004.chk b/tests/shtests/codcif2sdf_004.chk +--- a/tests/shtests/codcif2sdf_004.chk (revision 7932) ++++ b/tests/shtests/codcif2sdf_004.chk (revision 7933) +@@ -1,6 +1,6 @@ + #!/bin/sh + +-BABEL_VERSION=$( babel -V | perl -ne 'm/^Open Babel (\d+[.]\d+[.]\d+)/; print $1' ) ++BABEL_VERSION=$( obabel -V | perl -ne 'm/^Open Babel (\d+[.]\d+[.]\d+)/; print $1' ) + TARGET_VERSION='2.3.2' + + if ! [ "$BABEL_VERSION" = "$TARGET_VERSION" ] +Index: tests/shtests/molcif2sdf_001.chk +=================================================================== +diff --git a/tests/shtests/molcif2sdf_001.chk b/tests/shtests/molcif2sdf_001.chk +--- a/tests/shtests/molcif2sdf_001.chk (revision 7932) ++++ b/tests/shtests/molcif2sdf_001.chk (revision 7933) +@@ -1,6 +1,6 @@ + #!/bin/sh + +-BABEL_VERSION=$( babel -V | perl -ne 'm/^Open Babel (\d+[.]\d+[.]\d+)/; print $1' ) ++BABEL_VERSION=$( obabel -V | perl -ne 'm/^Open Babel (\d+[.]\d+[.]\d+)/; print $1' ) + TARGET_VERSION='2.3.0' + + if ! [ "$BABEL_VERSION" = "$TARGET_VERSION" ] +Index: tests/shtests/molcif2sdf_002.chk +=================================================================== +diff --git a/tests/shtests/molcif2sdf_002.chk b/tests/shtests/molcif2sdf_002.chk +--- a/tests/shtests/molcif2sdf_002.chk (revision 7932) ++++ b/tests/shtests/molcif2sdf_002.chk (revision 7933) +@@ -1,6 +1,6 @@ + #!/bin/sh + +-BABEL_VERSION=$( babel -V | perl -ne 'm/^Open Babel (\d+[.]\d+[.]\d+)/; print $1' ) ++BABEL_VERSION=$( obabel -V | perl -ne 'm/^Open Babel (\d+[.]\d+[.]\d+)/; print $1' ) + TARGET_VERSION='2.3.0' + + if ! [ "$BABEL_VERSION" = "$TARGET_VERSION" ] +Index: tests/shtests/molcif2sdf_003.chk +=================================================================== +diff --git a/tests/shtests/molcif2sdf_003.chk b/tests/shtests/molcif2sdf_003.chk +--- a/tests/shtests/molcif2sdf_003.chk (revision 7932) ++++ b/tests/shtests/molcif2sdf_003.chk (revision 7933) +@@ -1,6 +1,6 @@ + #!/bin/sh + +-BABEL_VERSION=$( babel -V | perl -ne 'm/^Open Babel (\d+[.]\d+[.]\d+)/; print $1' ) ++BABEL_VERSION=$( obabel -V | perl -ne 'm/^Open Babel (\d+[.]\d+[.]\d+)/; print $1' ) + TARGET_VERSION='2.3.2' + + if ! [ "$BABEL_VERSION" = "$TARGET_VERSION" ] +Index: tests/shtests/molcif2sdf_004.chk +=================================================================== +diff --git a/tests/shtests/molcif2sdf_004.chk b/tests/shtests/molcif2sdf_004.chk +--- a/tests/shtests/molcif2sdf_004.chk (revision 7932) ++++ b/tests/shtests/molcif2sdf_004.chk (revision 7933) +@@ -1,6 +1,6 @@ + #!/bin/sh + +-BABEL_VERSION=$( babel -V | perl -ne 'm/^Open Babel (\d+[.]\d+[.]\d+)/; print $1' ) ++BABEL_VERSION=$( obabel -V | perl -ne 'm/^Open Babel (\d+[.]\d+[.]\d+)/; print $1' ) + TARGET_VERSION='2.3.2' + + if ! [ "$BABEL_VERSION" = "$TARGET_VERSION" ] +Index: tests/shtests/neighbour_list_from_obmol_001.chk +=================================================================== +diff --git a/tests/shtests/neighbour_list_from_obmol_001.chk b/tests/shtests/neighbour_list_from_obmol_001.chk +--- a/tests/shtests/neighbour_list_from_obmol_001.chk (revision 7932) ++++ b/tests/shtests/neighbour_list_from_obmol_001.chk (revision 7933) +@@ -1,6 +1,6 @@ + #!/bin/sh + +-BABEL_VERSION=$( babel -V | perl -ne 'm/^Open Babel (\d+[.]\d+[.]\d+)/; print $1' ) ++BABEL_VERSION=$( obabel -V | perl -ne 'm/^Open Babel (\d+[.]\d+[.]\d+)/; print $1' ) + TARGET_VERSION='2.3.0' + + if ! [ "$BABEL_VERSION" = "$TARGET_VERSION" ] diff -Nru cod-tools-2.10+dfsg/debian/patches/series cod-tools-2.10+dfsg/debian/patches/series --- cod-tools-2.10+dfsg/debian/patches/series 2020-02-24 14:09:01.000000000 +0000 +++ cod-tools-2.10+dfsg/debian/patches/series 2020-05-13 05:58:17.000000000 +0000 @@ -4,3 +4,4 @@ disable-test-network-access.diff spglib.diff build-python3-by-default.diff +babel-to-obabel.patch