Re: gnulib-tool.py: trivial fixes

2017-09-09 Thread Bruno Haible
Dmitry Selyutin wrote:
> Sure, perfectly OK.

OK, I've pushed these.




Re: gnulib-tool.py: trivial fixes

2017-09-09 Thread Dmitry Selyutin
Sure, perfectly OK.

2017-09-09 12:40 GMT+03:00 Bruno Haible :

> Hi Dmitry,
>
> Here are some proposed fixes for trivial issues. May I push these?
>
> Bruno
>
>


-- 
With best regards,
Dmitry Selyutin


gnulib-tool.py: trivial fixes

2017-09-09 Thread Bruno Haible
Hi Dmitry,

Here are some proposed fixes for trivial issues. May I push these?

Bruno

>From d33ea821528592e87bb85de6059710ccf869 Mon Sep 17 00:00:00 2001
From: Bruno Haible 
Date: Sat, 9 Sep 2017 00:38:56 +0200
Subject: [PATCH 02/16] gnulib-tool.py: Bump copyright years up to 2017.

---
 gnulib-tool.py| 2 +-
 pygnulib/__init__.py  | 2 +-
 pygnulib/constants.py | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnulib-tool.py b/gnulib-tool.py
index 0a37182..806f4d7 100755
--- a/gnulib-tool.py
+++ b/gnulib-tool.py
@@ -1,6 +1,6 @@
 #!/usr/bin/python
 #
-# Copyright (C) 2002-2012 Free Software Foundation, Inc.
+# Copyright (C) 2002-2017 Free Software Foundation, Inc.
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
diff --git a/pygnulib/__init__.py b/pygnulib/__init__.py
index fc205c2..129061b 100644
--- a/pygnulib/__init__.py
+++ b/pygnulib/__init__.py
@@ -15,6 +15,6 @@ coding standards, the GNU maintainer information, the GPL and other licenses (in
 Texinfo), assorted configuration scripts, and more. The goal is to provide all
 the common infrastructure needed by GNU packages.'''
 
-__copyright__ = '2012 Free Software Foundation, Inc.'
+__copyright__ = '2012-2017 Free Software Foundation, Inc.'
 __author__ = 'Dmitriy Selyutin'
 __license__ = 'GNU GPLv3+'
diff --git a/pygnulib/constants.py b/pygnulib/constants.py
index 3255635..ec2ca62 100644
--- a/pygnulib/constants.py
+++ b/pygnulib/constants.py
@@ -27,7 +27,7 @@ __author__ = \
 'Dmitriy Selyutin',
 ]
 __license__ = 'GNU GPLv3+'
-__copyright__ = '2012 Free Software Foundation, Inc.'
+__copyright__ = '2002-2017 Free Software Foundation, Inc.'
 
 
 #===
-- 
2.7.4

>From bd659d3e9ea5c2b17f758e834f7dde4376c7f402 Mon Sep 17 00:00:00 2001
From: Bruno Haible 
Date: Sat, 9 Sep 2017 01:31:54 +0200
Subject: [PATCH 03/16] gnulib-tool.py: Fix typo in wget invocation.

---
 pygnulib/GLImport.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pygnulib/GLImport.py b/pygnulib/GLImport.py
index 0e85a9a..22e3030 100644
--- a/pygnulib/GLImport.py
+++ b/pygnulib/GLImport.py
@@ -1212,7 +1212,7 @@ AC_DEFUN([%s_FILE_LIST], [\n''' % macro_prefix
 if result:  # use rsync
 args = ['rsync', '-Lrtz', '%sgulib/' % TP_RSYNC_URI, '.']
 else:  # use wget
-args = ['wget', '--quiet', '-r', '-l1', '-nd', '-np', 'A.po',
+args = ['wget', '--quiet', '-r', '-l1', '-nd', '-np', '-A.po',
 '%sgnulib' % TP_URL]
 sp.call(args, shell=True)
 else:  # if self.config['dryrun']
-- 
2.7.4

>From 2295a7c0a851ea1c8c1bf0f08f016e76c2550c4e Mon Sep 17 00:00:00 2001
From: Bruno Haible 
Date: Sat, 9 Sep 2017 01:21:26 +0200
Subject: [PATCH 04/16] gnulib-tool.py: Fix typo in rsync invocation.

---
 pygnulib/GLImport.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pygnulib/GLImport.py b/pygnulib/GLImport.py
index 22e3030..2236e8f 100644
--- a/pygnulib/GLImport.py
+++ b/pygnulib/GLImport.py
@@ -1210,7 +1210,7 @@ AC_DEFUN([%s_FILE_LIST], [\n''' % macro_prefix
 result = sp.check_output(cmd, shell=True)
 result = bool(int(result))
 if result:  # use rsync
-args = ['rsync', '-Lrtz', '%sgulib/' % TP_RSYNC_URI, '.']
+args = ['rsync', '-Lrtz', '%sgnulib/' % TP_RSYNC_URI, '.']
 else:  # use wget
 args = ['wget', '--quiet', '-r', '-l1', '-nd', '-np', '-A.po',
 '%sgnulib' % TP_URL]
-- 
2.7.4