[Python-modules-commits] [flask] 04/05: merge patched into master

Ondřej Nový onovy at moszumanska.debian.org
Sat Apr 8 10:58:39 UTC 2017


This is an automated email from the git hooks/post-receive script.

onovy pushed a commit to branch master
in repository flask.

commit 2564676ae1904b17685568092d18cb225bba6cb7
Merge: d4e8a1d 02ae596
Author: Ondřej Nový <onovy at debian.org>
Date:   Sat Apr 8 12:44:30 2017 +0200

    merge patched into master

 CHANGES                                            |  25 +++++++++++++++++++++
 Flask.egg-info/PKG-INFO                            |   2 +-
 Flask.egg-info/SOURCES.txt                         |  12 ++++++++++
 Flask.egg-info/requires.txt                        |   2 +-
 PKG-INFO                                           |   2 +-
 debian/.git-dpm                                    |   6 ++---
 ...DATE_EPOCH-for-copyright-year-to-make-bui.patch |   2 +-
 examples/flaskr/flaskr.egg-info/PKG-INFO           |  10 +++++++++
 examples/flaskr/flaskr.egg-info/SOURCES.txt        |  15 +++++++++++++
 .../flaskr/flaskr.egg-info/dependency_links.txt    |   1 +
 examples/flaskr/flaskr.egg-info/requires.txt       |   1 +
 examples/flaskr/flaskr.egg-info/top_level.txt      |   1 +
 examples/flaskr/pytest_runner-2.11.1-py2.7.egg     | Bin 0 -> 8884 bytes
 examples/minitwit/minitwit.egg-info/PKG-INFO       |  10 +++++++++
 examples/minitwit/minitwit.egg-info/SOURCES.txt    |  16 +++++++++++++
 .../minitwit.egg-info/dependency_links.txt         |   1 +
 examples/minitwit/minitwit.egg-info/requires.txt   |   1 +
 examples/minitwit/minitwit.egg-info/top_level.txt  |   1 +
 flask/__init__.py                                  |   2 +-
 flask/app.py                                       |   3 +++
 flask/cli.py                                       |  14 ++++++++----
 flask/config.py                                    |   2 +-
 tests/test_apps/cliapp/importerrorapp.py           |   7 ++++++
 tests/test_basic.py                                |  17 ++++++++++++++
 tests/test_cli.py                                  |   1 +
 tests/test_config.py                               |  22 ++++++++++++++++--
 26 files changed, 161 insertions(+), 15 deletions(-)

diff --cc debian/.git-dpm
index e6a4a7e,0000000..03b6398
mode 100644,000000..100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@@ -1,11 -1,0 +1,11 @@@
 +# see git-dpm(1) from git-dpm package
- 0c0b1484f295f248f6c646b410d41674fa32f529
- 0c0b1484f295f248f6c646b410d41674fa32f529
- 5219a1a4a282c1277f9c6b1cd4324e8c2d7b95f7
++02ae596d3b6eb5e3c4fe1d938dbd86cee32f5b52
++02ae596d3b6eb5e3c4fe1d938dbd86cee32f5b52
++e2758a2dfc6ebddb68ccdfd8d3fa4cdd1a5ff03e
 +e2758a2dfc6ebddb68ccdfd8d3fa4cdd1a5ff03e
 +flask_0.12.1.orig.tar.gz
 +b32d88f36f7a7d262eb6a336b4f0736cfa2a4252
 +548511
 +debianTag="debian/%e%v"
 +patchedTag="patched/%e%v"
 +upstreamTag="upstream/%e%u"
diff --cc debian/patches/0001-Use-SOURCE_DATE_EPOCH-for-copyright-year-to-make-bui.patch
index 36e46a8,0000000..4f6806e
mode 100644,000000..100644
--- a/debian/patches/0001-Use-SOURCE_DATE_EPOCH-for-copyright-year-to-make-bui.patch
+++ b/debian/patches/0001-Use-SOURCE_DATE_EPOCH-for-copyright-year-to-make-bui.patch
@@@ -1,37 -1,0 +1,37 @@@
- From 0c0b1484f295f248f6c646b410d41674fa32f529 Mon Sep 17 00:00:00 2001
++From 02ae596d3b6eb5e3c4fe1d938dbd86cee32f5b52 Mon Sep 17 00:00:00 2001
 +From: =?UTF-8?q?Ond=C5=99ej=20Nov=C3=BD?= <onovy at debian.org>
 +Date: Fri, 13 Jan 2017 10:46:21 +0100
 +Subject: Use SOURCE_DATE_EPOCH for copyright year to make build reproducible
 +
 +---
 + docs/conf.py | 7 +++++--
 + 1 file changed, 5 insertions(+), 2 deletions(-)
 +
 +diff --git a/docs/conf.py b/docs/conf.py
 +index b37427a..81106a3 100644
 +--- a/docs/conf.py
 ++++ b/docs/conf.py
 +@@ -11,10 +11,13 @@
 + # All configuration values have a default; values that are commented out
 + # serve to show the default.
 + from __future__ import print_function
 +-from datetime import datetime
 + import os
 + import sys
 + import pkg_resources
 ++import time
 ++import datetime
 ++
 ++BUILD_DATE = datetime.datetime.utcfromtimestamp(int(os.environ.get('SOURCE_DATE_EPOCH', time.time())))
 + 
 + # If extensions (or modules to document with autodoc) are in another directory,
 + # add these directories to sys.path here. If the directory is relative to the
 +@@ -49,7 +52,7 @@ master_doc = 'index'
 + 
 + # General information about the project.
 + project = u'Flask'
 +-copyright = u'2010 - {0}, Armin Ronacher'.format(datetime.utcnow().year)
 ++copyright = u'2010 - {0}, Armin Ronacher'.format(BUILD_DATE.year)
 + 
 + # The version info for the project you're documenting, acts as replacement for
 + # |version| and |release|, also used in various other places throughout the

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/flask.git



More information about the Python-modules-commits mailing list