diff -Nru python-gflags-1.5.1/debian/changelog python-gflags-1.5.1/debian/changelog --- python-gflags-1.5.1/debian/changelog 2017-08-02 12:55:13.000000000 +0000 +++ python-gflags-1.5.1/debian/changelog 2018-01-24 02:05:52.000000000 +0000 @@ -1,3 +1,12 @@ +python-gflags (1.5.1-4) unstable; urgency=medium + + * Always use SOURCE_DATE_EPOCH from the environment. (Re: #836004) + * Move to DEP-5 copyright. + * Bump Standards-Version to 4.1.3. + * Move to debhelper compat level 11. + + -- Chris Lamb Wed, 24 Jan 2018 13:05:52 +1100 + python-gflags (1.5.1-3) unstable; urgency=medium [ Chris Lamb ] diff -Nru python-gflags-1.5.1/debian/compat python-gflags-1.5.1/debian/compat --- python-gflags-1.5.1/debian/compat 2017-08-02 12:55:13.000000000 +0000 +++ python-gflags-1.5.1/debian/compat 2018-01-24 02:05:52.000000000 +0000 @@ -1 +1 @@ -10 +11 diff -Nru python-gflags-1.5.1/debian/control python-gflags-1.5.1/debian/control --- python-gflags-1.5.1/debian/control 2017-08-02 12:55:13.000000000 +0000 +++ python-gflags-1.5.1/debian/control 2018-01-24 02:05:52.000000000 +0000 @@ -7,12 +7,12 @@ Thomas Goirand , Chris Lamb , Build-Depends: - debhelper (>= 10), + debhelper (>= 11), python-all (>= 2.6.6-3~), python-setuptools (>= 0.6b3), python3-all, python3-setuptools, -Standards-Version: 4.0.0 +Standards-Version: 4.1.3 Homepage: https://github.com/google/python-gflags Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-gflags.git Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-gflags.git diff -Nru python-gflags-1.5.1/debian/copyright python-gflags-1.5.1/debian/copyright --- python-gflags-1.5.1/debian/copyright 2017-08-02 12:55:13.000000000 +0000 +++ python-gflags-1.5.1/debian/copyright 2018-01-24 02:05:52.000000000 +0000 @@ -1,38 +1,35 @@ -This package was debianized by Soren Hansen on -Tue, 06 Jul 2010 22:50:29 +0200 - -It was downloaded from https://github.com/google/python-gflags - -Copyright: Copyright © 2006-2010, Google Inc. - -License: - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are - met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following disclaimer - in the documentation and/or other materials provided with the - distribution. - * Neither the name of Google Inc. nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -The Debian packaging is © 2010 Soren Hansen and -is licensed under the same license as python-gflags. +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: google-gflags +Source: https://github.com/google/python-gflags + +Files: * +Copyright: © 2006-2010, Google Inc. +License: BSD-3-clause + +Files: debian/* +Copyright: © Soren Hansen +License: BSD-3-clause + +License: BSD-3-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + . + 1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + 3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff -Nru python-gflags-1.5.1/debian/patches/reproducible-build.patch python-gflags-1.5.1/debian/patches/reproducible-build.patch --- python-gflags-1.5.1/debian/patches/reproducible-build.patch 2017-08-02 12:55:13.000000000 +0000 +++ python-gflags-1.5.1/debian/patches/reproducible-build.patch 2018-01-24 02:05:52.000000000 +0000 @@ -18,7 +18,7 @@ finfo = os.stat(self.executable) self.date = time.localtime(finfo[stat.ST_MTIME]) + if 'SOURCE_DATE_EPOCH' in os.environ: -+ self.date = time.gmtime(finfo[stat.ST_MTIME]) ++ self.date = time.gmtime(int(os.environ['SOURCE_DATE_EPOCH'])) logging.info('Running: %s %s &1' % (self.executable, FLAGS.help_flag))