Acknowledgement sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Sandro Tosi <morph@debian.org>.
(Sat, 26 Jun 2021 04:09:03 GMT) (full text, mbox, link).
From 94c1a1387f88279e31808ad3a9f08270f3e3d37b Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sat, 26 Jun 2021 03:12:37 +0000
Subject: [PATCH] doc/conf.py: if set, use SOURCE_DATE_EPOCH to set copyright
year.
The build date of the software shouldn't really have any bearing on
the copyright dates, but by respecting SOURCE_DATE_EPOCH, it at least
limits this to the last time something in the source was changed.
https://reproducible-builds.org/specs/source-date-epoch/
---
doc/conf.py | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/doc/conf.py b/doc/conf.py
index 174c8935..06d5534c 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -18,6 +18,11 @@ import matplotlib
import sphinx
from datetime import datetime
+import time
+
+# Parse year using SOURCE_DATE_EPOCH, falling back to current time.
+# https://reproducible-builds.org/specs/source-date-epoch/
+sourceyear=datetime.utcfromtimestamp(int(os.environ.get('SOURCE_DATE_EPOCH', time.time()))).year
# If your extensions are in another directory, add it here. If the directory
# is relative to the documentation root, use os.path.abspath to make it
@@ -189,7 +194,7 @@ html_context = {'sha': SHA}
project = 'Matplotlib'
copyright = ('2002 - 2012 John Hunter, Darren Dale, Eric Firing, '
'Michael Droettboom and the Matplotlib development '
- f'team; 2012 - {datetime.now().year} The Matplotlib development team')
+ f'team; 2012 - {sourceyear} The Matplotlib development team')
# The default replacements for |version| and |release|, also used in various
--
2.32.0
Information forwarded
to debian-bugs-dist@lists.debian.org: Bug#990339; Package src:matplotlib.
(Sat, 26 Jun 2021 15:45:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Sandro Tosi <morph@debian.org>:
Extra info received and forwarded to list.
(Sat, 26 Jun 2021 15:45:05 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Sandro Tosi <morph@debian.org>: Bug#990339; Package src:matplotlib.
(Sat, 26 Jun 2021 17:03:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Extra info received and forwarded to list. Copy sent to Sandro Tosi <morph@debian.org>.
(Sat, 26 Jun 2021 17:03:03 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Sandro Tosi <morph@debian.org>: Bug#990339; Package src:matplotlib.
(Thu, 08 Jul 2021 21:00:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Extra info received and forwarded to list. Copy sent to Sandro Tosi <morph@debian.org>.
(Thu, 08 Jul 2021 21:00:02 GMT) (full text, mbox, link).
Added tag(s) fixed-upstream.
Request was from Paul Wise <pabs@debian.org>
to control@bugs.debian.org.
(Sun, 11 Jul 2021 00:51:01 GMT) (full text, mbox, link).
Marked as fixed in versions matplotlib/3.5.0~rc1-1.
Request was from Mattia Rizzolo <mattia@debian.org>
to control@bugs.debian.org.
(Fri, 10 Dec 2021 12:30:02 GMT) (full text, mbox, link).
Marked Bug as done
Request was from Mattia Rizzolo <mattia@debian.org>
to control@bugs.debian.org.
(Fri, 10 Dec 2021 12:30:02 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Fri, 10 Dec 2021 12:30:03 GMT) (full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 29 Jan 2022 07:26:36 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.