diff options
| author | David Bremner <david@tethera.net> | 2025-02-15 15:41:29 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2025-02-22 07:07:46 -0400 |
| commit | 84e53f70229c42f82ca86b5b1b88a4afeaff7eae (patch) | |
| tree | 473449a932924959d1113afda32d495f127b69b1 /devel | |
| parent | d526797ad198e394bb8b4909f43976b76fb347f1 (diff) | |
build: remove handling for legacy python bindings version
The legacy python bindings are no longer built.
Diffstat (limited to 'devel')
| -rwxr-xr-x | devel/release-checks.sh | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/devel/release-checks.sh b/devel/release-checks.sh index c0accf78..4f81722b 100755 --- a/devel/release-checks.sh +++ b/devel/release-checks.sh @@ -18,8 +18,6 @@ readonly DEFAULT_IFS="$IFS" # Note: In this particular case quotes are needed. # Avoid locale-specific differences in output of executed commands LANG=C LC_ALL=C; export LANG LC_ALL -readonly PV_FILE='bindings/python/notmuch/version.py' - # Using array here turned out to be unnecessarily complicated emsgs='' emsg_count=0 @@ -29,7 +27,7 @@ append_emsg () emsgs="${emsgs:+$emsgs\n} $1" } -for f in ./version.txt debian/changelog NEWS "$PV_FILE" +for f in ./version.txt debian/changelog NEWS do if [ ! -f "$f" ]; then append_emsg "File '$f' is missing" elif [ ! -r "$f" ]; then append_emsg "File '$f' is unreadable" @@ -108,16 +106,6 @@ else append_emsg "Version '$deb_version' is not '($VERSION-1)' in debian/changelog" fi -printf %s "Checking that python bindings version is $VERSION... " -py_version=`python3 -c "with open('$PV_FILE') as vf: exec(vf.read()); print(__VERSION__)"` -if [ "$py_version" = "$VERSION" ] -then - echo Yes. -else - echo No. - append_emsg "Version '$py_version' is not '$VERSION' in $PV_FILE" -fi - printf %s "Checking that NEWS header is tidy... " if [ "`exec sed 's/./=/g; 1q' NEWS`" = "`exec sed '1d; 2q' NEWS`" ] then |
