Index: ossp-pkg/shtool/ChangeLog RCS File: /v/ossp/cvs/ossp-pkg/shtool/ChangeLog,v rcsdiff -q -kk '-r1.130' '-r1.131' -u '/v/ossp/cvs/ossp-pkg/shtool/ChangeLog,v' 2>/dev/null --- ChangeLog 2000/07/01 12:20:52 1.130 +++ ChangeLog 2000/07/06 13:29:11 1.131 @@ -8,6 +8,11 @@ ____________________________________________________________________ ChangeLog + + Changes between 1.5.0 and 1.5.1 (01-Jul-2000 to 06-Jul-2000): + + *) Add Python support to `shtool version'. + [Benjamin Saller ] Changes between 1.4.9 and 1.5.0 (16-Apr-2000 to 01-Jul-2000): Index: ossp-pkg/shtool/sh.version RCS File: /v/ossp/cvs/ossp-pkg/shtool/sh.version,v rcsdiff -q -kk '-r1.24' '-r1.25' -u '/v/ossp/cvs/ossp-pkg/shtool/sh.version,v' 2>/dev/null --- sh.version 2000/07/01 12:35:36 1.24 +++ sh.version 2000/07/06 13:29:11 1.25 @@ -279,6 +279,23 @@ echo >>$file "1;" echo >>$file "" ;; + python ) + echo >>$file "##" + echo >>$file "## ${file} -- Version Information for ${name} (syntax: Python)" + echo >>$file "## [automatically generated and maintained by GNU shtool]" + echo >>$file "##" + echo >>$file "" + echo >>$file "class ${prefix}version:" + echo >>$file " v_hex = ${vHex}" + echo >>$file " v_short = \"${vShort}\"" + echo >>$file " v_long = \"${vLong}\"" + echo >>$file " v_tex = \"${vTex}\"" + echo >>$file " v_gnu = \"${vGNU}\"" + echo >>$file " v_web = \"${vWeb}\"" + echo >>$file " v_sccs = \"${vSCCS}\"" + echo >>$file " v_rcs = \"${vRCS}\"" + echo >>$file "" + ;; * ) echo "$msgprefix:Error: invalid argument to option \`-l': \`$opt_l'" 1>&2 exit 1 ;; Index: ossp-pkg/shtool/shtool.pod RCS File: /v/ossp/cvs/ossp-pkg/shtool/shtool.pod,v rcsdiff -q -kk '-r1.46' '-r1.47' -u '/v/ossp/cvs/ossp-pkg/shtool/shtool.pod,v' 2>/dev/null --- shtool.pod 2000/07/06 08:08:01 1.46 +++ shtool.pod 2000/07/06 13:29:11 1.47 @@ -270,7 +270,7 @@ =item B -Maintain a version information file in either Text, C/C++ or Perl +Maintain a version information file in either Text, C/C++, Perl or Python. format. =item B @@ -704,13 +704,14 @@ =item B [B<-l> I] [B<-n> I] [B<-p> I] [B<-s> I] [B<-e>] [B<-i> I] [B<-d> I] I -This command generates and maintains a version information file I for -program name I in either textual (I="C"), ANSI C -(I="c") or Perl (I="perl") language. The version is always -described with a triple EI,I,IE and is +This command generates and maintains a version information +file I for program name I in either textual +(I="C"), ANSI C (I="c"), Perl (I="perl") or +Python (I="python") language. The version is always described +with a triple EI,I,IE and is represented by a string which always matches the regular expression -``C<[0-9]+\.[0-9]+[sabp.][0-9]+>''. When the option ``B<-s>'' is given, the -contents of I is overridden with the specified I. +``C<[0-9]+\.[0-9]+[sabp.][0-9]+>''. When the option ``B<-s>'' is given, +the contents of I is overridden with the specified I. When option ``B<-i>'' is used, the current version in I is updated by increasing one element of the version where I can be one of