[SCM] The rsync repository. - branch master updated

Rsync CVS commit messages rsync-cvs at lists.samba.org
Wed Jun 17 17:52:58 UTC 2020


The branch, master has been updated
       via  07a3e1f9 Enhance compatibility with older python3 versions.
       via  93223719 A couple more NEWS tweaks.
      from  0b2d5fe4 Preparing for release of 3.2.0pre3

https://git.samba.org/?p=rsync.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 07a3e1f9392fbde11face24f468c44ef8e01295d
Author: Wayne Davison <wayne at opencoder.net>
Date:   Wed Jun 17 10:52:02 2020 -0700

    Enhance compatibility with older python3 versions.

commit 93223719c9330d3c19a68362155756c3881c282f
Author: Wayne Davison <wayne at opencoder.net>
Date:   Wed Jun 17 10:30:32 2020 -0700

    A couple more NEWS tweaks.

-----------------------------------------------------------------------

Summary of changes:
 NEWS.md | 12 ++++++------
 md2man  |  4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)


Changeset truncated at 500 lines:

diff --git a/NEWS.md b/NEWS.md
index 29fc39b6..f308460b 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -170,16 +170,16 @@ Protocol: 31 (unchanged)
    algorithms, extra checksum algorithms, and allow use of openssl's crypto
    lib for (potentially) faster MD4/MD5 checksums.
 
- - Add _build_ dependency for g++ (on x86_64 systems) to enable the SIMD
-   checksum optimizations.  This is auto-disabled on non-x86_64 build_cpu, or
-   if g++ isn't found on non-Linux systems.  Run configure with
-   `--disable-simd` if you run into a build problem.
+ - Add _build_ dependency for g++ on x86_64 systems **if** you want to enable
+   the SIMD checksum optimizations (via `configure --enable-simd`).
 
  - Add _build_ dependency for _either_ python3-cmarkcfm or python3-commonmark
    to allow for patching of man pages or building a git release.  This is not
    required for a release-tar build, since it comes with pre-built man pages.
-   (Note that cmarkcfm is faster than commonmark, but they generate the same
-   data.)
+   Note that cmarkcfm is faster than commonmark, but they generate the same
+   data.  The commonmark dependency is easiest to install since it's native
+   python, and can be installed via `pip3 install --user commonmark` if you
+   want to just install it for the build user (or omit `--user`).
 
  - Remove yodl _build_ dependency (if it was even listed before).
 
diff --git a/md2man b/md2man
index 7dbb1f31..f4f8ca4f 100755
--- a/md2man
+++ b/md2man
@@ -102,11 +102,11 @@ def main():
                 m = re.match(r'^(\w+)=(.+)', line)
                 if not m:
                     continue
-                var, val = (m[1], m[2])
+                var, val = (m.group(1), m.group(2))
                 if var == 'prefix' and env_subs[var] is not None:
                     continue
                 while re.search(r'\$\{', val):
-                    val = re.sub(r'\$\{(\w+)\}', lambda m: env_subs[m[1]], val)
+                    val = re.sub(r'\$\{(\w+)\}', lambda m: env_subs[m.group(1)], val)
                 env_subs[var] = val
                 if var == 'VERSION':
                     break


-- 
The rsync repository.



More information about the rsync-cvs mailing list