Skip to content

Commit 5104e1f

Browse files
committed
Release pyrediff 18
- Support `--version` option to `pyrediff`. - Fix `pyrediff -e` with Python 3.3 and newer to ensure `\` is escaped correctly if the next character is unescaped. I.e., `don\'t` is now correctly escaped as `don\\'t`. - Update Python references to Python 3. - Update github workflows to v4 and to use the main branch.
1 parent c188b83 commit 5104e1f

8 files changed

+25
-25
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Change Log
22

3-
## [unreleased] - unreleased
3+
## [18] - 2024-03-12
44

55
### Added
66
- Support `--version` option to `pyrediff`.

configure

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3-
# Generated by GNU Autoconf 2.72 for pyrediff 17.
3+
# Generated by GNU Autoconf 2.72 for pyrediff 18.
44
#
55
# Report bugs to <[email protected]>.
66
#
@@ -608,8 +608,8 @@ MAKEFLAGS=
608608
# Identity of this package.
609609
PACKAGE_NAME='pyrediff'
610610
PACKAGE_TARNAME='pyrediff'
611-
PACKAGE_VERSION='17'
612-
PACKAGE_STRING='pyrediff 17'
611+
PACKAGE_VERSION='18'
612+
PACKAGE_STRING='pyrediff 18'
613613
PACKAGE_BUGREPORT='[email protected]'
614614
PACKAGE_URL=''
615615

@@ -1258,7 +1258,7 @@ if test "$ac_init_help" = "long"; then
12581258
# Omit some internal or obsolete options to make the list less imposing.
12591259
# This message is too long to be a string in the A/UX 3.1 sh.
12601260
cat <<_ACEOF
1261-
'configure' configures pyrediff 17 to adapt to many kinds of systems.
1261+
'configure' configures pyrediff 18 to adapt to many kinds of systems.
12621262
12631263
Usage: $0 [OPTION]... [VAR=VALUE]...
12641264
@@ -1325,7 +1325,7 @@ fi
13251325

13261326
if test -n "$ac_init_help"; then
13271327
case $ac_init_help in
1328-
short | recursive ) echo "Configuration of pyrediff 17:";;
1328+
short | recursive ) echo "Configuration of pyrediff 18:";;
13291329
esac
13301330
cat <<\_ACEOF
13311331
@@ -1418,7 +1418,7 @@ fi
14181418
test -n "$ac_init_help" && exit $ac_status
14191419
if $ac_init_version; then
14201420
cat <<\_ACEOF
1421-
pyrediff configure 17
1421+
pyrediff configure 18
14221422
generated by GNU Autoconf 2.72
14231423
14241424
Copyright (C) 2023 Free Software Foundation, Inc.
@@ -1460,7 +1460,7 @@ cat >config.log <<_ACEOF
14601460
This file contains any messages produced by compilers while
14611461
running configure, to aid debugging if configure makes a mistake.
14621462
1463-
It was created by pyrediff $as_me 17, which was
1463+
It was created by pyrediff $as_me 18, which was
14641464
generated by GNU Autoconf 2.72. Invocation command line was
14651465
14661466
$ $0$ac_configure_args_raw
@@ -2424,7 +2424,7 @@ fi
24242424

24252425
# Define the identity of the package.
24262426
PACKAGE='pyrediff'
2427-
VERSION='17'
2427+
VERSION='18'
24282428

24292429

24302430
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -3615,7 +3615,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
36153615
# report actual input values of CONFIG_FILES etc. instead of their
36163616
# values after options handling.
36173617
ac_log="
3618-
This file was extended by pyrediff $as_me 17, which was
3618+
This file was extended by pyrediff $as_me 18, which was
36193619
generated by GNU Autoconf 2.72. Invocation command line was
36203620
36213621
CONFIG_FILES = $CONFIG_FILES
@@ -3674,7 +3674,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
36743674
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
36753675
ac_cs_config='$ac_cs_config_escaped'
36763676
ac_cs_version="\\
3677-
pyrediff config.status 17
3677+
pyrediff config.status 18
36783678
configured by $0, generated by GNU Autoconf 2.72,
36793679
with options \\"\$ac_cs_config\\"
36803680

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AC_PREREQ([2.69])
2-
AC_INIT([pyrediff], [17], [[email protected]])
2+
AC_INIT([pyrediff], [18], [[email protected]])
33

44
AC_COPYRIGHT([[
55
Copyright 2013-2024, Luke Mewburn <[email protected]>.

src/ax_at_check_pattern.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
# notice and this notice are preserved. This file is offered as-is,
4141
# without any warranty.
4242

43-
#serial 17
43+
#serial 18
4444

4545
m4_define([_AX_AT_CHECK_PATTERN_AWK],
4646
[[BEGIN { exitval=0 }

src/ax_at_check_pyrediff.m4

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
# notice and this notice are preserved. This file is offered as-is,
4141
# without any warranty.
4242

43-
#serial 17
43+
#serial 18
4444

4545
m4_define([_AX_AT_CHECK_PYREDIFF],
4646
[[from __future__ import print_function
@@ -50,7 +50,7 @@ import re
5050
import subprocess
5151
import sys
5252
53-
__version__ = "17"
53+
__version__ = "18"
5454
5555
# pylint: disable=missing-class-docstring
5656
# pylint: disable=missing-function-docstring

src/pyrediff

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import re
2727
import subprocess
2828
import sys
2929

30-
__version__ = "17"
30+
__version__ = "18"
3131

3232
# pylint: disable=missing-class-docstring
3333
# pylint: disable=missing-function-docstring

tests/package.m4

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Signature of the current package.
22
m4_define([AT_PACKAGE_NAME], [pyrediff])
33
m4_define([AT_PACKAGE_TARNAME], [pyrediff])
4-
m4_define([AT_PACKAGE_VERSION], [17])
5-
m4_define([AT_PACKAGE_STRING], [pyrediff 17])
4+
m4_define([AT_PACKAGE_VERSION], [18])
5+
m4_define([AT_PACKAGE_STRING], [pyrediff 18])
66
m4_define([AT_PACKAGE_BUGREPORT], [[email protected]])

tests/testsuite

+7-7
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ import re
491491
import subprocess
492492
import sys
493493
494-
__version__ = "17"
494+
__version__ = "18"
495495
496496
# pylint: disable=missing-class-docstring
497497
# pylint: disable=missing-function-docstring
@@ -1236,7 +1236,7 @@ fi
12361236
# List of tests.
12371237
if $at_list_p; then
12381238
cat <<_ATEOF || at_write_fail=1
1239-
pyrediff 17 test suite: pyrediff test groups:
1239+
pyrediff 18 test suite: pyrediff test groups:
12401240
12411241
NUM: FILE-NAME:LINE TEST-GROUP-NAME
12421242
KEYWORDS
@@ -1277,7 +1277,7 @@ _ATEOF
12771277
exit $at_write_fail
12781278
fi
12791279
if $at_version_p; then
1280-
printf "%s\n" "$as_me (pyrediff 17)" &&
1280+
printf "%s\n" "$as_me (pyrediff 18)" &&
12811281
cat <<\_ATEOF || at_write_fail=1
12821282
12831283
Copyright (C) 2023 Free Software Foundation, Inc.
@@ -1464,11 +1464,11 @@ exec 5>>"$at_suite_log"
14641464

14651465
# Banners and logs.
14661466
printf "%s\n" "## --------------------------------- ##
1467-
## pyrediff 17 test suite: pyrediff. ##
1467+
## pyrediff 18 test suite: pyrediff. ##
14681468
## --------------------------------- ##"
14691469
{
14701470
printf "%s\n" "## --------------------------------- ##
1471-
## pyrediff 17 test suite: pyrediff. ##
1471+
## pyrediff 18 test suite: pyrediff. ##
14721472
## --------------------------------- ##"
14731473
echo
14741474

@@ -2285,7 +2285,7 @@ _ASBOX
22852285
printf "%s\n" "Please send $at_msg and all information you think might help:
22862286
22872287
2288-
Subject: [pyrediff 17] $as_me: $at_msg1$at_msg2
2288+
Subject: [pyrediff 18] $as_me: $at_msg1$at_msg2
22892289
22902290
You may investigate any problem if you feel able to do so, in which
22912291
case the test suite provides a good starting point. Its output may
@@ -3108,7 +3108,7 @@ import re
31083108
import subprocess
31093109
import sys
31103110
3111-
__version__ = "17"
3111+
__version__ = "18"
31123112
31133113
# pylint: disable=missing-class-docstring
31143114
# pylint: disable=missing-function-docstring

0 commit comments

Comments
 (0)