]> git.notmuchmail.org Git - notmuch/blob - debian/patches/debian-changes
Commit Debian 3.0 (quilt) metadata
[notmuch] / debian / patches / debian-changes
1 This is an autogenerated patch header for a single-debian-patch file. The
2 delta against upstream is either kept as a single patch, or maintained
3 in some VCS, and exported as a single patch instead of more manageable
4 atomic patches.
5
6 --- notmuch-0.31.1.orig/devel/release-checks.sh
7 +++ notmuch-0.31.1/devel/release-checks.sh
8 @@ -29,7 +29,7 @@ append_emsg ()
9         emsgs="${emsgs:+$emsgs\n}  $1"
10  }
11  
12 -for f in ./version debian/changelog NEWS "$PV_FILE"
13 +for f in ./version.txt debian/changelog NEWS "$PV_FILE"
14  do
15         if   [ ! -f "$f" ]; then append_emsg "File '$f' is missing"
16         elif [ ! -r "$f" ]; then append_emsg "File '$f' is unreadable"
17 @@ -53,7 +53,7 @@ then
18  else
19         echo "Reading './version' file failed (surprisingly!)"
20         exit 1
21 -fi < ./version
22 +fi < ./version.txt
23  
24  readonly VERSION
25  
26 @@ -109,7 +109,7 @@ else
27  fi
28  
29  echo -n "Checking that python bindings version is $VERSION... "
30 -py_version=`python -c "with open('$PV_FILE') as vf: exec(vf.read()); print(__VERSION__)"`
31 +py_version=`python3 -c "with open('$PV_FILE') as vf: exec(vf.read()); print(__VERSION__)"`
32  if [ "$py_version" = "$VERSION" ]
33  then
34         echo Yes.